mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
xio: better way to assign connections to specific lane
Better way to assign connections to a specific lane of a portal Avoiding lane competition/hogging. This change resolves the slow ramping up and spiky behaviors during clients starting/running I/Os. Signed-off-by: Vu Pham <vu@mellanox.com>
This commit is contained in:
parent
98cdf03363
commit
bb621b074d
@ -67,7 +67,7 @@ private:
|
||||
|
||||
inline Lane* get_lane(XioConnection *xcon)
|
||||
{
|
||||
return &qlane[((uint64_t) xcon) % nlanes];
|
||||
return &qlane[(((uint64_t) xcon) / 16) % nlanes];
|
||||
}
|
||||
|
||||
void enq(XioConnection *xcon, XioSubmit* xs)
|
||||
|
Loading…
Reference in New Issue
Block a user