[CalendarServer-changes] [6919] CalendarServer/trunk/contrib/performance
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 14 08:30:12 PST 2011
Revision: 6919
http://trac.macosforge.org/projects/calendarserver/changeset/6919
Author: exarkun at twistedmatrix.com
Date: 2011-02-14 08:30:10 -0800 (Mon, 14 Feb 2011)
Log Message:
-----------
Configure the find_events benchmark with specific scaling parameters (which go higher than the defaults)
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/benchlib.sh
CalendarServer/trunk/contrib/performance/sample.sh
Modified: CalendarServer/trunk/contrib/performance/benchlib.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/benchlib.sh 2011-02-11 17:46:10 UTC (rev 6918)
+++ CalendarServer/trunk/contrib/performance/benchlib.sh 2011-02-14 16:30:10 UTC (rev 6919)
@@ -31,6 +31,11 @@
# Names of benchmarks we can run.
BENCHMARKS="find_calendars find_events event_move event_delete_attendee event_add_attendee event_change_date event_change_summary event_delete vfreebusy event"
+# Custom scaling parameters for benchmarks that merit it. Be careful
+# not to exceed the 99 user limit for benchmarks where the scaling
+# parameter represents a number of users!
+SCALE_PARAMETERS="--parameters find_events:1,10,100,1000,10000"
+
# Names of metrics we can collect.
STATISTICS=(HTTP SQL read write pagein pageout)
Modified: CalendarServer/trunk/contrib/performance/sample.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/sample.sh 2011-02-11 17:46:10 UTC (rev 6918)
+++ CalendarServer/trunk/contrib/performance/sample.sh 2011-02-14 16:30:10 UTC (rev 6919)
@@ -40,7 +40,7 @@
rm -rf data/
start 2
popd
- sudo ./run.sh ./benchmark $CONCURRENT --label r$REV-$backend --source-directory $SOURCE_DIR $BENCHMARKS
+ sudo ./run.sh ./benchmark $CONCURRENT --label r$REV-$backend --source-directory $SOURCE_DIR $SCALE_PARAMETERS $BENCHMARKS
data=`echo -n r$REV-$backend*`
./run.sh ./massupload \
--url $ADDURL --revision $REV \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110214/5693bc5c/attachment.html>
More information about the calendarserver-changes
mailing list