[LU-10309] lnetctl --peer-credits does not set peer_credits properly Created: 01/Dec/17 Updated: 19/Sep/18 Resolved: 19/Sep/18 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Gryaznova | Assignee: | Amir Shehata (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
[root@fre802 ~]# cat /etc/modprobe.d/lustre.conf
options ksocklnd sock_timeout=10 credits=1024 peer_credits=16
[root@fre802 ~]#
[root@fre802 ~]# lnetctl net show --verbose
net:
- net type: lo
local NI(s):
- nid: 0@lo
status: up
statistics:
send_count: 0
recv_count: 0
drop_count: 0
tunables:
peer_timeout: 0
peer_credits: 0
peer_buffer_credits: 0
credits: 0
lnd tunables:
tcp bonding: 0
dev cpt: 0
CPT: "[0]"
- net type: tcp
local NI(s):
- nid: 192.168.108.2@tcp
status: up
statistics:
send_count: 0
recv_count: 0
drop_count: 0
tunables:
peer_timeout: 180
peer_credits: 16
peer_buffer_credits: 0
credits: 1024
lnd tunables:
tcp bonding: 0
dev cpt: -1
CPT: "[0]"
[root@fre802 ~]#
[root@fre802 ~]# lnetctl net add --net tcp1 --if eth1 --peer-credits=8 --credits=512
[root@fre802 ~]# lnetctl net show --verbose
net:
- net type: lo
local NI(s):
- nid: 0@lo
status: up
statistics:
send_count: 0
recv_count: 0
drop_count: 0
tunables:
peer_timeout: 0
peer_credits: 0
peer_buffer_credits: 0
credits: 0
lnd tunables:
tcp bonding: 0
dev cpt: 0
CPT: "[0]"
- net type: tcp
local NI(s):
- nid: 192.168.108.2@tcp
status: up
statistics:
send_count: 0
recv_count: 0
drop_count: 0
tunables:
peer_timeout: 180
peer_credits: 16
peer_buffer_credits: 0
credits: 1024
lnd tunables:
tcp bonding: 0
dev cpt: -1
CPT: "[0]"
- net type: tcp1
local NI(s):
- nid: 192.168.118.2@tcp1
status: up
interfaces:
0: eth1
statistics:
send_count: 0
recv_count: 0
drop_count: 0
tunables:
peer_timeout: 180
peer_credits: 16
peer_buffer_credits: 0
credits: 512
lnd tunables:
tcp bonding: 0
dev cpt: -1
CPT: "[0]"
[root@fre802 ~]#
peer_credits is set to 16 instead of 8 for nid: 192.168.118.2@tcp1 |
| Comments |
| Comment by Peter Jones [ 19/Dec/17 ] |
|
Amir Can you please advise? Peter |