virtual memory swap size

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: virtual memory swap size

\_ SMTP quoth Craig White on 5/14/2001 15:26 as having spake thusly:
\_
\_ Just looking to pick everyone's brain here.
\_
\_ If you have 128Mb RAM what would be the optimal size to make the swap
\_ partition? If you are running HTTP off this machine would it matter?
\_
\_ How about 512MB RAM or are there hard and fast rules?
\_
\_ I have seen suggestions from 1MB over the real amount of RAM to 2x the real
\_ amount of RAM so I am unclear.

My rule of thumb is

(real mem + 10M/ xterminal) * server_fudge_factor

And swapping isn't necessarily bad...so long as you're not doing it.
:-)

I have a program that will exhaust resources as it proceeds and once
it hits the real mem barrier, performance tanks and the disks chatter
to the point I almost renamed the machine 'maytag'. Can't wait to try
that on a newer machine that has 'current' technology in it and OpenGL
in firmware.

David