2006-02-21 12:59:34

by Andreas Happe

[permalink] [raw]
Subject: Re: Which is simpler? (Was Re: Re: [ 00/10] [Suspend2] Modules support.)

On 2006-02-21, Nigel Cunningham <[email protected]> wrote:
> On Tuesday 21 February 2006 10:52, Andreas Happe wrote:
>
>> I tried to use suspend2, but setup wasn't that great (i.e. didn't
>> work as well or easy as swsusp) so I dropped it.
>
> Could you provide more detail? If there's something I can do to make
> it eas= ier=20 to use, I'm more than willing to consider that.

it's way too long ago to remember specifics, the system didn't resume
after suspending. Swsusp worked just out of the box (sans dri support
after resuming) without the need to apply a patch (which wasn't supplied
as normal patch (if i remember correctly) but was used by starting a
script)). I'm sorry that I didn't submit a proper bug report, but the
alternative worked for me.

You can't make it simpler except you get in included into mainline (even
by making compromises).

> 12 bytes per page is 3MB/1GB. If swsusp was to add support for
> multiple swap partitions or writing to files, those requirement 20
> might be closer to 5MB/GB. Bitmaps, in comparison, use ~32K/GB (approx
> because it depends whether the gigabyte is all in one zone).
> Proportionally ,20 bitmaps are eating a lot less space out of your
> gigabyte, but I don't think anyone is going to notice that they have 3
> or 4MB more cache per gigabyte with Suspend2 than they have with
> swsusp).

This would take suspend2 a step closer to mainline.. you'll have a very
honest 'Thank You' if that could happen..

andy


2006-02-22 00:36:26

by Nigel Cunningham

[permalink] [raw]
Subject: Re: Which is simpler? (Was Re: Re: [ 00/10] [Suspend2] Modules support.)

Hi.

On Tuesday 21 February 2006 22:59, Andreas Happe wrote:
> On 2006-02-21, Nigel Cunningham <[email protected]> wrote:
> > On Tuesday 21 February 2006 10:52, Andreas Happe wrote:
> >> I tried to use suspend2, but setup wasn't that great (i.e. didn't
> >> work as well or easy as swsusp) so I dropped it.
> >
> > Could you provide more detail? If there's something I can do to make
> > it eas= ier=20 to use, I'm more than willing to consider that.
>
> it's way too long ago to remember specifics, the system didn't resume
> after suspending. Swsusp worked just out of the box (sans dri support
> after resuming) without the need to apply a patch (which wasn't supplied
> as normal patch (if i remember correctly) but was used by starting a
> script)). I'm sorry that I didn't submit a proper bug report, but the
> alternative worked for me.

Ok. That was when I provided multiple patches - they're all combined now. The
script is still there, but just to make applying easier for newbies.

> You can't make it simpler except you get in included into mainline (even
> by making compromises).

Agreed.

> > 12 bytes per page is 3MB/1GB. If swsusp was to add support for
> > multiple swap partitions or writing to files, those requirement 20
> > might be closer to 5MB/GB. Bitmaps, in comparison, use ~32K/GB (approx
> > because it depends whether the gigabyte is all in one zone).
> > Proportionally ,20 bitmaps are eating a lot less space out of your
> > gigabyte, but I don't think anyone is going to notice that they have 3
> > or 4MB more cache per gigabyte with Suspend2 than they have with
> > swsusp).
>
> This would take suspend2 a step closer to mainline.. you'll have a very
> honest 'Thank You' if that could happen..

Well, we'll see what Rafael and I can work out.

Regards,

Nigel

> andy
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


Attachments:
(No filename) (2.02 kB)
(No filename) (189.00 B)
Download all attachments