My 50 cents: A swap partition is always faster than a swap file. Not so much, but is faster. With 4GB of RAM is expected to find computers with lof of free space in hard disk. So: creating a 4GB of swap in a partition will give us a extra resource with little cust.
Anthony is really right: it depends if you need swap. In a server with 30 users, problably not, even in the case where the access is simultaneous (by experience with servers with 2GB of RAM and 2GB of swap). But, in a desktop, it depends of applications running at the same time. I have 4 GB of RAM, and when emerging some large programs, I mount some part of memory (3GB) in /var/tmp/portage (using tmpfs). This acelerates the emerging process, and the only program I can't compile in this way is openoffice :(. When I'm using memory as a space to compile programs, the swap is used in some moments, if I'm using firefox (with 2 windows of 10 tabs each) and openoffice. So, in normal use, you probably don't need a swap. But, It will hurts in terms of disk space to create it? Probably not, so create and be prepared to large requests of memory :). This is my sugestion... 2007/3/13, Hemmann, Volker Armin <[EMAIL PROTECTED]>:
On Dienstag, 13. März 2007, P.V.Anthony wrote: > Hi, > > Is swap really needed when there is a 4g of ram? depends ;) but you don't need a swap partition. A swapfile is good enough and more flexible. -- [email protected] mailing list
-- []s Joaquim ------------------------------------------ (o_ Joaquim Quinteiro Uchoa //\ Consultor Linux e EaD U_/_ Linux User # 100534 ------------------------------------------ -- [email protected] mailing list
