[Zodb-checkins] SVN: zodbbench/trunk/zodbbench/benchmarks/one_minute_commit.py Note extreme sensitivity to os.fsync() speed.

Tim Peters tim.one at comcast.net
Thu Oct 6 18:50:18 EDT 2005


Log message for revision 38840:
  Note extreme sensitivity to os.fsync() speed.
  

Changed:
  U   zodbbench/trunk/zodbbench/benchmarks/one_minute_commit.py

-=-
Modified: zodbbench/trunk/zodbbench/benchmarks/one_minute_commit.py
===================================================================
--- zodbbench/trunk/zodbbench/benchmarks/one_minute_commit.py	2005-10-06 22:05:57 UTC (rev 38839)
+++ zodbbench/trunk/zodbbench/benchmarks/one_minute_commit.py	2005-10-06 22:50:17 UTC (rev 38840)
@@ -23,6 +23,11 @@
         i += 1
 
 and reports on how many commits it completed in one minute.
+
+Note that this is very sensitive to the efficiency of Python's os.fsync,
+and on a box where that's slow (Windows boxes seem especially prone to
+this, and esp. when using an internal IDE drive), fsync() can be the
+overwhelming bottleneck.
 """
 
 from BTrees.IIBTree import IIBTree



More information about the Zodb-checkins mailing list