From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752775Ab3HUSOw (ORCPT ); Wed, 21 Aug 2013 14:14:52 -0400 Received: from mout.gmx.net ([212.227.17.22]:63774 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969Ab3HUSOv (ORCPT ); Wed, 21 Aug 2013 14:14:51 -0400 Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Date: Wed, 21 Aug 2013 20:14:46 +0200 From: "Tibor Billes" Message-ID: <20130821181446.168690@gmx.com> MIME-Version: 1.0 Subject: Re: Unusually high system CPU usage with recent kernels To: paulmck@linux.vnet.ibm.com X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: wWZncoEgeSEqJL5QQHch7OB+IGRvb8At Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Paul E. McKenney Sent: 08/20/13 11:43 PM > On Tue, Aug 20, 2013 at 10:52:26PM +0200, Tibor Billes wrote: > > > From: Paul E. McKenney Sent: 08/20/13 04:53 PM > > > On Tue, Aug 20, 2013 at 08:01:28AM +0200, Tibor Billes wrote: > > > > Hi, > > > > > > > > I was using the 3.9.7 stable release and tried to upgrade to the 3.10.x series. > > > > The 3.10.x series was showing unusually high (>75%) system CPU usage in some > > > > situations, making things really slow. The latest stable I tried is 3.10.7. > > > > I also tried 3.11-rc5, they both show this behaviour. This behaviour doesn't > > > > show up when the system is idling, only when doing some CPU intensive work, > > > > like compiling with multiple threads. Compiling with only one thread seems not > > > > to trigger this behaviour. > > > > > > > > To be more precise I did a `perf record -a` while compiling a large C++ program > > > > with scons using 4 threads, the result is appended at the end of this email. > > > > > > New one on me! You are running a mainstream system (x86_64), so I am > > > surprised no one else noticed. > > > > > > Could you please send along your .config file? > > > > Here it is > > Interesting. I don't see RCU stuff all that high on the list, but > the items I do see lead me to suspect RCU_FAST_NO_HZ, which has some > relevance to the otherwise inexplicable group of commits you located > with your bisection. Could you please rerun with CONFIG_RCU_FAST_NO_HZ=n? > > If that helps, there are some things I could try. It did help. I didn't notice anything unusual when running with CONFIG_RCU_FAST_NO_HZ=n. Tibor