Re: [RFC 09/15] PM / Hibernate: user, implement user_ops writer

Nigel Cunningham
2010-03-31T21:54:44Z

Hi.

On 01/04/10 08:06, Nigel Cunningham wrote:
>>>>> Wouldn't it also increase the memory requirements?
>>>>
>>>> Not really, or just a little bit (the size of the buffer). I'm talking about
>>>> the image that's created atomically after we've frozen devices.
>>>
>>> The buffer would be the size of the compressed image.
>>
>> Not necessarily if the image is compressed in chunks. According to
>> measurements I did some time ago, 256 KiB chunks were sufficient.
>
> I must be missing something. You're talking about doing compression of
> the image during the atomic copy, right? If that's the case, where do
> the 256KiB chunks come in?

Ah, we're talking about different things. I wasn't thinking about the
size of buffers for compression, but instead where this compressed image
would be stored (leading into the 1/6th extra below).

Regards,

Nigel