Re: xlock too slow to wake up



On 20/05/12 03:42, Patton Echols wrote:
On 05/18/2012 09:40 AM, Paul Smith wrote:
On Fri, 2012-05-18 at 18:22 +0200, oxy wrote:
i just checked it again. I have

8G RAM
2x 16G swap
Yikes! 32G! That's WAY WAY WAY too much swap.

For an 8G RAM system I would recommend NO MORE THAN 4G swap. Total.
Unless you have unusual requirements for the system (kernel development,
where you're taking kernel panic cores, suspend to ram, etc. are
situations where you need lots of swap). Normal usage for a desktop and
user-space development definitely doesn't need that much.


Normal usage for desktops DOES need that much . . . maybe.

Suspend to disk / Hibernate is normal usage for laptops and desktops too if the hardware supports it and a backup battery is recognized by the system. Since swap space is used for that purpose, you need at least as much swap as RAM. (preferably more) The article you cited agrees and makes the distinction between servers and desktop/laptops.

I have 16GB of RAM and during installation the install process automatically assigned only 2GB to the swap partition.

BC


--
Using openSUSE 12.1 x86_64 KDE 4.8.3 and kernel 3.3.6 on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Swap space not used
    ... should be AT LEAST as large as TWICE the amount of RAM. ... The rest is then available for regular swap ... space is not used during runtime but only on suspend, ... dump space in the system spool during startup, ...
    (Debian-User)
  • Re: excessive swap-in time
    ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
    (comp.os.linux.development.system)
  • Re: Squeeze. What is current hibernation mechanism?
    ... ACPI state number 4 = suspend to disk. ... I said at least RAM size SWAP if your are not a SWAPPER because your have plenty of RAM or are not having to much workload. ... What is current hibernation mechanism? ...
    (Debian-User)
  • SLUB 0:1 SLAB (OOM during massive parallel kernel builds)
    ... 2G of RAM, 1G of swap partition. ... DMA per-cpu: ... kill process 25286 score 188662 or a child ...
    (Linux-Kernel)
  • Re: new disk layout
    ... the 'buffers' and 'cached' need not be saved, ... need is the swap in use plus the memory in use. ... Don't hold your breath, for years I kept pointing out issue with suspend and being told "stop whining and send patches," and I would say "the patch is suspend2." ... probably large enough even when you upgrade to 4 GB RAM. ...
    (Fedora)