xfs
[Top] [All Lists]

Re: RAID Controller Caching and XFS

To: linux-xfs@xxxxxxxxxxx
Subject: Re: RAID Controller Caching and XFS
From: Thor Lancelot Simon <tls@xxxxxxxxxxxx>
Date: Wed, 5 Jun 2002 16:04:22 -0400
In-reply-to: <4.3.2.7.2.20020603111517.03b4e1b0@xxxxxxxxxxxxx>; from knuffie@xxxxxxxxx on Mon, Jun 03, 2002 at 11:16:35AM +0200
References: <auto-000021147946@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4.3.2.7.2.20020603111517.03b4e1b0@xxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Jun 03, 2002 at 11:16:35AM +0200, Seth Mos wrote:
> At 12:35 2-6-2002 -0700, Raymond wrote:
> >I have enabled write-backing caching on a MegaRAID 1500 with battery back-up.
> >
> >Two other cache options exist: Read-Ahead and I/O Caching.
> >
> >Any potential problems enabling these options with XFS 1.02?
> 
> I have not found any using caching IO.
> 
> Read ahead can safely be used, but the readahead under linux itself is 
> probably more usefull.

More importantly, you don't *want* to use readahead because it will waste
valuable cache space on the controller that could be used to cache small
writes.  Unless you have a truly silly memory configuration (e.g. more
cache RAM on the RAID controller than main memory available for buffer
cache on your machine) the read cache of the operating system will do all
that the controller's cache could do and then some.  On the other hand,
since the controller has battery backup, it can do something the OS can't:
safely gather small writes into its battery-backed cache and clear them to
disk in an efficient manner.  So if your RAID controller lets you configure
its cache that way, that's what you want to do.

Thor


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