Permalink
Browse files

doc

  • Loading branch information...
1 parent 0a26442 commit 3ceffea2e59a427b49653110813d8c1efdd0e4a9 @fceller committed Mar 7, 2012
Showing with 40 additions and 8 deletions.
  1. +40 −8 README.textile
View
@@ -1,17 +1,49 @@
h1. Benchmark-Tools
-This project contains a collection of tools to measure the performance of
-NoSQL databases, SSD and Hard-Disks.
+This project contains a collection of tools to measure the performance of NoSQL databases, SSD and Hard-Disks.
-h1. msync-bench
+h2. msync-bench
-Is a tool to measure the performance of memory-mapped files.
+Is a tool to measure the performance of memory-mapped files. Switch into the directory "f-m-sync" and use make to compile.
-h1. fsync-bench
+bc. > cd f-m-sync
+> make
+> ./msync-bench
+usage: ./msync-bench [options] <file> <block-size> <count>
+...
-Is a tool like msync, but uses normal files and fsync instead of memory
-mapped files.
+Try
-h1. CouchDB
+bc. > ./msync-bench /tmp/testfile 4096 20
+file created
+....................
+insert time: 0.603477 sec for 20 documents (33.141280 docs / sec, 0.030174 secs / doc)
+135746.681315 bytes / sec, 0.129458 mbyte / sec
+
+h2. fsync-bench
+
+Is a tool like msync, but uses normal files and fsync instead of memory mapped files. Switch into the directory "f-m-sync" and use make to compile.
+
+bc. > cd f-m-sync
+> make
+> ./fsync-bench
+usage: ./fsync-bench [options] <file> <block-size> <count>
+...
+
+Try
+
+bc. > ./fsync-bench /tmp/testfile 4096 20
+....................
+insert time: 0.586227 sec for 20 documents (34.116477 docs / sec, 0.029311 secs / doc)
+139741.090056 bytes / sec, 0.133267 mbyte / sec
+
+h2. CouchDB
+
+h3. insert-bench.php
The CouchDB tool "insert-bench.php" is based on: https://github.com/felixge/couchdb-benchmarks
+
+Start CouchDB and adjust the path to the database in "insert-bench.php". Then try
+
+bc. > php insert-bench.php
+

0 comments on commit 3ceffea

Please sign in to comment.