]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: IB: split mr pool to improve 8K messages performance
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 11 Sep 2015 04:20:57 +0000 (21:20 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 5 Oct 2015 18:19:02 +0000 (11:19 -0700)
commitf60ffc91afd03cde4a928a5dd9c443e121857440
tree2ba73da74159985e20e1dd164c143c0cefd0ee7f
parent6055e5f653c145f027b7869ce10f34bfb355d659
RDS: IB: split mr pool to improve 8K messages performance

8K message sizes are pretty important usecase for RDS current
workloads so we make provison to have 8K mrs available from the pool.
Based on number of SG's in the RDS message, we pick a pool to use.

Also to make sure that we don't under utlise mrs when say 8k messages
are dominating which could lead to 8k pull being exhausted, we fall-back
to 1m pool till 8k pool recovers for use.

This helps to at least push ~55 kB/s bidirectional data which
is a nice improvement.

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.c
net/rds/ib.h
net/rds/ib_rdma.c
net/rds/ib_stats.c