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, 30 Jun 2018 11:46:21 +0300 Message-ID: <83sh54mzky.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> <83vaa9tw0l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1530348294 8200 195.159.176.226 (30 Jun 2018 08:44:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2018 08:44:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: alexharsanyi@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 30 10:44:50 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 1fZBUv-000238-Mm for ged-emacs-devel@m.gmane.org; Sat, 30 Jun 2018 10:44:49 +0200 Original-Received: from localhost ([::1]:46130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZBX2-0000St-TN for ged-emacs-devel@m.gmane.org; Sat, 30 Jun 2018 04:47:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZBWJ-0000SY-3s for emacs-devel@gnu.org; Sat, 30 Jun 2018 04:46:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZBWG-0004Mi-0f for emacs-devel@gnu.org; Sat, 30 Jun 2018 04:46:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZBWF-0004MP-TX; Sat, 30 Jun 2018 04:46:11 -0400 Original-Received: from [176.228.60.248] (port=1705 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fZBWF-0002c1-9T; Sat, 30 Jun 2018 04:46:11 -0400 In-reply-to: <83vaa9tw0l.fsf@gnu.org> (message from Eli Zaretskii on Sat, 23 Jun 2018 17:31:06 +0300) 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:226836 Archived-At: > Date: Sat, 23 Jun 2018 17:31:06 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > 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. Done on master.