1 |
My 50 cents: |
2 |
|
3 |
A swap partition is always faster than a swap file. Not so much, but is faster. |
4 |
With 4GB of RAM is expected to find computers with lof of free space in hard |
5 |
disk. So: creating a 4GB of swap in a partition will give us a extra |
6 |
resource with |
7 |
little cust. |
8 |
|
9 |
Anthony is really right: it depends if you need swap. In a server with |
10 |
30 users, |
11 |
problably not, even in the case where the access is simultaneous (by experience |
12 |
with servers with 2GB of RAM and 2GB of swap). |
13 |
|
14 |
But, in a desktop, it depends of applications running at the same time. I have |
15 |
4 GB of RAM, and when emerging some large programs, I mount some part of |
16 |
memory (3GB) in /var/tmp/portage (using tmpfs). This acelerates the emerging |
17 |
process, and the only program I can't compile in this way is openoffice :(. |
18 |
|
19 |
When I'm using memory as a space to compile programs, the swap is used |
20 |
in some moments, if I'm using firefox (with 2 windows of 10 tabs each) and |
21 |
openoffice. |
22 |
|
23 |
So, in normal use, you probably don't need a swap. But, It will hurts in terms |
24 |
of disk space to create it? Probably not, so create and be prepared to large |
25 |
requests of memory :). This is my sugestion... |
26 |
|
27 |
|
28 |
2007/3/13, Hemmann, Volker Armin <volker.armin.hemmann@××××××××××××.de>: |
29 |
> On Dienstag, 13. März 2007, P.V.Anthony wrote: |
30 |
> > Hi, |
31 |
> > |
32 |
> > Is swap really needed when there is a 4g of ram? |
33 |
> |
34 |
> depends ;) |
35 |
> |
36 |
> but you don't need a swap partition. A swapfile is good enough and more |
37 |
> flexible. |
38 |
> -- |
39 |
> gentoo-amd64@g.o mailing list |
40 |
> |
41 |
> |
42 |
|
43 |
|
44 |
-- |
45 |
[]s |
46 |
Joaquim |
47 |
------------------------------------------ |
48 |
(o_ Joaquim Quinteiro Uchoa |
49 |
//\ Consultor Linux e EaD |
50 |
U_/_ Linux User # 100534 |
51 |
------------------------------------------ |
52 |
-- |
53 |
gentoo-amd64@g.o mailing list |