File system benchmark suite for Haiku

Blog post by emitrax on Wed, 2008-07-30 10:53

Time for a quick update.

As with r26676, a first buggy xsi semaphore implementation is now present in Haiku (buggy because there is another patch waiting to be reviewed and commited that fixes some issues, but there might be some more coming).

It is now possible to download, compile and run the file system benchmark suite bonnie++. The version I've used is 1.03d, which has been suggested by the author of the suite. With this suite it is possible to test the file system implementation, plus the way Haiku works under low memory and heavy I/O operations.

The basic way to run the software is pretty simple. In order to run the suite in single process mode, just hit

bonnie++ -u 0

While, if you want to run it in multiprocesses mode just do the following

bonnie++ -p 3 -u 0
bonnie++ -y -u 0 &
bonnie++ -y -u 0 &
bonnie++ -y -u 0 &

The first command create the ipc key and the semaphores needed to synchronize the 3 processes. As most of you have already guessed, the -p flag is used to specify how many process you want to run bonnie++ with. Bear in mind that none of the process will run until the last one has been started.

You are of course all invited in running some test, as the more test are ran, the more bugs are found, the sooner they will be fixed, the sooner R1 will come out. At least that's the theory! :-)

Of course, RUN IT AT YOUR OWN RISK.