Memory needed for hibernation too much
Hi all,
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?
Thanks.
BR,
Jacky
Quoted 8 lines · Jacky Lam
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/urandomand 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 -- [email protected]
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
I create a 300GB swap space (just use up the remaining space in
disk, no special reason). Is that a problem?
Jacky
Quoted 24 lines · Geert Uytterhoeven
Quoted 8 lines · Jacky Lam
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/urandomand 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 -- [email protected]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
Quoted 3 lines · 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) --->
Quoted 36 lines
Jacky
Quoted 30 lines · Geert Uytterhoeven
Quoted 11 lines · Jacky Lam
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/urandomand 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 -- [email protected]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
Signature · 9 lines
--------------------------------------------------------- HuHongbing (Software Department) Tel : 0512-52308631 E-mail : [email protected] MSN : [[email protected]] WEB : www.lemote.com JiangSu Lemote Corp. Ltd. MengLan, Yushan, Changshu, JiangSu Province, China ---------------------------------------------------------
Quoted 9 lines · 胡洪兵
Quoted 3 lines · 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?
Jacky
Quoted 39 lines
Quoted 37 lines
Jacky
Quoted 30 lines · Geert Uytterhoeven
Quoted 11 lines · Jacky Lam
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/urandomand 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
Signature · 8 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Quoted 6 lines · Jacky Lam
Quoted 5 lines · 胡洪兵
Quoted 3 lines · Jacky Lam
I create a 300GB swap space (just use up the remaining space in disk, no special reason). Is that a problem?
Quoted 7 lines
Quoted 4 lines
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?
The memory address space is not continuous in some cpus, so I suggest to change the memory model.
I guess that your system is continuous, so only 1 node is show.
Quoted 44 lines
Jacky
Quoted 39 lines
Quoted 37 lines
Jacky
Quoted 30 lines · Geert Uytterhoeven
Quoted 11 lines · Jacky Lam
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/urandomand 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 -- [email protected]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
Signature · 9 lines
--------------------------------------------------------- HuHongbing (Software Department) Tel : 0512-52308631 E-mail : [email protected] MSN : [[email protected]] WEB : www.lemote.com JiangSu Lemote Corp. Ltd. MengLan, Yushan, Changshu, JiangSu Province, China ---------------------------------------------------------
Quoted 2 lines · Jacky Lam
I create a 300GB swap space (just use up the remaining space in disk, no special reason). Is that a problem?
That should be plenty for a box with 128 MiB RAM...
Quoted 12 lines · Geert Uytterhoeven
Quoted 11 lines · Jacky Lam
Quoted 10 lines
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/urandomand enter hibernation. The
process failed because of no memory. Then, I continue to cut the data file
size and not success until 20MB.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
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 -- [email protected]
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