Inspired by the recent threads regarding disk performance, I thought I'd
do a bit of (informal) benchmarking.
I have two machines, an OpenBSD box and a gentoo box. Each has a SCSI
drive and an IDE drive. The two IDE drives are the same make and model.
All OpenBSD filesystems are FFS and all gentoo filesystems are ext3.
I used "bonnie" on OpenBSD (since bonnie++ has not been packaged for
3.3). On the gentoo box I used bonnie++ and hdparm.
I haven't studied the results too closely yet. I just thought I'd post
them and maybe generate some interesting discussion. My first
impression is that ext3 (apparently) eats up the processor, at least
compared to FFS (which I think is non-journaling).
Matt
OpenBSD 3.3 (generic kernel)
Athlon Thunderbird 1 GHz
Gigabyte ga-7ixe4 motherboard
512 MB RAM
Tekram dc-390u2w PCI SCSI controller
Maxtor Atlas 10k 18 GB SCSI drive
Filesystem: FFS
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
OpenBSD 1000 29661 53.0 29233 15.9 8478 6.0 33653 64.9 33943 16.7 165.4 0.8
On-board IDE controller
Western Digital wd1200jb 120 GB IDE drive
Filesystem: FFS
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
OpenBSD 1000 28199 62.2 28616 24.1 4498 4.5 23435 48.3 24982 15.2 114.7 0.7
-----------------------------------------------------------------------
Gentoo 1.4 (gentoo-sources kernel w/sym53c8xx_2 compiled in kernel (not
module))
Athlon XP "Barton" 2500
Asus A7N8X (nforce 2) motherboard
1 GB RAM
LSI Logic PCI SCSI controller
Fujitsu MAP 10,000 RPM 36 GB SCSI drive
Filesystem: ext3
hdparm -Tt /dev/sda
/dev/sda:
Timing buffer-cache reads: 1588 MB in 2.00 seconds = 794.00 MB/sec
Timing buffered disk reads: 194 MB in 3.02 seconds = 64.24 MB/sec
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
gentoo 2G 15761 79 38441 12 20714 6 16510 67 65751 13 267.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 1901 79 +++++ +++ +++++ +++ 2019 78 +++++ +++ 8410 77
gentoo,2G,15761,79,38441,12,20714,6,16510,67,65751,13,267.7,1,16,1901,79,+++++,+++,+++++,+++,2019,78,+++++,+++,8410,77
On-board IDE controller
Western Digital wd1200jb 120 GB IDE drive
Filesystem: ext3
hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1580 MB in 2.00 seconds = 790.00 MB/sec
Timing buffered disk reads: 140 MB in 3.02 seconds = 46.28 MB/sec
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
gentoo 2G 15199 79 24020 7 10881 3 16641 66 46382 9 119.7 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 2017 79 +++++ +++ +++++ +++ 2052 79 +++++ +++ 8127 78
gentoo,2G,15199,79,24020,7,10881,3,16641,66,46382,9,119.7,0,16,2017,79,+++++,+++,+++++,+++,2052,79,+++++,+++,8127,78
--
[EMAIL PROTECTED] mailing list