Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932441AbVKWUhX (ORCPT ); Wed, 23 Nov 2005 15:37:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932383AbVKWUfp (ORCPT ); Wed, 23 Nov 2005 15:35:45 -0500 Received: from smtp.osdl.org ([65.172.181.4]:43398 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932437AbVKWUfP (ORCPT ); Wed, 23 Nov 2005 15:35:15 -0500 Date: Wed, 23 Nov 2005 12:35:31 -0800 From: Andrew Morton To: Jan Kasprzak Cc: nickpiggin@yahoo.com.au, linux-kernel@vger.kernel.org Subject: Re: 2.6.14 kswapd eating too much CPU Message-Id: <20051123123531.470fc804.akpm@osdl.org> In-Reply-To: <20051123202438.GE28142@fi.muni.cz> References: <20051122125959.GR16080@fi.muni.cz> <20051122163550.160e4395.akpm@osdl.org> <20051123010122.GA7573@fi.muni.cz> <4383D1CC.4050407@yahoo.com.au> <20051123051358.GB7573@fi.muni.cz> <20051123131417.GH24091@fi.muni.cz> <20051123110241.528a0b37.akpm@osdl.org> <20051123202438.GE28142@fi.muni.cz> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 36 Jan Kasprzak wrote: > > Andrew Morton wrote: > : Jan Kasprzak wrote: > : > > : > I am at 2.6.15-rc2 now, the problem is still there. > : > Currently according to top(1), kswapd1 eats >98% CPU for 50 minutes now > : > and counting. > : > : When it's doing this, could you do sysrq-p a few times? The output of that > : should tell us where the CPU is executing. > > Hmm, it does not show anything but the header. Should I enable > something special in the kernel? Try `dmesg -n 7' first. > # dmesg -c >/dev/null; echo -n p >/proc/sysrq-trigger ; sleep 5; dmesg > SysRq : Show Regs > # You won't get anything useful from sysrq-p via /proc/sysrq-trigger - it'll just show the backtrace of the process `echo'. It has to be via the keyboard. If there's no keyboard, do `echo t > /proc/sysrq-trigger' to get an all-task backtrace, then locate the trace for kswapd in the resulting output. Thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/