]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-rx-2tier-freepacketq-20050403
authorTom Keiser <tkeiser@psu.edu>
Sun, 3 Apr 2005 21:21:44 +0000 (21:21 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 3 Apr 2005 21:21:44 +0000 (21:21 +0000)
commit3718f9a5357442ed9af0176cd94788c5d776b964
tree2ab4100994de9bad8e9d90ce26b228cc2c2775e2
parentf282977101d5e50b8ac8b4a0f465e66ab57ec0b4
STABLE14-rx-2tier-freepacketq-20050403

FIXES 17805

The attached patch turns the rx free packet queue into a 2-tiered cache
with a local thread-specific queue, backed by a global queue when using
pthreaded rx. The patch is against 1.3.79. Preliminary benchmarks show
scalability much closer to 2 cpus on sparc with this patch. Also,
fileserver performance under heavy load is improved: 50% improvement in
throughput for sequential writes, and a 10% improvement in performance for
random writes against an smp sparc solaris 10 fileserver.

(cherry picked from commit 5c6b956257f4f43122d393eaf119ad7616084576)
src/rx/rx.c
src/rx/rx_globals.h
src/rx/rx_packet.c
src/rx/rx_pthread.c