GNU bug report logs - #18626
24.3.94; communication with subprocess is slow

Previous Next

Package: emacs;

Reported by: stephen_leake <at> stephe-leake.org

Date: Sat, 4 Oct 2014 06:48:02 UTC

Severity: normal

Found in version 24.3.94

Full log


Message #59 received at 18626 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: 18626 <at> debbugs.gnu.org
Subject: Re: bug#18626: 24.3.94; communication with subprocess is slow
Date: Fri, 10 Oct 2014 12:13:27 +0300
> From: Stephen Leake <stephen_leake <at> stephe-leake.org>
> Cc: 18626 <at> debbugs.gnu.org
> Date: Fri, 10 Oct 2014 03:07:02 -0500
> 
> > I think I will set that to -1, on the trunk, except on Windows 9X
> > systems.  That should cause the reader thread yield its time slice
> > before returning.  Can you see how this affects your use case?
> 
> That has essentially no effect when running on a multi-core machine; the
> subprocess is scheduled separately.

Well, yes, but the other cores could be busy, e.g., by "make -jN", or
even by other Emacs subprocesses running in parallel.  Also, don't
forget that Emacs itself has at least 3 active threads when even a
single subprocess is running: the main (a.k.a. "Lisp") thread, the
input thread which reads Windows messages, and the reader thread.




This bug report was last modified 10 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.