On Mon, May 15, 2006 at 10:27:30PM -0400, David Zakar wrote:
> I have a Firewire RAID-5 that I use for network file storage on my
> gigabit LAN. This works very well, but I find it to be a little slow
> sometimes.
> 
> What I'd like to do is tell Linux to use a really fast, local disk (eg,
> a 10k RPM HDD connected via SATA) as a temporary data cache for the
> RAID, so that some data accesses might go a little faster. Does Linux
> swap already handle this, or am I going to need some special voodoo?
> 
> (I hope this is at least reasonably clear)

Network file storage over nfs?  The general linux VFS will use real
memory to do file system caching, but i don't think it will use swap
for caching.  I would think you need to do some hacking to make this
work... but I would love to be proved wrong.  Solaris nfs has a caching
option built in.... looking through man nfs(5) on linux, there are some
buffers and what not that you can increase to get better throughput,
but no data caching.  You could try AFS :-)

- Rob
.

Reply via email to