more JackRabbit testing
By joe
- 2 minutes read - 395 wordsUpdated a few things (bios) that I needed to. Reran tests. Remember, this is a sub $10,000 box (and it will do file and block IO … simultaneously if needed). Running RAID6 with one hot spare.
<code>
root@jr1:~# ./simple-read.bash
start at Wed Jan 23 13:49:54 EST 2008
10000+0 records in
10000+0 records out
1342177280000 bytes (1.3 TB) copied, \
1764.12 seconds, 761 MB/s
stop at Wed Jan 23 14:19:18 EST 2008
</code>
and its companion
<code>
root@jr1:~# ./simple-write.bash
start at Wed Jan 23 13:13:48 EST 2008
10000+0 records in
10000+0 records out
1342177280000 bytes (1.3 TB) copied, \
1800.36 seconds, 746 MB/s
stop at Wed Jan 23 13:43:48 EST 2008
</code>
The scripts (simple_[read|write].bash) are here:
[simple-read.bash]
#!/bin/bash sync echo -n "start at " date dd if=/big/local.file of=/dev/null \ bs=134217728 iflag=direct sync echo -n "stop at " date
[simple-write.bash]
#!/bin/bash sync echo -n "start at " date dd if=/dev/zero of=/big/local.file \ bs=134217728 count=10000 oflag=direct sync echo -n "stop at " date
Note the sync’s. Note also that 10000x134M ~ 1.3 TB.
Nice…
<code>root@jr1:~# ls -alFh /big
total 1.3T
drwxr-xr-x 2 root root 23 2008-01-23 09:40 ./
drwxr-xr-x 25 root root 4.0K 2008-01-23 01:49 ../
-rw-r--r-- 1 root root 1.3T 2008-01-23 13:43 local.file
root@jr1:~# df -h /big
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 6.0T 1.3T 4.7T 21% /big
</code>
and for kicks, the requisite bonnie++ run
<code>
root@jr1:~# bonnie++ -u root -d /big -s 32g:1024k -f
Using uid:0, gid:0.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size:chnk K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
jr1 32G:1024k 548405 82 178599 46 618210 89 62.2 9
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 20061 95 +++++ +++ 16274 70 19646 99 +++++ +++ 14503 69
jr1,32G:1024k,,,548405,82,178599,46,,,618210,89,62.2,9,16,20061,95,+++++,+++,16274,70,19646,99,+++++,+++,14503,69
</code>
Looks like DD does a somewhat better job of using the IO system than bonnie++. Will run IOzone and a few others. I am specifically looking for some streaming tests, so if you know of any, please do let me know.