xfs
[Top] [All Lists]

Re: Pid: 8345, comm: rsync Not tainted 2.6.32.22intel #1

To: Stefan Priebe - Profihost AG <s.priebe@xxxxxxxxxxxx>
Subject: Re: Pid: 8345, comm: rsync Not tainted 2.6.32.22intel #1
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Tue, 26 Oct 2010 13:25:05 +0200
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4CC6B56B.7020007@xxxxxxxxxxxx>
Organization: Intellique
References: <4CC67450.9020602@xxxxxxxxxxxx> <20101026092205.086c0d89@xxxxxxxxxxxxxx> <4CC68249.7050409@xxxxxxxxxxxx> <20101026094111.48670eb7@xxxxxxxxxxxxxx> <4CC688FE.7010206@xxxxxxxxxxxx> <20101026130103.7cc43aec@xxxxxxxxxxxxxxxxxxxx> <4CC6B56B.7020007@xxxxxxxxxxxx>
Le Tue, 26 Oct 2010 13:03:07 +0200
Stefan Priebe - Profihost AG <s.priebe@xxxxxxxxxxxx> écrivait:

> it is a 9650SE-8LPML with Firmware: FE9X 3.06.00.003.

Augh, this firmware is antique :) The latest is 4.10.xx.xx. Anyway,
don't use firmware before 3.08.xx.xx, there were some nasty bugs.

> So you mean i should upgrade to 4.x Firmware? 

Definitely. It will much improve performances, too. Simply download the
firmware file, extract it, and flash the controller with tw_cli :

tw_cli /cXX update fw=prom0006.img 

(the firmware is always in the prom00xx.img file).

> Do i then have to do a 
> filesystem repair? Or just wait if the error accours again?

No, the filesystem will be fine. However you should start a RAID scrub
with 

tw_cli /cXX/uXX start verify

This will rebuild the parity with the new 4.X format (faster writes)
and help detect any hardware fault.

My other advices : generally don't use cfq scheduler with a RAID
controller, it will defeat the whole purpose of RAID cache and command
reordering abilities. Use noop, generally, and deepen the queue :

echo "noop" > /sys/block/sdc/queue/scheduler
echo 512 > /sys/block/sdc/queue/nr_requests

Don't hesitate to enlarge tremendously the read-ahead cache, too. I
generally use about 512 to 1024 sectors  per drive as a rule of the
thumb, so a 4 drives array will use 2048 to 4096 :

blockdev --setra 4096 /dev/sdc

You should see a 100% write/read speed improvement with these
parameters.

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

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