Swap Space

Robert Huff roberthuff at rcn.com
Wed Jan 5 23:57:02 UTC 2011


Adam Vande More writes:

>  > I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON
>  > processors and 6GB RAM.
>  >
>  > What is the recommended swap space?
>
>  > I'm finding conflicting data on this.  Some say 0, some say 1 times RAM,
>  > others say stay with 2 x RAM.
>  >
>  
>  Definitely not 0, but 2x would probably be way too much IMO. 4 -
>  6 GB should be enough for most use cases.

	One data point:

last pid: 58457;  load averages:  1.91,  2.20,  2.27  up 8+19:16:27 18:51:23
166 processes: 5 running, 158 sleeping, 2 stopped, 1 zombie

Mem: 1541M Active, 1267M Inact, 1223M Wired, 195M Cache, 802M Buf, 3440M Free
Swap: 18G Total, 11M Used, 18G Free

	(That's 8g total memory.)  It's a fairly lightly loaded
workstation.
	A philosophical consideration: modern disks are cheap, and
fairly fast.  Repartitioning if you don't have enough is a pain.


				Robert Huff



More information about the freebsd-questions mailing list