Skip to contentSkip to conversation

Patch 0/2: Add compression support to swsusp.

DISCUSSION Rafael J. Wysocki 1 participant 1 message Jul 6, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 1 line · Nigel Cunningham

Hi Rafael.

Hi,

Quoted 2 lines

Sorry that I've been so slow to send anything after our recent discussion about merging TuxOnIce. Too much on my plate, as usual.

No problem, I've been quite busy recently too.

Quoted 6 lines

Here are a couple of patches for your consideration. The first one adds support for combining partial pages together when writing the image proper, and breaking them apart again when reading the image back. The second patch builds on the first one, adding support for compressing the data that is written in an image.

Quoted 7 lines

The net effect should be a good boost in the speed of writing the image, but a slowdown (for now) in the speed of reading the image, because we can't decompress data that hasn't been read yet, and so currently need to do the reads synchronously. I'm a bit under the weather at the moment, and am going to go to bed now. I hope, though, to get another patch or two prepared reasonably quickly, which will implement an algorithm for doing readahead.

Thanks for the patches, I'll have a look at them shortly, but I need to prepare some slides for the Linux Symposium, so please be patient. :-)

Best,
Rafael