Re: [squid-users] Swap size

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 20 Mar 2006 14:09:23 +0100

mån 2006-03-20 klockan 10:38 +0300 skrev wlagmay@yanbulink.net:

> This is out off the topic question but I just want to try my luck.

I wouldn't agree. Squid server sizing and related discussions is
on-topic for this list.

> Just one
> question, If Im going to create a Squid proxy with 8 to 12 Gig of physical
> memory, how much swap space dom I need to create (with Fedora 4 64-bit)

Most likely none.. you have more than plenty of memory and should not
need any swap to extend the amount of virtual memory available.

If you do add swap then for technical reasons you should have at least
the same amount as you have memory, if not the swap could get reduced to
noting under heavy load even if it normally looks like there is plenty
of swap available..

Explanation: swap is used both as additional memory and as shadow of
what is in memory. Under heavy load the part which is shadow of what is
in memory can grow very large, and only a small fraction actually
extends your available memory. If the swap is smaller than your physical
memory all of it might be used as shadow for what is in ram and
effectively there is no extension of the available memory making the
swap kind of worthless..

Regards
Henrik

Received on Mon Mar 20 2006 - 06:09:30 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST