Re: Swap issue?



Davide Bianchi wrote:
On 2008-07-22, howa <howachen@xxxxxxxxx> wrote:
1. I have 4GB memory, people used to suggest I should set around 2GB
to 4GB for swap partition.

If your system uses swap, it means that it lack real ram. Theoretically,
swap should not be used at all.

Not really true. It can safely swap out processes that are sitting idle, taking up ram but not doing something at the moment, like that browser window you have open while you are reading your news. That way, it can sometimes survive an overloaded situation.

--

David L. Johnson

Let's not escape into mathematics. Let's stay with reality.
-- Michael Crichton
.



Relevant Pages

  • Re: [opensuse] Swap Software RAID 1 not working, SuSE 10.3
    ... I do notice I do have swap space detected when I use ... didn't have to go raid 0 in order to fix this problem and now it works ... physical drives to make up multiple raid arrays, if my swap partition ... I have 3 G of RAM and I rarely use any swap on disk, ...
    (SuSE)
  • Re: dumpon to an encrypted swap partition?
    ... The swap partition is encrypted by its /etc/fstab entry, ... I am getting sporadic kernel panics on reboot, ... Cannot dump. ...
    (freebsd-hackers)
  • Re: Newbie Question About Swap Partition
    ... My swap partition is set to approximately double the RAM ... Think of swap as 'emergency memory' which the system can ...
    (comp.os.linux.setup)
  • Re: hibernate and swap partition size (newbie question)
    ... > able to hibernate/suspend to disk properly, the swap partition has to ... > be big enough to hold all of the RAM inside it, ... shut down without properly taking care of nvidia, so that is why I had ...
    (Debian-User)
  • Re: Gparted resize linux swap partition
    ... I wanted to try Ubuntu. ... partition during initial installation. ... I thought I was specifying 2Gb of swap, ... Ubuntu be aware of the newly shrunk swap partition WITHOUT reinstalling ...
    (Ubuntu)