[Tfug] Lies, damned lies, and swap space

Jeremy C. Reed reed at reedmedia.net
Fri Jul 6 22:29:44 MST 2007


On Sat, 7 Jul 2007, Matt Jacob wrote:

> It's time for my laptop to have a clean slate, so I'm wiping the disk
> and reinstalling everything from scratch. My question is this: How
> much space (if any) should I allocate to swap?
> 
> I've got 2 gigs of RAM in this thing, so I don't anticipate I'll be
> swapping very frequently. On the other hand, could it possibly hurt to
> allocate at least 1G to swap?

I disabled the swap partition four months ago (reused it as a filesystem).

reed$ dmesg | grep Memory:
[17179569.400000] Memory: 897556k/916416k available (1829k kernel code, 
18232k reserved, 1041k data, 288k init, 0k highmem)

reed$ free -m
             total       used       free     shared    buffers     cached
Mem:           883        875          8          0         53        584
-/+ buffers/cache:        237        646
Swap:            0          0          0

Works fine with many firefox windows and tabs and numerous xterms and 
running Gnome on Ubuntu.

Seems like I used to have more ram...

I have never used the hibernate feature.

  Jeremy C. Reed

p.s. My normal system only has 128 MB physical memory and around 500 MB of 
swap, but it runs NetBSD with jwm.




More information about the tfug mailing list