Re: [squid-users] Ramdisks

From: Joe Cooper <[email protected]>
Date: Wed, 21 Nov 2001 06:04:46 -0600

Sure it's possible. I just ran a box like this at the most recent
cacheoff (it was actually a mixed 12GB disk and 512MB RAM disk
configuration--which runs into most of the same limitations as an all
disk-based Squid). The performance can be quite good running entirely
from RAM, and the saving to disk on shutdown automation is trivial.

So, go for it. I've been playing with the disk selection code lately to
see if I can't make a combination Squid (disk+RAM disk) work a little
more efficiently--right now the hit rate suffers and the disks don't see
a lot of action.

laurence@gazelle.net wrote:

> Hi All!
>
> I was just pondering on how to make a superfast squid, and I wondered to
> myself: Would it be possible to build the squid cache on a _large_ ramdisk
> (ie: 1-2GB), and then copy all of the cache information to the hard disk if
> the program needed shutting down. Would this work? I can understand it
> wouldn't be quite as stable, but is it possible? I'm _sure_ someone's tried
> this before!
>
> Thanks!

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Wed Nov 21 2001 - 05:01:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:23 MST