Gary wrote:
Hello!
Is there a rule of thumb for allocating swap space on a larger machine? For example, a V1280, 12 CPU's and 48Gb of memory.
Thanks.
This is a hard question; it depends entirely on your
workload. If you don't give it much swap, any files
you put in /tmp are effectively locked in memory. Same
with each processes heap, stack, etc. So if your entire
workload doesn't really need the 48G, running w/ minimal swap
is fine.
On the other hand, if you have processes creating multi-GB files
in /tmp, or long running C++ parallel compiles w/ 100MB working
set per CC instance, you're going to be happier w/ swap. Desktops
often have large working sets with some apps that don't run for
days - in this case, configuring swap really helps cut down on
memory demands w/o affecting performance very much.
Personally, I see allocating 20G of swap space in this situation
as akin to a safety valve - you may never need it, but should
things get tricky, you'll be glad you have it.
- Bart
--
Bart Smaalders Solaris Kernel Performance
[EMAIL PROTECTED] http://blogs.sun.com/barts
_______________________________________________
opensolaris-discuss mailing list
[email protected]