ureadahead patch

Bryan Wu bryan.wu at canonical.com
Fri Jul 9 03:01:26 UTC 2010


On 07/09/2010 10:18 AM, Tim Gardner wrote:
> On 07/08/2010 08:05 PM, Bryan Wu wrote:
>> On 07/09/2010 09:49 AM, Tim Gardner wrote:
>>> On 07/08/2010 07:15 PM, Bryan Wu wrote:
>>>> Tim,
>>>>
>>>> This patch is quite on time for my hibernation bug in a customer's
>>>> project.
>>>>
>>>> The root cause is ureadahead will set the tracing buffer size to
>>>> 128MB, then do
>>>> profiling. But after that ureadahead never restores the old tracing
>>>> buffer size
>>>> back. Due to the big chunk of memory occupied by ureadahead,
>>>> hibernation will
>>>> fail when it preallocate memory to build hibernation image in memory.
>>>>
>>>> We tried to restore back the tracing buffer size to workaround this
>>>> issue.
>>>>
>>>> So I just wanna say, please push this patch to ureadahead repo and
>>>> upload for
>>>> us. I will test this patch on the machine.
>>>>
>>>> Thanks again,
>>>> -Bryan
>>>>
>>>
>>> Bryan,
>>>
>>> I've uploaded a package to http://ppa.launchpad.net/timg-tpi/ppa/ubuntu.
>>> I tested using 'sudo ureadahead --force-trace'. It appears to do the
>>> right thing.
>>>
>>
>> Awesome. I noticed it is built for amd64 arch, shall we get a i386
>> version? The
>> customer's machine is running i386 generice-pae kernel with 4G RAM.
>>
>> Thanks,
> 
> https://edge.launchpad.net/~timg-tpi/+archive/ppa/+files/ureadahead_0.100.0-4.2~lucid1_i386.deb
> ?
> 

Cool, I just downloaded and will try it on our testing machine.

btw, how can I found the i386 link you posted in your launchpad ppa page?

-Bryan




More information about the kernel-team mailing list