emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any idea about what makes Emacs slow reading on pipes?


From: Kai Großjohann
Subject: Re: Any idea about what makes Emacs slow reading on pipes?
Date: Sun, 18 May 2003 17:50:51 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

address@hidden (David Kastrup) writes:

> Interestingly enough, I can't reliably reproduce this effect either.
> Hilarious.  Maybe it has something to do with what xterms I started as
> background processes (different nicety?).  Oh, if I have a block
> cursor blinking in yet another window, this seems to help.  Crazy.

I tried "emacs -q -no-site-file" for the blinking cursor.  No dice.
Here's what I did:

I start the dd thing, then click on the Emacs to give it focus.  The
output from dd shortly (for a second or so) slows down, then resumes
again at the previous speed (before Emacs was started).  I then start
the while look which doesn't change the speed, either.  I again click
on the Emacs window to resume the blinking cursor, which causes a
short pause in the dd output, as before.

>> I'm running Linux 2.4.20 on a 2GHz Celeron.  I think that means I
>> don't have Hyperthreading and therefore just one CPU.
>
> Perhaps your CPU is to fast.

Could be.

>> I've now looked again on another machine (2GHz Mobile Pentium 4, same
>> kernel), and I can see the leading digits couting, and they count at
>> the same speed regardless of the while loop.
>
> Well, having just half the computing power available at least should
> not leave you with the same speed, should it?

So maybe neither the dd nor the infloop require 100% CPU.  Maybe the
terminal (KDE program "konsole") is too slow in printing all this
stuff?
-- 
This line is not blank.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]