diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-03-05 21:13:02 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-04-10 22:06:22 +0200 |
commit | 0b87a46b437c1629bc7d79f3c5a0ba3608c37544 (patch) | |
tree | acfa846d81e0fe929df5a85fef988dfa7a4d8324 /lib/kobject_uevent.c | |
parent | SUNRPC: Move xprt_update_rtt callsite (diff) | |
download | linux-0b87a46b437c1629bc7d79f3c5a0ba3608c37544.tar.xz linux-0b87a46b437c1629bc7d79f3c5a0ba3608c37544.zip |
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>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions