From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx170.postini.com [74.125.245.170]) by kanga.kvack.org (Postfix) with SMTP id EB1576B0062 for ; Wed, 5 Dec 2012 14:23:43 -0500 (EST) Received: by mail-lb0-f169.google.com with SMTP id gk1so5491226lbb.14 for ; Wed, 05 Dec 2012 11:23:41 -0800 (PST) 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) Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Marc Duponcheel , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.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 -- 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