[Top] [All Lists]

Re: Memory needed for hibernation too much

To: 胡洪兵 <>
Subject: Re: Memory needed for hibernation too much
From: Jacky Lam <>
Date: Mon, 28 Feb 2011 11:04:15 +0800
Cc: Geert Uytterhoeven <>, linux-mips <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Xx0OdQ3RIo0p0oE+ImqObV6aA4ks2UBQaPpcdWb4+KM=; b=GH52cOSE+7TU4t9+SaA1FUT4Jbxdxswwo7rJoiTeTRlrLEbMmbnfh2NYyhExKLnqh1 QNGjg8tCDFmiQVq3dqHqPFy1u5l64O0tllazJOZg+xsbO6m0VqAo7i1uNeJ6VuHwregS h4j2bNSm9Cv/GU4lVRPtb/e40hwyfFInyHeT0=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=FJVhTn6gWcJXGk9XvNXo8BeAl2eHSZPxLzPnI4npkZ8Vg9bLnQBd9IK+r1p9IRnM3J PiPzM1+PtcHriWxgIQWmJsN6fg+AG+eWas0VdergqAW72ZQjaW233FGiGJ5DqHb6C8JF cJgI27NuXPe/bXM+xwSgxN5dGe8EoFT0TnkGg=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101207 Thunderbird/3.1.7
On 2/28/2011 9:55 AM, 胡洪兵 wrote:
于 11/02/28 9:03, Jacky Lam 写道:
I create a 300GB swap space (just use up the remaining space in disk, no
special reason). Is that a problem?

You could try to change the memory model to "Sparese Memory".

Kernel type --->
 Memory model (Sparse Memory)  --->

My system memory only has 1 node of continuous memory. Any reason for that?



On 2/25/2011 4:12 PM, Geert Uytterhoeven wrote:
On Fri, Feb 25, 2011 at 04:56, Jacky Lam<> wrote:
I try the hibernation feature with my MIPS box which has 128MB RAM.
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
size and not success until 20MB.

I want to make sure if it is an expected behavior or I am doing some
How large is your swapspace? Hibernation needs space on swap to store
the contents
of RAM (that cannot be loaded again from somewhere else).



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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>