Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 10:48:14 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Eugen Udma <eugenu2@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Swap partition
Message-ID:  <20080103154814.GC13176@gizmo.acns.msu.edu>
In-Reply-To: <905908.9692.qm@web56903.mail.re3.yahoo.com>
References:  <905908.9692.qm@web56903.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 02, 2008 at 05:13:28PM -0800, Eugen Udma wrote:

> Hello,
> 
> I have FreeBSD installed on my desktop, with 2 GB of RAM and
> 4 GB swap partition and this swap partition is very seldom
> touched by the system and then only 2-3% used.
> 
> I want to install FreeBSD on a laptop with 4 GB of RAM and a
> hard disk of 100 GB. Should I waste 8 GB for a swap partition,
> as it is recommended in the handbook?

It is not wasted as swap.
The system uses swap space for both swap and paging.

The traditional reason for making swap be 2X ram is that the system 
uses swap for taking a crash dump and that would be enough to handle 
all of ram for tracing.  

You can get by with less.  
If you are not using your laptop for development and if you are not
using it as a server with the usual large proliferation of processes
being forked off for everything, then having less swap may well be
reasonable.   But, note that you are talking only a small percentage
of your Hd space, so it is hardly worth quibbling about.

////jerry

> 
> Thanks for any advice,
> 
> 
> Eugen
> 
>       Looking for the perfect gift? Give the gift of Flickr! 
> http://www.flickr.com/gift/
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080103154814.GC13176>