[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swsusp/pmdisk status on ppc?



> At 11:07 Uhr +0200 19.04.2004, Michael Schmitz wrote:
> >mol will work, and the key to avoiding swap collision is swap priorities
> >(as I've explained before). pmdisk uses the first swap partition, so you
> >need to make sure the second swap partition has the higher priority.
>
> Ok, but I guess if the sum of all RSS space (or at least the stacks
> and heaps) of all processes is bigger than the first swap partition,
> it will fail?

Nope, pmdisk doesn't need exclusive access to the first swap partition,
just enough space to save kernel state (during suspend, all user processes
are frozen and swapped out, so memory used by processes doesn't count
here).

> (Well maybe LVM would work?, this would help me merge the two swap
> partitions in that case.)

I'm not sure you can use LVM 'devices' for swap.

> >Re: mol - which version do you have working with 2.6 kernels?
>
> 0.9.70-rc2 (I'm not sure anymore where I did get it from, I think it
> was a development version when I got it a few months ago, I have it
> in a 'mol-rsync' directory). Works very well except that it takes up
> more CPU than older versions with kernel 2.4 (at least 10% even when
> macos is idle); I did set HZ to 100 instead of 1000 in kernel 2.6.3

That might make a difference. I had no luck with the latest mol packages
on 2.6 kernels yet...

	Michael



Reply to: