Messages in this thread | | | Date | Fri, 28 Mar 2003 12:44:51 -0800 | From | Andrew Morton <> | Subject | Re: very poor performance in 2.5.66[-mm1] |
| |
David Mansfield <lkml@dm.cobite.com> 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/
| |