Best mkfs.ext2 performance options on RAID5 in CentOS 4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I can't seem to get the read and write performance better than
approximately 40MB/s on an ext2 file system.  IMO, this is horrible
performance for a 6-drive, hardware RAID 5 array.  Please have a look at
what I'm doing and let me know if anybody has any suggestions on how to
improve the performance...

System specs:
-----------------
2 x 2.8GHz Xeons 
6GB RAM
1 3ware 9500S-12
2 x 6-drive, RAID 5 arrays with a stripe size of 256KB.  Each array is
2.3TB after formatting.
ioscheduler set to use the deadline scheduler.

mkfs.ext2 options used:
------------------------
mkfs.ext2 -b 4096 -L /d01 -m 1 -O sparse_super,dir_index -R stride=64 -T
largefile /dev/sda1

I'm using a stride size of 64 since the ext2 block size is 4KB and the
array stripe size is 256KB (256/4 = 64).

Output of using bonnie++:
---------------------------
$ /usr/local/bonnie++/sbin/bonnie++ -d /d01/test -r 6144 -m
anchor_ext2_4k_64s
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
anchor_ext2_4k_ 12G 41654  96 41937  11 30537   8 40676  88 233015  27
426.6   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  3369  83 +++++ +++ +++++ +++  4142 100 +++++ +++
11728 100


Cheers!
Sean



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux