Re: [TuxOnIce-devel] Swsusp patches applied to suspend-2.6#linux-next

From: Nigel Cunningham
Date: Mon Sep 27 2010 - 05:57:48 EST


Hi.

On 27/09/10 19:38, Andrey Rahmatullin wrote:
On Mon, Sep 27, 2010 at 06:29:35PM +1000, Nigel Cunningham wrote:
As discussed, here are the patches, modified to apply against your current
linux-next tree. A new first patch splits compression support out into its
own file, removing the need to have two versions of the load_image and
save_image routines, minimising the changes to the remainder of the
patches and making things cleaner than would otherwise be the case.

On my laptop, single-threaded compression actually slows writing down from
175MB/s to around 100-120MB/s (depending on how well the image compresses).
Reading speed improves from 218MB/s to around 245MB/s. I expect that
multithreaded writing would bring the writing (and reading) speeds back
up. It's on my swsusp to do list :)
Works here.

Ah. You're too fast for me :)

What sort of speeds are you seeing?
Well, I don't see any 'PM: Image read at' etc in the kernel logs after
resuming (in for-rafael tree).

You need CONFIG_PM_DEBUG enabled for that. Perhaps I should remove that requirement.

Nigel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/