]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rx-2tier-freepacketq-20050403
authorTom Keiser <tkeiser@psu.edu>
Sun, 3 Apr 2005 21:12:36 +0000 (21:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 3 Apr 2005 21:12:36 +0000 (21:12 +0000)
commit5c6b956257f4f43122d393eaf119ad7616084576
tree3727ac1e3e1202f2dfaf3f055867930e02753037
parent4bf562265c18433868e3ae28c4b6fb3dd30d57af
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.
src/rx/rx.c
src/rx/rx_globals.h
src/rx/rx_packet.c
src/rx/rx_pthread.c