Re: How cache into RAM memory rather than on disk?

From: <alowe@dont-contact.us>
Date: Thu, 18 May 2000 17:44:26 +1000 (EST)

i was thinking that you would want the system to run as fast as possible,
so not make a real mirror... more just backing up the ramdisk... so maybe
every night, when traffic is slow you would want to do this, of course if
you were not too concerned about speed, you would probably not want to use
more RAM for cacheing?

Andrew Lowe
andrew@pccentre.com.au
        The South Coast Professional Computing Centre
                + Hislora Website Hosting & Design
                + Daly & Daly Computer Training
                + Flatearth Internet Cafe
        Ph: 02 4423 7771
        Fax: 02 4423 7772
        email: sales@pccentre.com.au

On Thu, 18 May 2000, Colin Campbell wrote:

> On Thu, 18 May 2000 alowe@hislora.com.au wrote:
>
> > if you make a script that copies your ramdisk fs to a real fs, mirroring
> > it constantly - or every 1/2 hour, and on startup, re-builds the ramdisk
> > from the mirror before starting squid, that would work? you would have to
> > do the cache log files as well, otherwise they might be 1/2 and hour out..
> > if you are only backing up every 1/2 hour...
>
> Of course a real :-) system would allow you to build a mirror out of a
> real disk and ram disk. Writes would be not a lot slower than to a real
> disk and reads, always from the mfs half of the mirror, would be
> somewhat faster (I would hope).
>
> Colin
>
Received on Thu May 18 2000 - 01:05:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:31 MST