Re: 2.6.37-rc1+: hibernate regression, claims not enough swap space

From: Pavel Machek
Date: Tue Nov 16 2010 - 00:33:09 EST


On Tue 2010-11-16 06:26:34, Pavel Machek wrote:
> Hi!
>
> > > ...but there's enough -- or at least it was enough to fit previous
> > > versions. 32-bit machine, so it has highmem.
> > >
> > > System is in console mode, very lightly loaded.
> > >
> > > Mem: 2054716k total, 736548k used, 1318168k free, 15368k buffers
> > > Swap: 779148k total, 2360k used, 776788k free, 546388k cached
> >
> > Well, the swap is rather in short supply. Below the 50% of RAM recommendation.
>
> Well, but the biggest image we can write is not 50% of RAM, but 50% of
> lowmem... and swap is nearly as big as lowmem in this case -- so this
> machine is not misconfigured.

BTW swsusp.txt may need updating, it says:

echo N > /sys/power/image_size

before suspend (it is limited to 500 MB by default).

...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/