Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264507AbUAOAM1 (ORCPT ); Wed, 14 Jan 2004 19:12:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264538AbUAOAM1 (ORCPT ); Wed, 14 Jan 2004 19:12:27 -0500 Received: from amsfep19-int.chello.nl ([213.46.243.20]:59168 "EHLO amsfep19-int.chello.nl") by vger.kernel.org with ESMTP id S264507AbUAOAM0 (ORCPT ); Wed, 14 Jan 2004 19:12:26 -0500 Date: Thu, 15 Jan 2004 01:12:24 +0100 From: Haakon Riiser To: linux-kernel@vger.kernel.org Subject: Re: Busy-wait delay in qmail 1.03 after upgrading to Linux 2.6 Message-ID: <20040115001224.GA1018@s.chello.no> Mail-Followup-To: linux-kernel@vger.kernel.org References: <20040113210923.GA955@s.chello.no> <20040113135152.3ed26b85.akpm@osdl.org> <20040113232624.GA302@s.chello.no> <20040113234611.GA558@s.chello.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 23 [Giuliano Pochini] > On Wed, 14 Jan 2004, Haakon Riiser wrote: >> For example, another problem I encountered while >> upgrading to 2.6 was that disk intensive jobs, such as updating >> the slocate database, made ascpu report 100% CPU usage. I just >> ran top (procps 2.0.16) beside it, and it reported approximately >> 10% CPU usage, which is no more than 2.4 used. > > It makes sense, since HZ is 10 times higher in 2.6. Did you > recompile ascpu ? Check if ascpu assumes HZ is 100. In that > case it may overstimate the cpu time by a factor 10. Just recompiled it, and it made no difference -- it still reports 100% CPU usage while doing disk I/O. -- Haakon - 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/