OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1304-g5614305
Gerrit Code Review
gerrit@openafs.org
Mon, 20 Jun 2011 20:15:28 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5614305853f0f87a2418a6fb7ca472a8ef966084
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat May 14 08:55:50 2011 +0100
rx: Reverse the consumption order of idle queue
Currently, the rx server thread idle queue is used in an LRU manner.
This means that we round robin requests between all of the threads
configured on a given system, which means that we end up thrashing
CPU caches on machines whose workload doesn't require that all of
the configured threads be used.
Change this so that we always use the most recently idle thread. This
isn't as "fair" to all of our waiting threads, but should mean that we
scale better on SMP machines, as a thread that is recently idle is
likely to have been recently scheduled.
Performance numbers to follow ...
Change-Id: I6072183b5ca72754755c3ac854e30a064c4187e5
Reviewed-on: http://gerrit.openafs.org/4871
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository