* Info on hibernation swap space requirement
@ 2008-11-18 8:59 Francesco VIRLINZI
2008-11-18 20:47 ` Nigel Cunningham
0 siblings, 1 reply; 2+ messages in thread
From: Francesco VIRLINZI @ 2008-11-18 8:59 UTC (permalink / raw)
To: pm list
Hi all.
I added the hibernation support on a sh4 based platform and it works fine,
but I don't understand how big the swap space has to be.
My system has 64Mb and I was assuming, I can freeze ~32 Mb therefore
I was creating a swap space of 40/50 Mb.
But it seems it isn't enough, the system is requiring more space.
Could you say me how evaluate the right (minimal) swap space required
when I know the DRam memory size.
Regards
Francesco
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Info on hibernation swap space requirement
2008-11-18 8:59 Info on hibernation swap space requirement Francesco VIRLINZI
@ 2008-11-18 20:47 ` Nigel Cunningham
0 siblings, 0 replies; 2+ messages in thread
From: Nigel Cunningham @ 2008-11-18 20:47 UTC (permalink / raw)
To: Francesco VIRLINZI; +Cc: pm list
Hi Francesco.
On Tue, 2008-11-18 at 09:59 +0100, Francesco VIRLINZI wrote:
> Hi all.
>
> I added the hibernation support on a sh4 based platform and it works fine,
> but I don't understand how big the swap space has to be.
>
> My system has 64Mb and I was assuming, I can freeze ~32 Mb therefore
> I was creating a swap space of 40/50 Mb.
>
> But it seems it isn't enough, the system is requiring more space.
>
> Could you say me how evaluate the right (minimal) swap space required
> when I know the DRam memory size.
If there's too much memory in use when hibernation is attempted, an
attempt will be made to free memory, which could involve pushing some
pages out to swap. You therefore probably want swap space to be at least
as big as the amount of memory you have, unless you're using the image
compression support that I think uswsusp has.
Please don't forget to post your code - we can then incorporate it in
vanilla and you won't have to worry about keeping it updated.
Nigel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-18 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 8:59 Info on hibernation swap space requirement Francesco VIRLINZI
2008-11-18 20:47 ` Nigel Cunningham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox