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: Andreas Schwab
Subject: Re: Any idea about what makes Emacs slow reading on pipes?
Date: Fri, 16 May 2003 23:00:51 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

address@hidden (David Kastrup) writes:

|> "Jan D." <address@hidden> writes:
|> 
|> > >
|> > > 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))
|> > 
|> > ...
|> > 
|> > > 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?
|> > 
|> > I could not reproduce this on a slackware (version unknown, but libc 6)
|> > or a Mandrake 9.0 system.  Maybe running under strace can give some
|> > indication of the system call that takes time (if that is the issue)?
|> 
|> Here is a more elaborate test file

Tried on ppc-suse-linux, I get constant throughput of 1024 characters at a
time.  On MacOS X (through MOL) I get varying packet sizes between 97 and
1024.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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