OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-243-ge16d7b7
Gerrit Code Review
gerrit@openafs.org
Tue, 12 Oct 2010 10:32:48 -0700 (PDT)
The following commit has been merged in the master branch:
commit e16d7b7d6a6980fbda3186a578fb7e26fc334194
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Oct 5 21:21:38 2010 +0100
rx: Don't call gettimeofday for every packet ack
Every time we receive an ACK packet, we call gettimeofday() for
every entry in the transmit queue that's permanently ack'd by that
packet. Instead, just make a note of the time when we start
processing the packet queue, and use it for every packet in the
queue.
This shaves around 5% off rxperf's runtime with a window size of 128.
Change-Id: I65c705c575c4a470b49390e7efca33c279a3133c
Reviewed-on: http://gerrit.openafs.org/2956
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx.c | 29 ++++++++++++++++++-----------
src/rx/rx_prototypes.h | 3 ---
2 files changed, 18 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository