Re: Swap size
- From: Derek Ragona <derek@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Jul 2007 09:27:12 -0500
At 03:03 AM 7/19/2007, Gabriel Linder wrote:
Hi,
I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of RAM.
The handbook says "ideal swap size is 2xRAM", so should I use 2GB of swap ?
Yes unless you know how many applications will ever be run and their run size. The 2xRAM is so you can always have a reasonable performance allowing swap. You can still run out of swap, and this will cause a panic. With disks so cheap, why not use 2XRAM?
This seems a bit huge to me, I never used more than 400MB on Linux.
If so, is there a limit of swap partition size (or number) on i386 (for Linux it's 2GB per partition and 32 partitions max, but I don't know for FreeBSD) ?
You can add more swap using a swap file you can check that out doing:
man swapon
I don't believe there is a limit to swap partitions, other than the limit on other partitions.
I have no knowledge on efficiency of a swap partition vs a swap file.
-Derek --
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Swap size
- From: [LoN]Kamikaze
- Re: Swap size
- References:
- Swap size
- From: Gabriel Linder
- Swap size
- Prev by Date: Re: max resolution with vesa driver on amd64 system running FreeBSD 6.2
- Next by Date: install activestate komodo in freebsd 6.2
- Previous by thread: Swap size
- Next by thread: Re: Swap size
- Index(es):
Relevant Pages
|