From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#66288: 29.1; Performance regression using pipe for subprocess Date: Wed, 4 Oct 2023 13:09:01 +0300 Message-ID: <9c643ce7-d452-2146-5795-e848a52f12c4@gutov.dev> References: <83ttra91nu.fsf@gnu.org> <63df0312-f2e0-49cd-8536-f886d841e88e@chris-hanson.org> <83edid8vmx.fsf@gnu.org> <83bkdh8u2k.fsf@gnu.org> <6d2e1bab-89e0-57cf-598c-96f0e4179428@gutov.dev> <786d8b73-dc9f-42ec-b5ed-4cae99ed5567@chris-hanson.org> <83h6n86x8r.fsf@gnu.org> <278d63e7-c624-4759-2c25-283e2ee60c9a@gutov.dev> <831qeb7fna.fsf@gnu.org> <091483da-26d5-f395-9d66-692d706ac3c6@gutov.dev> <83sf6q6fqz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39779"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: gerd.moellmann@gmail.com, 66288@debbugs.gnu.org, gregory@heytings.org To: Eli Zaretskii , Chris Hanson , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 04 12:10:11 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qnypW-000A58-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Oct 2023 12:10:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnypB-0002KE-OF; Wed, 04 Oct 2023 06:09:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnyp9-0002HI-Aq for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 06:09:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnyp6-00030G-QV for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 06:09:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnypO-0003bf-FD for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 06:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Oct 2023 10:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66288 X-GNU-PR-Package: emacs Original-Received: via spool by 66288-submit@debbugs.gnu.org id=B66288.169641418313833 (code B ref 66288); Wed, 04 Oct 2023 10:10:02 +0000 Original-Received: (at 66288) by debbugs.gnu.org; 4 Oct 2023 10:09:43 +0000 Original-Received: from localhost ([127.0.0.1]:41631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnyp4-0003b2-BZ for submit@debbugs.gnu.org; Wed, 04 Oct 2023 06:09:42 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnyor-0003aZ-2o for 66288@debbugs.gnu.org; Wed, 04 Oct 2023 06:09:40 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 25A365C03E4; Wed, 4 Oct 2023 06:09:06 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 04 Oct 2023 06:09:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1696414146; x=1696500546; bh=X3QMHxDtRpq0uZZWGGzVxJB21xQ7uyOhiCA 5bn1UQAw=; b=GJfqNASybgKz2PDEanddZBbwn8PCV7Zagbw2S+OGmztGN361u7Q OUnBokmzQuoSAoK9d9nBAHjLHfrorO1njjUMZibAi9+hxPGsLF100uYKFk1MbQY3 GLqnMM1FQEYITlpjS58KqdbRitxKDeX+U28LIIoBs/+6KcLN+d4tekZkeJ58P4h7 OmBCAjjP2MCwbXuPmvt78M2X0gxrqJ7WE+3c+u72Bev022En//KJhnm63x5L0JLM APRDQm01Sl5zdVBsAw1Xb+wdHs/aJ2GQwi/GKO/vnWgHsQvtDZy4Iqo0dZ7dduCc 0dTCpOnKViLi+Pulchn3JIgVnfOBfqPbMDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1696414146; x=1696500546; bh=X3QMHxDtRpq0uZZWGGzVxJB21xQ7uyOhiCA 5bn1UQAw=; b=O0wZdTNmSgx/Nup+Lcg86z5C0cdm2W31BpJu/2K8DR8Bcz0v+60 W8Ce8ghgELfgxs5rhMLnGHS0GPnsTYZr216x6NIleX80xiYd9NPWNZGH682Fr5P2 9h+UVi3suu2UsjX1eeaYqyiVuI5M3xsPV5CTGazXKNb5kj0PBgTjtYHjDnmW/LlH JX9ffH3Ry4jqruHNNSUPoPSm4sNJJqoF/OCcpEo2AR9ozNNNz8ob+exyOOwbmAZ1 JdbXIiPixl3P1kNZKeNLDhjsMZa1mAwqUvzRkpvCMQpVa95ssTCi/XBwvN3kYZ46 z4R1OY4rBxngDBMibG1UcclLzv3YKZWkANw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrgedvgddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Oct 2023 06:09:04 -0400 (EDT) Content-Language: en-US In-Reply-To: <83sf6q6fqz.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271787 Archived-At: On 04/10/2023 09:52, Eli Zaretskii wrote: > A perhaps better change is the one below, which realizes that the > fcntl call was added to create_process for fixing bug#55737 so as to > allow_enlarging_ the pipe size when very large reads are required; it > was never meant to_reduce_ the default size of the pipe: Right. It does most of what's in my patch, and for the rest, okay, let's wait for the further review.