OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-32-g5ae6fcd
Gerrit Code Review
gerrit@openafs.org
Wed, 12 Jan 2011 06:16:01 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 5ae6fcdc87b452c391c3a1905ce96a8cf5d0d348
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Tue Nov 23 19:08:24 2010 -0500
Cache bypass: switch to rx_Readv
Tests show that cache bypass doesn't scale very well past a few
concurrent processes, with a lot of lock contention in the RX
layer. Switching the implementation to the iovec based rx_Readv
alleviates much of this.
Also take advantage of the fact that the upper layer readpages
only sends down contiguous lists of pages, and issue larger read
requests and populate the pagecache pages from the iovecs we
get back. The loop logic is changed significantly to accomodate
the new pattern.
Read throughput is improved by about 30-40% for some parallel read
benchmarks I use. Along with some other tweaks, it can allow the
throughput to be more than doubled.
Reviewed-on: http://gerrit.openafs.org/3375
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 4a2d1973fc5c2aac05beef5d64e7a486757c54af)
Change-Id: Ie8801404c370f64b0075169d63cf790c71bf2537
Reviewed-on: http://gerrit.openafs.org/3647
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_bypasscache.c | 106 ++++++++++++++++++++++++--------------------
1 files changed, 58 insertions(+), 48 deletions(-)
--
OpenAFS Master Repository