[K12OSN] Anyone Running ext4 with Centos 5.3/k12ltsp 5.3?
Gerald Drouillard
gerrylist at drouillard.ca
Thu May 14 15:07:19 UTC 2009
On 5/14/2009 10:22 AM, Burroughs, Henry wrote:
> I saw that 5.3 got support for ext4. Is anyone using this in a
> production environment? I might give it a roll this summer when I
> migrate my central NFS/Samba server from Centos 4.x to 5.3…. thankfully
> I’ll make a full backup of the Virtual Machine before I play around with
> ext4, but I was wondering if anyone else had gone down that trail yet? I
> would love to get the performance increases.
>
I am in the process of setting up a new Samba Server. I did some
benchmarking with ext4 vs xfs. I was originally going to go with xfs as
I have been real pleased with it in the past and it has always been a
performance leader (IMO). I also did look at xfs 32bit vs 64bit and 64
had a large enough performance gain to go with it. I am using software
raid 10 with 4 1T SATA drives and 16G memory and 4 core processor. I
found a 256 raid chunk size to be the speediest also. Also note the
tweaked performance mount options that I am using after much testing.
Here are the numbers for ext4:
Linux version 2.6.28-11-server (buildd at crested) (gcc version 4.3.3
(Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU X3323 @ 2.50GHz
stepping : 10
cpu MHz : 2499.989
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl
vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 xsave lahf_lm tpr_shadow
vnmi flexpriority
bogomips : 4999.97
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
/dev/md1 on / type ext4
(rw,noatime,nodiratime,user_xattr,acl,journal_checksum,journal_async_commit,commit=120,errors=continue)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-server/volatile type tmpfs (rw,mode=755)
/dev/md0 on /boot type ext3 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw)
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md1 : active raid10 sda6[0] sdb6[1] sdd6[3] sdc6[2]
1949599744 blocks 256K chunks 2 far-copies [4/4] [UUUU]
md0 : active raid1 sdb1[1] sdd1[3] sda1[0] sdc1[2]
979840 blocks [4/4] [UUUU]
unused devices: <none>
Filesystem Size Used Avail Use% Mounted on
/dev/md1 1.8T 750M 1.7T 1% /
tmpfs 7.8G 0 7.8G 0% /lib/init/rw
varrun 7.8G 72K 7.8G 1% /var/run
varlock 7.8G 0 7.8G 0% /var/lock
udev 7.8G 212K 7.8G 1% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
lrm 7.8G 2.7M 7.8G 1%
/lib/modules/2.6.28-11-server/volatile
/dev/md0 942M 32M 863M 4% /boot
Bonnie++ OPTIONS: -f -u gerry -d /home/gerry -n 16:100000:16:64
Version 1.03c ------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
aurora 31G 162062 22 73187 9 339285 22
532.6 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
16:100000:16/64 16920 97 +++++ +++ +++++ +++ 17233 99 +++++ +++
+++++ +++
aurora,31G,,,162062,22,73187,9,,,339285,22,532.6,1,16:100000:16/64,16920,97,+++++,+++,+++++,+++,17233,99,+++++,+++,+++++,+++
XFS:
/dev/md1 on / type xfs
(rw,noatime,nodiratime,allocsize=512m,logbufs=8,logbsize=262144)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-server/volatile type tmpfs (rw,mode=755)
/dev/md0 on /boot type ext3 (rw,relatime)
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md1 : active raid10 sdb6[1] sdc6[2] sdd6[3] sda6[0]
1949599744 blocks 256K chunks 2 far-copies [4/4] [UUUU]
md0 : active raid1 sdb1[1] sda1[0] sdd1[3] sdc1[2]
979840 blocks [4/4] [UUUU]
unused devices: <none>
meta-data=/dev/md1 isize=256 agcount=32,
agsize=15231296 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=487399936, imaxpct=5
= sunit=64 swidth=256 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=4096 blocks=32768, version=2
= sectsz=512 sunit=64 blks, lazy-count=0
realtime =none extsz=1048576 blocks=0, rtextents=0
Filesystem Size Used Avail Use% Mounted on
/dev/md1 1.9T 108G 1.8T 6% /
tmpfs 7.8G 0 7.8G 0% /lib/init/rw
varrun 7.8G 420K 7.8G 1% /var/run
varlock 7.8G 4.0K 7.8G 1% /var/lock
udev 7.8G 212K 7.8G 1% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
lrm 7.8G 2.7M 7.8G 1%
/lib/modules/2.6.28-11-server/volatile
/dev/md0 942M 32M 863M 4% /boot
OPTIONS: -f -u gerry -d /home/gerry -n 16:100000:16:64
Version 1.03c ------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
tundra.ask-serv 31G 112496 16 66244 8 316991 23
301.5 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
16:100000:16/64 7458 57 29348 75 7907 33 8824 67 30896 82
6111 31
tundra.ask-services.com,31G,,,112496,16,66244,8,,,316991,23,301.5,0,16:100000:16/64,7458,57,29348,75,7907,33,8824,67,30896,82,6111,31
--
Regards
--------------------------------------
Gerald Drouillard
Technology Architect
Drouillard & Associates, Inc.
http://www.Drouillard.ca
More information about the K12OSN
mailing list