Re: "make -j" with memory.(memsw.)limit_in_bytes smaller than required -> livelock, even for unlimited processes

Ying Han
2011-06-21T16:28:10Z

On Tue, Jun 21, 2011 at 9:19 AM, Lutz Vieweg <lvml@5t9.de> wrote:
> On 06/21/2011 06:01 PM, Ying Han wrote:
>>
>> The following patch might not be the root-cause of livelock, but
>> should reduce the [kworker/*] in your case.
>>
>>  From d1372da4d3c6f8051b5b1cf7b5e8b45a8094b388 Mon Sep 17 00:00:00 2001
>>
>> Can you give a try?
>
> I will first need to move this test to a machine (like my Laptop)
> that I can more aggressively reboot without disturbing the
> developers on the shared hardware. Will do that asap.
>
>> I don't know which kernel you are using in case
>> you don't have this patched yet.
>
> 2.6.39.
> 5 out of 6 hunks in your patch apply to this version, 1 is rejected -
> so I guess I should upgrade to a more recent kernel, first.
> Would 2.6.39.1 be sufficient or would some non-release kernel
> (from which git repository?) be required?

Last time I tried was build on mmotm-2011-05-12-15-52 with the patch.
But I assume you can also
patch it on top of 2.6.39.

Meantime, I am trying to reproduce your livelock on my host with kernbench.

--Ying
>
> Regards,
>
> Lutz Vieweg