From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx189.postini.com [74.125.245.189]) by kanga.kvack.org (Postfix) with SMTP id 1FE506B0032 for ; Tue, 3 Sep 2013 03:49:54 -0400 (EDT) Received: by mail-bk0-f54.google.com with SMTP id mz12so1970175bkb.13 for ; Tue, 03 Sep 2013 00:49:52 -0700 (PDT) Message-ID: <5225949C.9030201@colorfullife.com> Date: Tue, 03 Sep 2013 09:49:48 +0200 From: Manfred Spraul MIME-Version: 1.0 Subject: Re: ipc-msg broken again on 3.11-rc7? References: <521DE5D7.4040305@synopsys.com> <52205597.3090609@synopsys.com> <5224BCF6.2080401@colorfullife.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------020005030001010506050103" Sender: owner-linux-mm@kvack.org List-ID: To: Vineet Gupta Cc: "sedat.dilek@gmail.com" , Linus Torvalds , Davidlohr Bueso , Davidlohr Bueso , linux-next , LKML , Stephen Rothwell , Andrew Morton , linux-mm , Andi Kleen , Rik van Riel , Jonathan Gonzalez This is a multi-part message in MIME format. --------------020005030001010506050103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Vineet, On 09/03/2013 09:34 AM, Vineet Gupta wrote: > However assuming we are going ahead with debugging this - can you > please confirm whether you see the issue on x86 as well as I have not > tested that ? I vaguely remember one of your earlier posts suggested > you did Thx, -Vineet I'm unable to reproduce the issue so far. I ran - something like 4000 stock msgctl08 with 4 cores on x86. - a few runs with modified msgctl08 with either slowed down reader or slowed down writer threads. (i.e.: force queue full or queue empty waits). - a few runs (modified&unmodified) with all but one core taken offline. I have not yet tested with PREEMPT enabled. A few more ideas: - what is the output of ipcs -q? Are the queues empty or full? - what is the output of then WCHAN field with ps when it hangs? Something like / #ps/ -o pid,f,stat,pcpu,pmem,psr,/wchan/=/WIDE/-/WCHAN/ -o comm,args -- Manfred --------------020005030001010506050103 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi Vineet,

On 09/03/2013 09:34 AM, Vineet Gupta wrote:
However assuming we are going ahead with debugging this - can you please confirm whether you see the issue on x86 as well as I have not tested that ? I vaguely remember one of your earlier posts suggested you did Thx, -Vineet
I'm unable to reproduce the issue so far. I ran
- something like 4000 stock msgctl08 with 4 cores on x86.
- a few runs with modified msgctl08 with either slowed down reader or slowed down writer threads. (i.e.: force queue full or queue empty waits).
- a few runs (modified&unmodified) with all but one core taken offline.

I have not yet tested with PREEMPT enabled.

A few more ideas:
- what is the output of ipcs -q? Are the queues empty or full?
- what is the output of then WCHAN field with ps when it hangs?
Something like
 #ps -o pid,f,stat,pcpu,pmem,psr,wchan=WIDE-WCHAN -o comm,args

--
    Manfred
--------------020005030001010506050103-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org