[CentOS] Best mkfs.ext2 performance options on RAID5 in CentOS 4.2
Joe Landman
landman at scalableinformatics.com
Mon Oct 31 22:30:08 UTC 2005
blockdev --setra 16384 /dev/sda
Sean Staats wrote:
> 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
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax : +1 734 786 8452
cell : +1 734 612 4615
More information about the CentOS
mailing list