[Top] [All Lists]

Re: XFS tune to adaptec ASR71605

To: Steve Brooks <steveb@xxxxxxxxxxxxxxxx>
Subject: Re: XFS tune to adaptec ASR71605
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Tue, 6 May 2014 16:59:33 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <alpine.LRH.2.02.1405061520020.24742@xxxxxxxxxxxxxxxxxxxxxx>
Organization: Intellique
References: <alpine.LRH.2.02.1405061104580.24742@xxxxxxxxxxxxxxxxxxxxxx> <20140506130008.13a1a7ee@xxxxxxxxxxxxxxxxxxxx> <alpine.LRH.2.02.1405061408480.24742@xxxxxxxxxxxxxxxxxxxxxx> <20140506155149.5cf056b5@xxxxxxxxxxxxxxxxxxxx> <alpine.LRH.2.02.1405061520020.24742@xxxxxxxxxxxxxxxxxxxxxx>
Le Tue, 6 May 2014 15:40:37 +0100 (BST)
Steve Brooks <steveb@xxxxxxxxxxxxxxxx> écrivait:

> Yes the write speed is very poor.. I am running "bonnie++" again with
> your params but no sure how long it will take.
> >  bonnie++ -f -d ./ -n 50  
> Will thisno be different for our two machines as it seems to generate 
> other params depending on the size of the RAM. All ours have 64G RAM.

You MUST test with a dataset bigger than RAM, else you're mostly testing
your RAM speed :) If you've got 64 GB, by default bonnie will test with
128 GB of data. The small size probably explains the very fast seek
speed... You're seeking in the RAM cache :)

> I disabled write cache on the controller as there is no ZMM flash
> backup module and it seems to be advised that way. I could enable it
> and try another test to see if that is a contribution to the poor
> write performance. I do have "arcconf" on all our adaptec raid
> machines.

Modern RAIDs need write cache or perform abysmally. Do yourself a
service and buy a ZMM. Without write cache it'll be so slow it will be
nearly unusable, really. Did you see the numbers? your RAID is more
than 12x slower than mine... actually slower than a single disk! You'll
simply fail at filling it up at these speeds.

> I have not tuned the IO scheduler, read ahead, and queue length?  I
> guess I can try this.
> > echo none > /sys/block/sda/queue/scheduler
> > echo 1024 > /sys/block/sda/queue/nr_requests
> > echo 65536 > /sys/block/sda/queue/read_ahead_kb  
> Will this need to be done after every reboot? I guess it could go in 
> "/etc/rc.local" ?

Yep. You can tweak the settings and try various configurations.
However these work fine for me in most cases (particularly the noop
scheduler). Of course replace sda with the RAID array device or you may
end up tuning your boot drive instead :)

Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02

<Prev in Thread] Current Thread [Next in Thread>