xlock too slow to wake up
Liam Proven
lproven at gmail.com
Sun May 20 14:05:25 UTC 2012
On 19 May 2012 18:42, Patton Echols <p.echols at comcast.net> 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.
You do need it for hibernation support, it's true.
For 20Y I have recommended 2× physical RAM as swap space, but now we
have PCs with 4-8GB of RAM becoming commonplace and 12-16GB not all
that rare, I think 2× RAM is too much. If you want hibernation
support, I'd probably allocate RAM+2GB now. If you have more than 2G
of stuff in swap, your system will be on its knees anyway, I think...
--
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 • Cell: +44 7939-087884
More information about the ubuntu-users
mailing list