linux-mips
[Top] [All Lists]

Re: Memory needed for hibernation too much

To: Jacky Lam <lamshuyin@gmail.com>
Subject: Re: Memory needed for hibernation too much
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Fri, 25 Feb 2011 09:12:16 +0100
Cc: linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gN+niR4Jxtm+i+e9wAEl7xZobLozzMz3R7EEz6pmFhA=; b=QPhP3sWYiFoSn5oqvq1Nkzoh/5BT6ofySzfewoYekoZMD1rMv34RlP5ovDRyFEysnz 9qSVckD9JoR3UUtEXm4vlzrt2ytLMNXqH8jhahtry7dCbGlC9RnDxaZCC08j5aoJ2k2b mVLiRRdz4HyPRniKUe/N11Nblk75YAFD5undk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AkeZn4HFs5awue4fB9hurqZCCXYVITaKYJQ2d/fR8+gQo5xh2eV5EC8JQbx79Eo9+A B8q1d/AGMahm5/93aU/gum4b46HrinMbZGMAlAIh/5GdLcMrBWbe9xw0k5CpylffuLwv Zi81aUxmTsqGsqF6zxTEtNfxgF6fZOK4DIyic=
In-reply-to: <4D672850.80902@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4D672850.80902@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, Feb 25, 2011 at 04:56, Jacky Lam <lamshuyin@gmail.com> wrote:
>    I try the hibernation feature with my MIPS box which has 128MB RAM. After
> boot up, it remains to have 110MB something. Then I mount ramfs on a
> directory, create a file 100MB from /dev/urandom and enter hibernation. The
> process failed because of no memory. Then, I continue to cut the data file
> size and not success until 20MB.
>
>    I want to make sure if it is an expected behavior or I am doing some
> wrong?

How large is your swapspace? Hibernation needs space on swap to store
the contents
of RAM (that cannot be loaded again from somewhere else).

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>