Re: [PATCH 0/2] rds: MR(Memory Region) related patches

2020-10-27 Thread Manjunath Patil
ping! On 10/19/2020 2:48 PM, Manjunath Patil wrote: This patchset intends to add functionality to track MR usages by RDS applications. Manjunath Patil (2): rds: track memory region (MR) usage in kernel rds: add functionality to print MR related information include/uapi/linux/rds.h

[PATCH 2/2] rds: add functionality to print MR related information

2020-10-19 Thread Manjunath Patil
28464 4 <192.168.18.. rds-stress 17744 19385 19381 4 <192.168.18.. Signed-off-by: Manjunath Patil Reviewed-by: Ka-cheong Poon --- include/uapi/linux/rds.h | 13 - net/rds/af_rds.c | 38

[PATCH 0/2] rds: MR(Memory Region) related patches

2020-10-19 Thread Manjunath Patil
This patchset intends to add functionality to track MR usages by RDS applications. Manjunath Patil (2): rds: track memory region (MR) usage in kernel rds: add functionality to print MR related information include/uapi/linux/rds.h | 13 - net/rds/af_rds.c | 42

[PATCH 1/2] rds: track memory region (MR) usage in kernel

2020-10-19 Thread Manjunath Patil
Excessive MR utilization by certain RDS applications can starve other RDS applications from getting MRs. Therefore tracking MR usage by RDS applications is beneficial. The collected data is intended to be exported to userspace using rds-info interface. Signed-off-by: Manjunath Patil Reviewed-by

[PATCH v3 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-10-06 Thread Manjunath Patil
ls to refill the recv buffer. We will see the PAF warnings when worker also fails to allocate. Signed-off-by: Manjunath Patil Reviewed-by: Aruna Ramakrishna --- v3: - remove pr_warn_ratelimited() when softirq context fails to allocate v2: - change pr_warn once a day to pr_warn_ratelimited()

Re: [PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-10-05 Thread Manjunath Patil
Thanks David for your feedback. I will submit v3 of this patch removing the warning. -Manjunath On 10/3/2020 5:26 PM, David Miller wrote: From: Manjunath Patil Date: Fri, 2 Oct 2020 13:05:45 -0700 RDS/IB tries to refill the recv buffer in softirq context using GFP_NOWAIT flag. However

Re: [PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-10-02 Thread Manjunath Patil
Thanks for ack'ing. Yeah, sorry about version. I had it in my mind to add it when I started, but forgot it at the last moment. -Thanks, Manjunath On 10/2/2020 1:10 PM, santosh.shilim...@oracle.com wrote: On 10/2/20 1:05 PM, Manjunath Patil wrote: RDS/IB tries to refill the recv buff

[PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-10-02 Thread Manjunath Patil
ls to refill the recv buffer, instead print rate limited warnings. Signed-off-by: Manjunath Patil Reviewed-by: Aruna Ramakrishna --- net/rds/ib_recv.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 694d411dc72f..b4ed421

Re: [PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-09-16 Thread Manjunath Patil
Hi Santosh, inline. On 9/16/2020 12:27 PM, santosh.shilim...@oracle.com wrote: On 9/16/20 12:08 PM, Manjunath Patil wrote: RDS/IB tries to refill the recv buffer in softirq context using GFP_NOWAIT flag. However alloc failure is handled by queueing a work to refill the recv buffer with

Re: [PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-09-16 Thread Manjunath Patil
On 9/16/2020 2:25 PM, santosh.shilim...@oracle.com wrote: On 9/16/20 2:15 PM, Manjunath Patil wrote: Hi Santosh, inline. On 9/16/2020 12:27 PM, santosh.shilim...@oracle.com wrote: On 9/16/20 12:08 PM, Manjunath Patil wrote: RDS/IB tries to refill the recv buffer in softirq context using

[PATCH 1/1] net/rds: suppress page allocation failure error in recv buffer refill

2020-09-16 Thread Manjunath Patil
ls to refill the recv buffer, instead print a one line warning once a day. Signed-off-by: Manjunath Patil Reviewed-by: Aruna Ramakrishna --- net/rds/ib_recv.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 694d411