Gentoo Archives: gentoo-user

From: "Claudio Roberto França Pereira" <spideybr@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] To swap or not to swap? Is it really needed?
Date: Thu, 29 Dec 2011 22:36:10
Message-Id: CAGo3Weo10WAPosiSXy+FihBo4fmre9qcnmVq7MxWRvsG3DVNeg@mail.gmail.com
1 I've run my box with 2x2GB of RAM for a while, but a couple weeks ago
2 one of my chips died, and now I'm stuck with 1x2GB. That's not that
3 terrible, I'm using Gentoo all day, rarely switching to Windows 7
4 anyways, who really likes RAM.
5 Anyway, for the last days, my machine has been really slow, with mouse
6 lag, input delay, and other things. I imediately associated it to the
7 lack of free RAM, but I always rushed to check the RAM usage with htop
8 and it were never really high. So today I decided to turn my swap
9 partition off. And the system is FLYING. I mean, it's pratically a new
10 machine, now it's usable and reliable.
11
12 I thought of falling back from KDE 4 to awesome (tried it earlier in
13 an old notebook last year) given the memory footprint of KDE, but it
14 seems that my hard disk was the culprit here.
15 I've heard that Linux need a little swap partition, maybe just 512MB,
16 for some tasks, but I'm not going to turn it on anytime soon. It's a
17 desktop machine, 24/7, and I couldn't care less about suspend-to-disk.
18
19 So, should I ban swap partitions entirely from my life? Is that ok?

Replies

Subject Author
Re: [gentoo-user] To swap or not to swap? Is it really needed? Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] To swap or not to swap? Is it really needed? Dale <rdalek1967@×××××.com>
[gentoo-user] Re: To swap or not to swap? Is it really needed? Nikos Chantziaras <realnc@×××××.de>