From: 胡洪兵 <huhb@lemote.com>
To: Jacky Lam <lamshuyin@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
linux-mips <linux-mips@linux-mips.org>
Subject: Re: Memory needed for hibernation too much
Date: Mon, 28 Feb 2011 09:55:12 +0800 [thread overview]
Message-ID: <4D6B0080.1010401@lemote.com> (raw)
In-Reply-To: <4D6AF445.6020401@gmail.com>
于 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) --->
> Jacky
>
> On 2/25/2011 4:12 PM, Geert Uytterhoeven wrote:
>> 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
>>
>
>
>
--
---------------------------------------------------------
HuHongbing (Software Department)
Tel : 0512-52308631
E-mail : huhb@lemote.com
MSN : [huhb04@gmail.com]
WEB : www.lemote.com
JiangSu Lemote Corp. Ltd.
MengLan, Yushan, Changshu, JiangSu Province, China
---------------------------------------------------------
next prev parent reply other threads:[~2011-02-28 1:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 3:56 Memory needed for hibernation too much Jacky Lam
2011-02-25 8:12 ` Geert Uytterhoeven
2011-02-28 1:03 ` Jacky Lam
2011-02-28 1:55 ` 胡洪兵 [this message]
2011-02-28 3:04 ` Jacky Lam
2011-02-28 3:40 ` 胡洪兵
2011-02-28 8:04 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D6B0080.1010401@lemote.com \
--to=huhb@lemote.com \
--cc=geert@linux-m68k.org \
--cc=lamshuyin@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox