[rds-devel] [PATCHv2 1/1] net: rds: add per rds connection cache statistics

David Miller davem at davemloft.net
Wed Jun 5 17:07:20 PDT 2019


From: Zhu Yanjun <yanjun.zhu at oracle.com>
Date: Mon,  3 Jun 2019 00:28:01 -0400

> The variable cache_allocs is to indicate how many frags (KiB) are in one
> rds connection frag cache.
> The command "rds-info -Iv" will output the rds connection cache
> statistics as below:
> "
> RDS IB Connections:
>       LocalAddr RemoteAddr Tos SL  LocalDev            RemoteDev
>       1.1.1.14 1.1.1.14   58 255  fe80::2:c903:a:7a31 fe80::2:c903:a:7a31
>       send_wr=256, recv_wr=1024, send_sge=8, rdma_mr_max=4096,
>       rdma_mr_size=257, cache_allocs=12
> "
> This means that there are about 12KiB frag in this rds connection frag
> cache. 
> Since rds.h in rds-tools is not related with the kernel rds.h, the change
> in kernel rds.h does not affect rds-tools.
> rds-info in rds-tools 2.0.5 and 2.0.6 is tested with this commit. It works
> well.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu at oracle.com>
> ---
> V1->V2: RDS CI is removed. 

Applied to net-next.



More information about the rds-devel mailing list