Searched hist:"0 b87a46b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/sunrpc/ |
H A D | xprt.c | 0b87a46b Mon Mar 05 14:13:02 CST 2018 Chuck Lever <chuck.lever@oracle.com> SUNRPC: Make RTT measurement more precise (Receive)
Some RPC transports have more overhead in their reply handlers than others. For example, for RPC-over-RDMA:
- RPC completion has to wait for memory invalidation, which is not a part of the server/network round trip
- Recently a context switch was introduced into the reply handler, which further artificially inflates the measure of RPC RTT
To capture just server and network latencies more precisely: when receiving a reply, compute the RTT as soon as the XID is recognized rather than at RPC completion time.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> 0b87a46b Mon Mar 05 14:13:02 CST 2018 Chuck Lever <chuck.lever@oracle.com> SUNRPC: Make RTT measurement more precise (Receive) Some RPC transports have more overhead in their reply handlers than others. For example, for RPC-over-RDMA: - RPC completion has to wait for memory invalidation, which is not a part of the server/network round trip - Recently a context switch was introduced into the reply handler, which further artificially inflates the measure of RPC RTT To capture just server and network latencies more precisely: when receiving a reply, compute the RTT as soon as the XID is recognized rather than at RPC completion time. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|