On 11/7/06, Bill Marquette <[EMAIL PROTECTED]> wrote:
On 11/7/06, Tommaso Di Donato <[EMAIL PROTECTED]> wrote:
>
>
>
> On 11/6/06, Bill Marquette < [EMAIL PROTECTED]> wrote:
> > On 11/5/06, Rob Terhaar <[EMAIL PROTECTED]> wrote:
> > > I store my swapfile on a ram drive!
> >
> > I certainly hope that's a joke, cause it's the daftest thing I've ever
> > heard otherwise!!! :)
> >
> > --Bill
>
>
> Mmmh, sorry for the stupid question... but why it is so nasty? I think it
> depends on what you do with your swap "file". I.E. I used a ramdisk for
> creatind squid temporary dirs, and it works faster.... Please, let me
> understand what I should expect from the future.... :-)
> Thank you sooo much
> Tom
Let's see. The reason you are swapping is because you ran out of ram.
#1 most likely reason you ran out of ram...you made a large ramdisk
so you could put swap on it! It makes more sense to ADD ram to a box
than to figure out a way to make swap faster (especially when the end
result costs you RAM which you needed to eliminate the swap issue!)
Squid has nothing to do with the OS swap file btw - unrelated
question. Sure, using a ramdisk for the squid cache will be
faster...until you reboot and lose all the cache (and have to recreate
the cache dir), then your browsing is slow again until the cache is
built back up. I could see putting a squid cache (or swap) on Craigs
device though :)
--Bill
I know not everyone in the world understands jerky american sarcasm, so just to clear things up... i was joking. :D
I don't think freebsd will even let you use a ramfs drive to store swap.
