Avoid no-op transport enqueues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sunrpc: skip svc_xprt_enqueue when no work is pendingnet/ | +20 | 1 reply | |
| 2/3 | sunrpc: skip svc_xprt_enqueue in svc_xprt_received when idlenet/ | +13 | 1 reply | |
| 3/3 | sunrpc: skip svc_xprt_enqueue when transport is busynet/ | +10 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jeff Layton |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Avoid no-op transport enqueues
From: Chuck Lever <[email protected]>
Reduce the amount of wasted work the svc thread scheduler has to do when no work can be scheduled. Exiting threads already check for work so no work is lost.
The three patches in this series each identify a particular scenario where an enqueue becomes a no-op. I've also measured a slight uptick in IOPS and data throughput as well as a drop in 50th percentile latency for simple workloads on fast storage.
Chuck Lever (3):
sunrpc: skip svc_xprt_enqueue when no work is pending
sunrpc: skip svc_xprt_enqueue in svc_xprt_received when idle
sunrpc: skip svc_xprt_enqueue when transport is busy
net/sunrpc/svc_xprt.c | 46 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0