Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 28 Mar 2003 15:32:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 28 Mar 2003 15:32:36 -0500 Received: from [12.47.58.223] ([12.47.58.223]:29798 "EHLO pao-ex01.pao.digeo.com") by vger.kernel.org with ESMTP id ; Fri, 28 Mar 2003 15:32:35 -0500 Date: Fri, 28 Mar 2003 12:44:51 -0800 From: Andrew Morton To: David Mansfield Cc: linux-kernel@vger.kernel.org Subject: Re: very poor performance in 2.5.66[-mm1] Message-Id: <20030328124451.2d09bd33.akpm@digeo.com> In-Reply-To: References: X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Mar 2003 20:43:45.0577 (UTC) FILETIME=[BA012190:01C2F56A] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1240 Lines: 34 David Mansfield wrote: > > > Hi list. > > After all of the rave reviews about the interactivity fixes (both regular > and I/O scheduler related), I decided to give the 2.5.latest a try on my > desktop machine (system described below) > > I started X, everything seemed fine, maybe a bit faster. I opened a > 'gnome-terminal' and typed 'ls -ltr'. Wow, it was 20x slower. > > Here are the timings for 'ls -ltr': > > 2.5.66-mm1: 'ls -ltr' 31 seconds > 2.5.66-mm1: 'ls -ltr | cat' 2 seconds > 2.4.18-rhlatest: 'ls -ltr' 1.14 seconds How many files were there? My /usr/bin contains 3168 files. An `ls -ltr' in gnome-terminal takes 9.6 seconds. In rxvt it takes 0.5 seconds. That's an 850MHz P3. So gnome-terminal appears to be a pretty slow application. My guess would be that something in the 2.5 kernel has exposed a marginality or an outright bug in it. It would be interesting to edit include/asm-i386/param.h and set HZ to 100. - 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/