[svn] commit: r2811 - in /experiments/stephen-receptionist: common/burst_server_controller.cc scripts/run_test.sh
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Aug 26 18:39:07 UTC 2010
Author: stephen
Date: Thu Aug 26 18:39:06 2010
New Revision: 2811
Log:
Modification to ensure memory access performed for all packets in all servers
Modified:
experiments/stephen-receptionist/common/burst_server_controller.cc
experiments/stephen-receptionist/scripts/run_test.sh
Modified: experiments/stephen-receptionist/common/burst_server_controller.cc
==============================================================================
--- experiments/stephen-receptionist/common/burst_server_controller.cc (original)
+++ experiments/stephen-receptionist/common/burst_server_controller.cc Thu Aug 26 18:39:06 2010
@@ -57,12 +57,13 @@
for (li = queue.begin(); li != queue.end(); ++li) {
uint32_t crc = Utilities::Crc(li->data(), li->dataSize());
li->setCrc(crc);
- }
- // If a memory size was specified, run over the memory and touch
- // each page (assumed to be 1kB pages to cope with most architectures)
- if (memsize_ > 0) {
- touchMemory(memory, memsize_);
+ // If a memory size was specified, run over the memory and touch
+ // each page (assumed to be 1kB pages to cope with most
+ // architectures).
+ if (memsize_ > 0) {
+ touchMemory(memory, memsize_);
+ }
}
// Now return the packets back to the sender
Modified: experiments/stephen-receptionist/scripts/run_test.sh
==============================================================================
--- experiments/stephen-receptionist/scripts/run_test.sh (original)
+++ experiments/stephen-receptionist/scripts/run_test.sh Thu Aug 26 18:39:06 2010
@@ -19,7 +19,7 @@
#
# Runs a series of tests with varying parameters. The script starts up the
# server program(s) with a given set of parameters then kicks off the client.
-# Each run is done 64 times.
+# Each run is done 32 times.
#
# The parameters are:
#
@@ -67,7 +67,7 @@
else
subprog=""
fi
- $progdir/$program --memsize $memsize --burst $burst $subprog $* &
+ $progdir/$program --queue 4 --memsize $memsize --burst $burst $subprog $* &
# Allow server programs to start.
sleep 1
More information about the bind10-changes
mailing list