Searched hist:"6 c8c84f525100a1cade5698320b4abe43062e159" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_rw.c | diff 6c8c84f525100a1cade5698320b4abe43062e159 Wed Jul 07 13:57:28 CDT 2021 Chuck Lever <chuck.lever@oracle.com> svcrdma: Fewer calls to wake_up() in Send completion handler
Because wake_up() takes an IRQ-safe lock, it can be expensive, especially to call inside of a single-threaded completion handler. What's more, the Send wait queue almost never has waiters, so most of the time, this is an expensive no-op.
As always, the goal is to reduce the average overhead of each completion, because a transport's completion handlers are single- threaded on one CPU core. This change reduces CPU utilization of the Send completion thread by 2-3% on my server.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-By: Tom Talpey <tom@talpey.com>
|
H A D | svc_rdma_sendto.c | diff 6c8c84f525100a1cade5698320b4abe43062e159 Wed Jul 07 13:57:28 CDT 2021 Chuck Lever <chuck.lever@oracle.com> svcrdma: Fewer calls to wake_up() in Send completion handler
Because wake_up() takes an IRQ-safe lock, it can be expensive, especially to call inside of a single-threaded completion handler. What's more, the Send wait queue almost never has waiters, so most of the time, this is an expensive no-op.
As always, the goal is to reduce the average overhead of each completion, because a transport's completion handlers are single- threaded on one CPU core. This change reduces CPU utilization of the Send completion thread by 2-3% on my server.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-By: Tom Talpey <tom@talpey.com>
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | svc_rdma.h | diff 6c8c84f525100a1cade5698320b4abe43062e159 Wed Jul 07 13:57:28 CDT 2021 Chuck Lever <chuck.lever@oracle.com> svcrdma: Fewer calls to wake_up() in Send completion handler
Because wake_up() takes an IRQ-safe lock, it can be expensive, especially to call inside of a single-threaded completion handler. What's more, the Send wait queue almost never has waiters, so most of the time, this is an expensive no-op.
As always, the goal is to reduce the average overhead of each completion, because a transport's completion handlers are single- threaded on one CPU core. This change reduces CPU utilization of the Send completion thread by 2-3% on my server.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-By: Tom Talpey <tom@talpey.com>
|