From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753851Ab2LETXo (ORCPT ); Wed, 5 Dec 2012 14:23:44 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:35432 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752932Ab2LETXn (ORCPT ); Wed, 5 Dec 2012 14:23:43 -0500 MIME-Version: 1.0 In-Reply-To: References: <20121114100154.GI8218@suse.de> <20121114132940.GA13196@offline.be> <20121115011449.GA20858@offline.be> <20121117001826.GC9816@offline.be> From: Andy Lutomirski Date: Wed, 5 Dec 2012 11:23:20 -0800 Message-ID: Subject: Re: [3.6 regression?] THP + migration/compaction livelock (I think) To: David Rientjes Cc: Marc Duponcheel , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 18, 2012 at 2:55 PM, David Rientjes wrote: > On Sat, 17 Nov 2012, Marc Duponcheel wrote: > >> # echo always >/sys/kernel/mm/transparent_hugepage/enabled >> # while [ 1 ] >> do >> sleep 10 >> date >> echo = vmstat >> egrep "(thp|compact)" /proc/vmstat >> echo = khugepaged stack >> cat /proc/501/stack >> done > /tmp/49361.xxxx >> # emerge icedtea >> (where 501 = pidof khugepaged) >> >> for xxxx = base = 3.6.6 >> and xxxx = test = 3.6.6 + diff you provided >> >> I attach >> /tmp/49361.base.gz >> and >> /tmp/49361.test.gz >> >> Note: >> >> with xxx=base, I could see >> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >> 8617 root 20 0 3620m 41m 10m S 988.3 0.5 6:19.06 javac >> 1 root 20 0 4208 588 556 S 0.0 0.0 0:03.25 init >> already during configure and I needed to kill -9 javac >> >> with xxx=test, I could see >> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >> 9275 root 20 0 2067m 474m 10m S 304.2 5.9 0:32.81 javac >> 710 root 0 -20 0 0 0 S 0.3 0.0 0:01.07 kworker/0:1H >> later when processing >700 java files >> >> Also note that with xxx=test compact_blocks_moved stays 0 >> > > Sounds good! Andy, have you had the opportunity to try to reproduce your > issue with the backports that Mel listed? I think he'll be considering > asking for some of these to be backported for a future stable release so > any input you can provide would certainly be helpful. I've had an impressive amount of trouble even reproducing it on 3.6. Apparently I haven't hid the magic combination yet. I'll give it another try soon. -- Andy Lutomirski AMA Capital Management, LLC