[LU-8507] DLC: Enable peer_credit management Created: 16/Aug/16 Updated: 04/Aug/17 Resolved: 02/Sep/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Doug Oucharek (Inactive) | Assignee: | Doug Oucharek (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
The code to allow peer_credits to be set per NI was originally "left inactive" because there were concerns about peer_credits interfering with the ability for IB nodes to connect to each other when peer_credits are not the same (peer_credits controls the queue depth for IB). With |
| Comments |
| Comment by Gerrit Updater [ 16/Aug/16 ] |
|
Doug Oucharek (doug.s.oucharek@intel.com) uploaded a new patch: http://review.whamcloud.com/21948 |
| Comment by James A Simmons [ 16/Aug/16 ] |
|
Will this be meant mostly for back porting since multi-rail fixes this. |
| Comment by Doug Oucharek (Inactive) [ 18/Aug/16 ] |
|
I don't think multi-rail will fix this. Customers may want to adjust the peer_credit value per NI using DLC even with multi-rail. |
| Comment by James A Simmons [ 22/Aug/16 ] |
|
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. BTW the command I used to setup my configure for both cases is: modprobe lnet;lnetctl lnet configure;lnetctl import < ~/settings.conf
Here is the default settings when I remove my modprobe conf file with lnetctl export > setttings.conf
As you can see peercredits_hiw and concurrent_sends is set to what I want. Any ideas why? |
| Comment by James A Simmons [ 29/Aug/16 ] |
|
Dough I figured out the problem. Its a old bug so this need to be back ported to several branches. Basically the data the user passed in using |
| Comment by Gerrit Updater [ 02/Sep/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21948/ |
| Comment by Peter Jones [ 02/Sep/16 ] |
|
Landed for 2.9 |