xfs
[Top] [All Lists]

Re: Million files or so on RAID 5 Partition

To: jwest@xxxxxxx
Subject: Re: Million files or so on RAID 5 Partition
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Tue, 05 Mar 2002 08:48:02 +0100
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 3BF7357306; Tue, 5 Mar 2002 08:48:02 +0100 (CET)
Cc: linux-xfs@xxxxxxxxxxx
Organization: Sauter AG, Basel
References: <3C843D91.703130C6@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
John W schrieb:
> 
> Hello all,
> 
> I have a 8 disk RAID 5 partition (8 X 9 GB) on a split bus Compaq array
> that
> currently has around 1 million files on it.  Some tiny, some 5 MB.
> Controllers
> are Sym53C875  (non bootable compaq flavor).
> 
> Doing any kind of removal or listing seems to take waaaay too long, an
> ls in a dir
> with 200 files will take 5 seconds to return. :^/
> 
> Any thoughts on Kernel tuning/adjustment to speed this up? Its a custom
> kernel with
> the Sym53C875 parts in the kernel. IIRC, I was getting around 200
> Interrupts per second
> when doing some 'rm -rf' operations. Xsysinfo showed the IRQs for
> Network card and
> scsi controllers were pegged during NFS/Rsync load.
> 
> Machine Asus P2B-DS 2X 400 MHz, 256 MB RAM.
> 
> Thanks!

Hi,
Two things come to mind

1) IIRC there are two different drivers available for the NCR/Symbios
chipset you're using.

2) The really important thing is how you set up the raid5 array. Did you
make an external log? That makes the BIG difference. I suggest this
layout:

Every disk has:
Part1: 200M     Part2: 8.8G
create raid1 on disk 1-2 / part 1
create swap on disk 3-8 / part1
create raid5 on disk 1-8 / part 2

create XFS FS on raid5 with external log on raid1

-Simon

> 
> John W.
> 
> BTW- Had a power outage that put the array into a bit of a spin. When it
> booted, it
> stalled on mounting the RAID 5 partition, and one disk was marked as
> bad...
> 
> I rebooted, and the array came back up, but one disk light was out...
> marked as bad.
> 
> I did the addhotspare and it came back online (Phew!).
> 
> # Inspire Growth #



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