[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] low on memory question
- Subject: Re: [cobalt-developers] low on memory question
- From: Tim Hockin <thockin@xxxxxxx>
- Date: Mon Jul 23 03:23:35 2001
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
"William L. Thomson Jr." wrote:
> > I have 500 megs of memory and only 133 megs of swap space. Why would
> > Cobalt ship
> > such a non-standard setup? I always thought the rule was twice the swap
> > space as memory.
That rule of thumb is largely a holdover from teh days when memory cost
10's or hundreds of dollars per megabyte. Systems all had low-memory and
swapped a lot more. Now that memory is ~ 20-40 cents per meg, it is far
more economical to just add memory.
That said, if youw ant to add more swap space:
dd if=/dev/zero of=/path/to/swapfile bs=1048576 count=256
mkswap /path/to/swapfile
swapon /path/to/swapfile (also add to /etc/fstab)
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx