[PATCH]: Compress hibernation image with LZO (in-kernel)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bojan Smojver
Date: Thursday, July 29, 2010 - 9:46 pm

This patch speeds up hibernate/thaw operations (in kernel ones) by
compressing the pages using LZO. Tests on my ThinkPad T510 show that
hibernation times can be cut by the factor of about 4 for an image of
around 1 GB (from about a minute down to about 15 seconds).

I'm not really familiar with kernel internals, so many of the things in
this patch could be very, very wrong. But go easy - this is essentially
the first time I've attempted something like this.

PS. I'm not on the list, so please CC me if you'd like to contact me.

-- 
Bojan
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]: Compress hibernation image with LZO (in-kernel), Bojan Smojver, (Thu Jul 29, 9:46 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 3:05 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 4:40 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 6:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 5:17 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:10 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:27 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 6:50 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:02 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:37 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:38 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:42 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 9:23 pm)