[KLUG Members] 2 GB swap space?

Adam Tauno Williams members@kalamazoolinux.org
Tue, 25 Feb 2003 13:51:56 -0500


>So I'm putting together a K-12 LTSP server test, and I'm creating the
>filesystem. It's a 1U server, 1 GHz CPU with 1 GB of RAM. As I recall,
>isn't the rule of thumb for swap space to allocate twice the amount of
>RAM? I've only got a 9 GB drive on this test server, and 2 GB just for
>swap seems excessive. Any advice is appreciated.

In days gone by,  go with 512Mb.  On a single drive system, if your that buried
in swap, your dead anyway.  The 2x rule was out-of-date in the 2.0.x days, but
made a brief come back in the 2.4.x,pre-2.4.~9 days when the VM was totally screwed.

>Ultimately, if we are able to deploy this, I'd like to get a 2 CPU server.
>Will 1 GB of RAM be enough for say 30-40 LTSP clients?

I'd go with 2GB.  It is just so cheap.  And some trippin' student will design
some really whiz-bang thing in Open/Star-Office which can get monstrous with
myriad colors, fonts, and photos slapped all over every page.  I've watched this
on gtop since my wife does a pretty good job of beating OO upside the head till
it can barely stand.

And don't put /home on the system volume with /var,  with that many clients they
will clatter each other to death.  If you don't know what "clatter" means wait
to you hear the noises that drive will start to make!  I speak from eperience.

Does this indicate local some good news on the K-12 front?