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: Kevin Rodgers
Subject: Re: Any idea about what makes Emacs slow reading on pipes?
Date: Fri, 16 May 2003 11:18:34 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

David Kastrup wrote:

The following exhibits abysmal speed within Emacs:

(let (process-connection-type) (switch-to-buffer (generate-new-buffer
"*test*"))(erase-buffer)(start-process "test" (current-buffer) "sh"
"-c" "hexdump -v /dev/zero|dd bs=1 count=100k")(erase-buffer))

More to the point, things start out dead slow and get faster later.
It is not the fault of the programs on the sending side: just piping
into cat >/dev/null instead of Emacs is much much faster.  It does
not seem that setting process-connection-type to nil as above (using
a pipe instead of a pty) does help worth noting.

The system I see this in is
GNU Emacs 21.3.50.3 (i686-pc-linux-gnu)
a RedHat 9 system, but I have seen this in practically every Linux
system up to now.  Is this a Linux-specific problem, or do others see
this as well?

/usr/bin/sh: hexdump: not found

Can you suggest an alternative to hexdump for Solaris?

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>






reply via email to

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