I’ve checked absolutely every .conf file listed in pm-utils & suspend packages. They don’t appear to be used. I just want to check that s2disk on 11.4 isn’t trying to use the swap partition. If it is, I need to make it larger. If not, I would like to try to force it onto the root partition.
After further research, it appears to be controlled by /boot/grub/menu.lst The resume=/dev/sda3 (in my case) tells me that it’s using the swap partition. If that’s wrong, give me a holler.
I am pretty sure that is correct. The hibernate data is saved to swap, and resume recovers it before “swapon” on the next boot. So yes, if you plan to rely on hibernation, you will need swap to be large enough.
On 05/29/2011 10:06 PM, nrickert wrote:
>
> you will need swap to be large enough.
and, i believe the current thinking is that you need to have something
like a “little” more than half the installed RAM…now, you probably
remember the (windows? and OS/2?) old rule of thumb was to have about
twice as much swap space as you had RAM (iirc)…
but folks with (say) 10GB RAM do not need 20GB of swap, instead they
need (say) 6GB if they plan to hibernate…because it is compacted as
it goes into swap…
–
dd CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
Dual booting with Sluggish Loser7 on Acer Aspire One D255
On 2011-05-29 22:32, DenverD wrote:
> but folks with (say) 10GB RAM do not need 20GB of swap, instead they need
> (say) 6GB if they plan to hibernate…because it is compacted as it goes
> into swap…
I’d put at least 12 GiB to be safe
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2011-05-29 20:06, X61 usr wrote:
>
> I’ve checked absolutely every .conf file listed in pm-utils & suspend
> packages.
menu.lst
> They don’t appear to be used. I just want to check that
> s2disk on 11.4 isn’t trying to use the swap partition.
Of course it is.
> If it is, I need
> to make it larger. If not, I would like to try to force it onto the
> root partition.
No way.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
I wish I had 10GB of ram. I’m going to (God help me) add, delete, shrink & move partitions to get a little more swap space and to recover some /usr space from my / partition (which is why I wanted to force things on to /). Shouldn’t be a problem.
On 05/30/2011 03:50 AM, Carlos E. R. wrote:
> I’d put at least 12 GiB to be safe
ok, teach me, please
(by the way, my swap is double my ram–hard drive space is cheap)
–
dd CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
Dual booting with Sluggish Loser7 on Acer Aspire One D255
Let’s not start a swap religious war here.
The rule used to be 2x swap over ram. I used to set it up that way on shared systems. But this is my laptop, so, I’ll just have to remember not to fill my swap space then try to hibernate. My initial testing w/ 11.4 let me hibernate w/ 0.5x swap to ram, but, I’m going to increase this to equal swap to ram just to be safe.
Also, I have too much wasted space on one of my partitions which I’m going to recover by splitting the / partition into / and swap. But thanks for the advice.
On 2011-05-30 09:18, DenverD wrote:
> On 05/30/2011 03:50 AM, Carlos E. R. wrote:
>
>> I’d put at least 12 GiB to be safe
>
>
> ok, teach me, please
Memory can be compressed when swapping, true, but I don’t trust that to
work always. I don’t think it is possible to guarantee a compression ratio,
so to be safe, at least as much as ram. And a bit more just in case some
swap was already used.
There is no exact rule, just some rule of (thick) thumb
> (by the way, my swap is double my ram–hard drive space is cheap)
Ha, the double-the-ram rule was a windows rule
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)