]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-rx_fpq_take_three-20050420
authorTom Keiser <tkeiser@psu.edu>
Wed, 20 Apr 2005 22:23:47 +0000 (22:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 20 Apr 2005 22:23:47 +0000 (22:23 +0000)
commitcec1603004a10ac688882e0b3402d02774e7bf27
tree24df434f92adfaeecafa8c6e4ff32d19685bb05a
parentbc8db180ccd6715c8f614d28319f50dc68cd8fd1
STABLE14-rx_fpq_take_three-20050420

FIXES 17805

I've been stress testing a patch all weekend that changes the way
thread-local packet quotas are computed.  I was able to replicate the
unbounded packet alloc problem on unix server components by eliminating my
code from rxi_StartServerProcs that sets the maximum number of expected
threads.  This patch makes the upper thread limit get computed on the fly,
adds some thread-local free packet queue statistics, and a few other minor
tweaks.  I still don't have a working windows development environment, so
I can't say whether this will fix all the windows client problems.  But,
the unbounded packet allocation problem should go away with this patch.

stress testing on windows succeeds as well. <jaltman@secure-endpoints.com>

(cherry picked from commit 1099227e08af3df856d8a998746d98405e3ef04b)
src/rx/rx.c
src/rx/rx_globals.h
src/rx/rx_packet.c
src/rx/rx_pthread.c