Here are some benchmarks I ran last week: I think it's important
to balance the -s<size> with the -n numbers so that you are
dealing with the same amount of data, otherwise caching can bite you
and you can have misleading results. Therefore, I used 10k file-size,
and adjusted the number of files to give approximately the same amount
of megabytes that was specified with -s. IE; 200MB of block IO and
200MB of small-file io. I only did raid5 vs single disk comparisons on
200, 800, and 3200mb data points, for time reasons :-) I think these results show two things going on. 1) the steady decline of ext3 performance as # files increase. 2) that raid5 and multiple disks really doesn't significantly increase read performance for small files. 3) once you're outside the caching zones things go badly: get more ram :-) Then again, my hardware might just be shoddy :-) Machine info: DL380-G4 dual cpu 3.20GHz Debian Sarge 2.6.8-3-686-smp Smart Array 6i controller with 128MB BBC, 50/50r/w Machine Ram limited to 256MB with kernel param mem=256M Ext3 filesystems, defaults logical drives created with defaults: Raid-5 array: Smart Array 6i in Slot 0 logicaldrive 1 Size: 1 TB Fault Tolerance: RAID 5 Heads: 255 Sectors per Track: 32 Cylinders: 65535 Stripe Size: 64 KB Array Accelerator: Enabled Single Disk: Smart Array 6i in Slot 0 logicaldrive 2 Size: 279 GB Fault Tolerance: RAID 0 Heads: 255 Sectors per Track: 32 Cylinders: 65535 Stripe Size: 128 KB Status: Ok Array Accelerator: Enabled 200MB: Single DISK bonnie -u root -s200 -n20:10000:10000:10 -r0 -f 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 mirror 200M 144896 45 15404 4 159673 9 8163 6 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 20:10000:10000/10 4523 41 1976 6 +++++ +++ 6038 55 408 1 25162 99 mirror,200M,,,144896,45,15404,4,,,159673,9,8163.2,6,20:10000:10000/10,4523,41,1976,6,+++++,+++,6038,55,408,1,25162,99 5 Disk Raid5 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 mirror 200M 222201 72 35381 10 110627 12 10372 11 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 20:10000:10000/10 6753 63 2855 9 +++++ +++ 10416 96 421 1 25088 99 mirror,200M,,,222201,72,35381,10,,,110627,12,10372.3,11,20:10000:10000/10,6753,63,2855,9,+++++,+++,10416,96,421,1,25088,99 300MB Single DISK bonnie -u root -s300 -n30:10000:10000:10 -r0 -f 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 mirror 300M 69272 23 19904 6 45771 7 1439 2 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 30:10000:10000/10 3972 43 2067 6 45890 93 2960 32 196 1 21817 99 mirror,300M,,,69272,23,19904,6,,,45771,7,1439.0,2,30:10000:10000/10,3972,43,2067,6,45890,93,2960,32,196,1,21817,99 400MB Single DISK bonnie -u root -s400 -n40:10000:10000:10 -r0 -f 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 mirror 400M 57034 19 20791 6 52027 8 669.3 1 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 40:10000:10000/10 2844 37 2142 6 41534 82 2965 39 171 1 18650 98 mirror,400M,,,57034,19,20791,6,,,52027,8,669.3,1,40:10000:10000/10,2844,37,2142,6,41534,82,2965,39,171,1,18650,98 800MB Single DISK: bonnie -u root -s800 -n80:10000:10000:10 -r0 -f 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 mirror 800M 52857 19 23641 7 58240 8 419.0 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 80:10000:10000/10 3310 70 2858 9 35289 66 2309 49 170 1 8127 68 mirror,800M,,,52857,19,23641,7,,,58240,8,419.0,0,80:10000:10000/10,3310,70,2858,9,35289,66,2309,49,170,1,8127,68 5 Disk Raid5: 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 mirror 800M 107481 39 39768 12 112645 17 545.5 1 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 80:10000:10000/10 3874 83 2607 8 34618 67 4518 94 190 2 7702 64 mirror,800M,,,107481,39,39768,12,,,112645,17,545.5,1,80:10000:10000/10,3874,83,2607,8,34618,67,4518,94,190,2,7702,64 1600MB Single DISK bonnie -u root -s1600 -n160:10000:10000:10 -r0 -f 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 mirror 1600M 51865 19 24401 7 63295 9 354.0 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 160:10000:10000/10 1735 64 2393 8 30133 58 1817 66 157 2 3466 51 mirror,1600M,,,51865,19,24401,7,,,63295,9,354.0,0,160:10000:10000/10,1735,64,2393,8,30133,58,1817,66,157,2,3466,51 3200MB Single DISK bonnie -u root -s3200 -n320:10000:10000:10 -r0 -f 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 mirror 3200M 49334 19 23487 7 72178 11 282.3 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 320:10000:10000/10 1362 95 2874 9 30390 56 1397 97 160 5 909 24 mirror,3200M,,,49334,19,23487,7,,,72178,11,282.3,0,320:10000:10000/10,1362,95,2874,9,30390,56,1397,97,160,5,909,24 5 Disk Raid5: 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 mirror 3200M 74584 29 38126 12 128050 20 295.2 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 320:10000:10000/10 1374 96 2742 8 30962 58 1397 97 183 5 2240 60 mirror,3200M,,,74584,29,38126,12,,,128050,20,295.2,0,320:10000:10000/10,1374,96,2742,8,30962,58,1397,97,183,5,2240,60 Brien John Pettitt wrote: Following the extended discussion of system benchmarks here are some actual numbers from a FreeBSD box - if anybody has the time to run similar numbers on linux boxes I will happily collate the data. |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/