allocsize mount option
Hi Guys,
An update:
SUSE Linux Enterprise 11 SP1 will be based on kernel 2.6.32, according to Novell support, when I asked for backporting. That will solve my problems.
I do confirm that all the drives (no file system testing) were tested with NCQ enabled on the Tyan Opteron motherboard. What I did learn was that the note book drives nowadays come with NCQ, and that all the SATA desktop and note book drives showed very poor sequential write performance with cache disabled.
On another note, there was a post by Michael Monnerie on 20 NOV 2009 about kernel 2.6.27, XFS, inode64 and NFS. I have the 10.9 TB inode64 XFS file system exported via NFS 4 by SLED 11, and mounted by SLES 10 SP2, and I have no problems with it.
Finally, A big Thank You to Dave Chinner and Eric Sandeen for your kind assistance!
GL
Quoted 151 lines · Gim Leong Chin
From: Gim Leong Chin <[email protected]>
Subject: Re: allocsize mount option
To: "Dave Chinner" <[email protected]>
Cc: "Eric Sandeen" <[email protected]>, [email protected]
Date: Friday, 15 January, 2010, 11:08 AM
Hi Dave,Thank you for the advice!
I have done Direct IO dd tests writing the same 20 GB files. The results are an eye opener! bs=1GB, count=2
Single instance repeats of 830, 800 MB/s, compared to
Quoted 1 line
100 to under 300 MB/s for buffered.
Two instances aggregate of 304 MB/s, six instances aggregate of 587 MB/s.
System drive /home RAID 1 of 130 MB/s compared to 51 MB/s buffered.
So the problem is with the buffered writes.
Quoted 1 line
Youἀd have to get all the fixes from 2.6.30 to
2.6.32,
Quoted 4 lines
and the
backport would be very difficult to get right. Better would
be طust to upgrade the kernel to 2.6.32 ;)If I change the kernel, I would have no support from Novell. I would try my luck and convince them.
Quoted 6 lines
Quoted 1 line
Quoted 1 line
I'd suggest that you might need to look at
increasing the
Quoted 4 lines
Quoted 4 lines
maximum IO
size for the block device
(/sys/block/sdb/queue/max_sectors_kb),
maybe the request queue depth as well toget
Quoted 3 lines
larger IOs to
Quoted 2 lines
Quoted 2 lines
be pushed
to the raid controller. if you can, at leastget
Quoted 5 lines
it to the
Quoted 4 lines
Quoted 2 lines
stripe
width of 1536k....Could you give a good reference for performance
tuning
Quoted 4 lines
of these
Quoted 1 line
parameters? I am at a total loss here.
Welcome to the black art of storage subsystem tuning
;)
Quoted 2 lines
I'm not sure there is a good reference for tuning the
block
Quoted 2 lines
device
parameters - most of what I know was handed down byword of
Quoted 4 lines
mouth
from gurus on high mountains.The overriding principle, though, is to try to ensure
that
Quoted 2 lines
the
stripe width sized IOs can be issued right through theIO
Quoted 2 lines
stack to
the hardware, and that those IOs are correctly alignedto
Quoted 2 lines
the
stripes. You've got the filesystem configuration andlayout
Quoted 2 lines
part
correct, now it's just tuning the block layer to passthe
Quoted 2 lines
IO's
through.Can I confirm that (/sys/block/sdb/queue/max_sectors_kb)=stripe width 1536 kB
Which parameter is "request queue depth"? What should be the value?
Quoted 1 line
FWIW, your tests are not timing how longit takes for
all
Quoted 2 lines
the
data to hit the disk, only how long it takes to getinto
Quoted 1 line
cache.
Thank you! I do know that XFS buffers writes extensively. The drive LEDs remain lighted long after the OS says the writes are completed. Plus some timings are physically impossible.
Quoted 1 line
That sounds wrong - it sounds like NCQ is not
functioning
Quoted 2 lines
properly
as with NCQ enabled, disabling the drive cache shouldnot
Quoted 2 lines
impact
throughput at all....I do not remember clearly if NCQ is available for that motherboard, it is an Ubuntu 32-bit, but I do remember seeing queue depth in the kernel. I will check it out next week.
But what I read is that NCQ hurts single write performance. That is also what I found with another Areca SATA RAID in Windows XP.
What I found with all the drives we tested was that disabling the cache badly hurt sequential write performance (no file system, write data directly to designated LBA).
Quoted 1 line
I'd suggest trying to find another distributor that
will
Quoted 2 lines
bring them
in for you. Putting that many drives in a singlechassis is
Quoted 2 lines
almost
certainly going to cause vibration problems,especially if
Quoted 2 lines
you get
all the disk heads moving in close synchronisation(which
Quoted 3 lines
is what
happens when you get all your IO sizing and alignment right).I am working on changing to the WD Caviar RE4 drives. Not sure if I can pull it off.
Chin Gim Leong
Quoted 7 lines
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs