Subject: Re: Minimum swap size
To: Simon Burge <simonb@wasabisystems.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/19/2003 10:42:19
> I think we'd want at least a minimum of say 64MB of swap for any system
> that is low on RAM - gcc/g++ can be a pig. I've got 150MB of swap on a
> 8MB system here, 48MB wasn't enough to do a native build.
This is consistent with saying that you need enough swap for the
workload... I guess that system takes a while to do anything
because it is swapping like mad - but at least it then completes.
Actually seems like larger of 128MB and memory size would be a
moderate default. Maybe with some space stolen for small disks
with lots of memory.
My actual plan is to display the sizes of the various partitions
and the total amount of free space on the disk (netbsd ptn if mbr).
Then let the user change any of the numbers until they are happy.
Probably allowing separate /usr and /home and /var?.
> I'm using 4GB / + 4GB /var + 2GB swap + 128MB mfs /tmp on an 80G disk
> on a system with 512MB of RAM. This seems about right for me; lots
> of spare space, but doesn't seem overly wasteful. For example, I
> installed the linux openoffice not long ago. It's over 300MB including
> dependancies, but my root fs is still only 40% full.
Do you have a separate /usr?
David
--
David Laight: david@l8s.co.uk