With this patch I will no longer need to have a ko2ilnd modprobe config file which is awesome. So I tried your patch but I'm seeing some changes in what values are being set. With a modprobe config file with peer_credits=63 I see the following with lnetctl export > settings.conf.
This is the desired settings and what I placed in my setting.conf for lnetctl import.
BTW the command I used to setup my configure for both cases is:
modprobe lnet;lnetctl lnet configure;lnetctl import < ~/settings.conf
- net: o2ib1
nid: 10.37.202.11@o2ib1
status: up
interfaces:
0: ib0
lnd tunables:
peercredits_hiw: 62
map_on_demand: 16
concurrent_sends: 31
fmr_pool_size: 1280
fmr_flush_trigger: 1024
fmr_cache: 1
tunables:
peer_timeout: 180
peer_credits: 63
peer_buffer_credits: 0
credits: 2560
CPT: "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]"
Here is the default settings when I remove my modprobe conf file with lnetctl export > setttings.conf
- net: o2ib1
nid: 10.37.202.11@o2ib1
status: up
interfaces:
0: ib0
lnd tunables:
peercredits_hiw: 7
map_on_demand: 16
concurrent_sends: 16
fmr_pool_size: 1280
fmr_flush_trigger: 1024
fmr_cache: 1
As you can see peercredits_hiw and concurrent_sends is set to what I want. Any ideas why?
Landed for 2.9