[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap configuration for 16GB of RAM, 8 cores



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/31/07 15:18, agenkin@gmail.com wrote:
> I am installing two servers, each with 16GB of RAM, two quad-core Xeon
> processors, and a SATA hard drive.  The machines will be compute
> servers, meaning lots of concurrently logged in users, each running
> an assortment of jobs, and various long-running processes.  The jobs
> will be
> vastly dissimilar with regards to using the memory, disk, and CPU, and
> to
> their run time, so the configuration should be generic, general
> purpose.
> 
> What are the current best practices with regards to swap partitions?
> Is it
> better to create one big, or several smaller swap partitions?  Is the
> rule
> of thumb still RAM*2 for the total size?
> 
> We are running Debian 4.0/Etch with the stock -i686-bigmem kernel.
> 
> Any input or pointers will be highly appreciated!

Create swap *files* instead.  See "man mkswap" for the technique.
Put them on /.

That way, if you happen to need more swap at a moment's notice, you
can have a GB of swap within 5 minutes.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGr6dxS9HxQb37XmcRAtdgAJsEv4Q0smQBrDX1iNooE68XqIXvVgCcD46+
pd3a4PNc1MYR6oOWHizeSyA=
=CdRi
-----END PGP SIGNATURE-----



Reply to: