Re: [PATCH v3 0/3] Bulk-release pages during NFSD read splice
From: Chuck Lever III <hidden>
Date: 2021-07-09 02:58:16
Also in:
linux-mm
From: Chuck Lever III <hidden>
Date: 2021-07-09 02:58:16
Also in:
linux-mm
On Jul 8, 2021, at 7:23 PM, NeilBrown [off-list ref] wrote: On Fri, 09 Jul 2021, Chuck Lever wrote:quoted
In this version of the series, each nfsd thread never accrues more than 16 pages. We can easily make that larger or smaller, but 16 already reduces the rate of put_pages() calls to a minute fraction of what it was, and does not consume much additional space in struct svc_rqst. Comments welcome!Very nice. Does "1/16" really count as "minute"? Or did I miss something and it is actually a smaller fraction?
6% is better than an order of magnitude fewer calls. I can drop the "minute".
Either way: excellent work. Reviewed-by: NeilBrown <redacted>
Thanks!
NeilBrownquoted
--- Chuck Lever (3): NFSD: Clean up splice actor SUNRPC: Add svc_rqst_replace_page() API NFSD: Batch release pages during splice read fs/nfsd/vfs.c | 20 +++++--------------- include/linux/sunrpc/svc.h | 5 +++++ net/sunrpc/svc.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 15 deletions(-) -- Chuck Lever
-- Chuck Lever