diff options
| author | Chuck Lever <[email protected]> | 2023-04-15 00:18:02 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-04-26 13:05:02 +0000 |
| commit | 647a2a6428f2cd01e53079ac16e17fdeff229e68 (patch) | |
| tree | e9754e648ff0707cf8d562f5fe90b91a5510f392 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | SUNRPC: Relocate svc_free_res_pages() (diff) | |
| download | kernel-647a2a6428f2cd01e53079ac16e17fdeff229e68.tar.gz kernel-647a2a6428f2cd01e53079ac16e17fdeff229e68.zip | |
SUNRPC: Convert svc_xprt_release() to the release_pages() API
Instead of invoking put_page() one-at-a-time, pass the "response"
portion of rq_pages directly to release_pages() to reduce the number
of times each nfsd thread invokes a page allocator API.
Since svc_xprt_release() is not invoked while a client is waiting
for an RPC Reply, this is not expected to directly impact mean
request latencies on a lightly or moderately loaded server. However
as workload intensity increases, I expect somewhat better
scalability: the same number of server threads should be able to
handle more work.
Reviewed-by: Calum Mackay <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
