From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: w32-pipe-read-delay (was: vc-dir operation is very slow on large git repositories in Emacs 26.1) Date: Sat, 23 Jun 2018 17:31:06 +0300 Message-ID: <83vaa9tw0l.fsf@gnu.org> References: <83k1qtsbgi.fsf@gnu.org> <83zhzoqkgv.fsf@gnu.org> <83efgzqjv5.fsf@gnu.org> <83wouqptm6.fsf@gnu.org> <83k1qqufwq.fsf@gnu.org> <83y3f5tycz.fsf@gnu.org> <4EAA4A00-0986-4783-8256-801AB9E0D1B5@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529764185 23499 195.159.176.226 (23 Jun 2018 14:29:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 14:29:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alex Harsanyi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 23 16:29:40 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWjXn-00060I-Oh for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 16:29:39 +0200 Original-Received: from localhost ([::1]:38744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWjZt-0008Ha-Eq for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 10:31:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWjZ4-0008HU-Np for emacs-devel@gnu.org; Sat, 23 Jun 2018 10:30:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWjZ1-0001Xh-K6 for emacs-devel@gnu.org; Sat, 23 Jun 2018 10:30:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWjZ1-0001Xd-Gv; Sat, 23 Jun 2018 10:30:55 -0400 Original-Received: from [176.228.60.248] (port=3140 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWjZ0-0004T8-Uc; Sat, 23 Jun 2018 10:30:55 -0400 In-reply-to: <4EAA4A00-0986-4783-8256-801AB9E0D1B5@gmail.com> (message from Alex Harsanyi on Sat, 23 Jun 2018 22:00:39 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226629 Archived-At: > From: Alex Harsanyi > Date: Sat, 23 Jun 2018 22:00:39 +0800 > Cc: emacs-devel@gnu.org > > Increasing w32-pipe-buffer-size has no effect on the speed of reading from the pipe. I tried several buffer size values, in combination with several read delay values, but only the read delay has an effect. For example, at 50 milliseconds read delay, it takes ~13 seconds to read 1 Mb of data, regardless if the buffer size is set to 0, 4096, 8192 or 16384. OK, thanks for clearing this out. It sounds like thee default value of w32-pipe-buffer-size is doing fine, and w32-pipe-read-delay should be reset to zero, which will probably happen in a future version of Emacs anyway.