From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Any idea about what makes Emacs slow reading on pipes? Date: Fri, 16 May 2003 19:48:52 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053108115 14892 80.91.224.249 (16 May 2003 18:01:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 18:01:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 16 20:01:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GjUS-0003k6-00 for ; Fri, 16 May 2003 19:59:32 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Gjcu-0007IM-00 for ; Fri, 16 May 2003 20:08:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GjUc-0004hO-02 for emacs-devel@quimby.gnus.org; Fri, 16 May 2003 13:59:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19GjTY-0003Il-00 for emacs-devel@gnu.org; Fri, 16 May 2003 13:58:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19GjSc-0002ke-00 for emacs-devel@gnu.org; Fri, 16 May 2003 13:57:40 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GjKt-000763-00; Fri, 16 May 2003 13:49:40 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44])h4GIdhS3013887; Fri, 16 May 2003 20:39:44 +0200 Original-To: dak@gnu.org In-Reply-To: X-Mailer: Apple Mail (2.552) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13935 > > 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)? Jan D.