1 |
On Thursday 21 July 2011 16:27:03 Grant did opine thusly: |
2 |
> >> > [..] |
3 |
> >> > |
4 |
> >> >> I think if you have 4GB of RAM you shouldn't need any |
5 |
> >> >> swap |
6 |
> >> >> under |
7 |
> >> >> normal circumstances. I have a gentoo box with just |
8 |
> >> >> 256MB of |
9 |
> >> >> RAM |
10 |
> >> >> that's running web server (apache + php), mail server |
11 |
> >> >> (postfix + |
12 |
> >> >> dovecot), and database (mariadb), and it works fine if i |
13 |
> >> >> disable swap. I do normally have swap enabled on it, |
14 |
> >> >> though, |
15 |
> >> >> because emerging sometimes uses a lot of RAM. |
16 |
> >> > |
17 |
> >> > Indeed, I have a server with 256MB of memory and it |
18 |
> >> > couldn't |
19 |
> >> > emerge gcc when I had swap disabled. |
20 |
> >> |
21 |
> >> I can't compile openoffice with -j1 on 3GB RAM and no swap. |
22 |
> > |
23 |
> > Sounds like a case for a swap partition that can be activated |
24 |
> > when you need it for big emerges. I hit the same thing with |
25 |
> > firefox-5 oddly enough. |
26 |
> |
27 |
> Swap file just as good? |
28 |
|
29 |
Yeah. If the docs are true, then swap files and partitions give |
30 |
similar performance these days. |
31 |
|
32 |
|
33 |
-- |
34 |
alan dot mckinnon at gmail dot com |