1337 files.
> 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.
Yes. gnome-terminal is godawful slow on RHAT 8.0 (it does Xrender
alpha-channel crap for every character to get the anti-aliasing). But I
think the problem has to do with the pipe/pty wakeups. After 'ls' writes
a line to the pty, it seems as though the gnome-terminal is being woken up
(even though 'ls' has more to write), it's generating the Xrender
X-command and sending it to X. X is waking up and rendering it (which
forces a complete update of the screen).
Under 2.4.18-whatever, it would seem as though 'ls' is generating a large
number of lines of output before the gnome-terminal is waking up, causing
a dramatically fewer number of redraws.
> It would be interesting to edit include/asm-i386/param.h and set HZ to 100.
>
I'll try to check this out over the weekend.
David
-- /==============================\ | David Mansfield | | lkml@dm.cobite.com | \==============================/- 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/