summaryrefslogtreecommitdiffstats
path: root/sys/rpc
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-22 23:48:15 +0000
committermav <mav@FreeBSD.org>2014-01-22 23:48:15 +0000
commitbdd6d3eac30a1b1bc1a64aa98b935921e5cef1c6 (patch)
treed09b8b7ec9e4280535791f84797e3b7760469900 /sys/rpc
parent76d8788652a3da858c696457a1903a205f3684e7 (diff)
downloadFreeBSD-src-bdd6d3eac30a1b1bc1a64aa98b935921e5cef1c6.zip
FreeBSD-src-bdd6d3eac30a1b1bc1a64aa98b935921e5cef1c6.tar.gz
MFC r259765:
Fix RPC server threads file handle affinity to work better with ZFS. Instead of taking 8 specific bytes of file handle to identify file during RPC thread affitinity handling, use trivial hash of the full file handle. ZFS's struct zfid_short does not have padding field after the length field, as result, originally picked 8 bytes are loosing lower 16 bits of object ID, causing many false matches and unneeded requests affinity to same thread. This fix substantially improves NFS server latency and scalability in SPEC NFS benchmark by more flexible use of multiple NFS threads.
Diffstat (limited to 'sys/rpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud