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#66020: (bug#64735 spin-off): regarding the default for read-process-output-max Date: Sun, 9 Jun 2024 03:12:16 +0300 Message-ID: <15f746d0-e635-47a0-a613-2ea31523966a@gutov.dev> References: <5c493f86-0af5-256f-41a7-7d886ab4c5e4@gutov.dev> <83ledanvzw.fsf@gnu.org> <83r0n2m7qz.fsf@gnu.org> <26afa109-9ba3-78a3-0e68-7585ae8e3a19@gutov.dev> <83il8dna30.fsf@gnu.org> <83bke5mhvs.fsf@gnu.org> <83a5tmk79p.fsf@gnu.org> <937d9927-506f-aa36-94e9-3cceb8f629dd@gutov.dev> <83zg1hay6q.fsf@gnu.org> <451d6012-e5ab-df6c-50e3-dac20b91781c@gutov.dev> <83led09dlk.fsf@gnu.org> <1d43341a-2e7c-9f1d-68e9-9bac6f4b5fba@gutov.dev> <838r8w3zr2.fsf@gnu.org> <868qzwwoif.fsf@gnu.org> <86o78bd473.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="39065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, 66020-done@debbugs.gnu.org To: Eli Zaretskii , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 09 03:41:09 2024 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 1sG7YS-0009us-1N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jun 2024 03:41:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sG7Y7-0004oO-S0; Sat, 08 Jun 2024 21:40:48 -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 1sG7Y6-0004nr-JI for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 21:40:46 -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 1sG7Y6-0002Vj-AL for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 21:40:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sG7YM-00066r-18 for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 21:41:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2024 01:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 66020 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 66020@debbugs.gnu.org, dmitry@gutov.dev, dmitry@gutov.dev Original-Received: via spool by 66020-done@debbugs.gnu.org id=D66020.171789722123372 (code D ref 66020); Sun, 09 Jun 2024 01:41:01 +0000 Original-Received: (at 66020-done) by debbugs.gnu.org; 9 Jun 2024 01:40:21 +0000 Original-Received: from localhost ([127.0.0.1]:54304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG7Xg-00064o-Cs for submit@debbugs.gnu.org; Sat, 08 Jun 2024 21:40:21 -0400 Original-Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]:36525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG6JT-0002Uc-D6 for 66020-done@debbugs.gnu.org; Sat, 08 Jun 2024 20:21:36 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 154881C0007B; Sat, 8 Jun 2024 20:12:21 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 08 Jun 2024 20:12:21 -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:subject:subject:to:to; s=fm3; t=1717891940; x=1717978340; bh=5YdgAUazwrFeEAcxH+jrQHohYJmVLq6K6wgEh339Zbg=; b= HQghM3JD3y583PI0UJL+rebIUoULqaqvBDkj4xwMVwoqB8uCVgbBsJyFr9Rb3DoU A9je4O6cSl7khCrzz9Ei4wOW6GHAFHon8PB0sBcOXr5cZ1bDngLiFQUTnBhJU0Ks tdMnUfcG75bDcg7z7snTLu653JaVVz2bvt2pIYhbN01SBhudSICXJw6zRgp43/bu eKioySt8Pqe5FQsNjZsdlDGrlD3HlkzoWu3oY3GqBZcdFR/Nu1WZB2W4ZOTkT8Lf +oHkwn49KzxQKwwvRCDPj1jQNJDFAFvwgslqwwrygilklDDoFlgAeGFewBk3RqHZ +pnQmxx53+ISP6syiC61aA== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717891940; x= 1717978340; bh=5YdgAUazwrFeEAcxH+jrQHohYJmVLq6K6wgEh339Zbg=; b=E PllIcTZd+khkqNipZ4n9us8I17yWYq8oJwS9FTPvsdmpLNofv79M6V/aVTo2tEE4 dSpBgQ3oqNCUWIS7A26ZdLtBhtilMhe32ex2Ke7/rFrsS7keXz57X/qFFBNM5PCF dZVJtXQKEUJ27MxF6BXnply032aAQlrTQO+CQPKkON4oBNU37rF+e9A9NJlBAR2V tTwxlcD0/m0X0mvnHxekOxZ7agWeA79vxVFRgrrVm9WEDmC4jpejUOytcocUNOPl qFjT9uuKVKNMlEQXYAt7KdcU0VNOj5BFSreQdmm2zt666PFMeELTcs4PZlEoUDwj 1CoW1TiCuVyh0pyI4COkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedthedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepffeifedvleeukedtgfelieegudfgveekfeejveejffetffeuueeugefhveei uddvnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Jun 2024 20:12:18 -0400 (EDT) Content-Language: en-US In-Reply-To: <86o78bd473.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:286904 Archived-At: On 08/06/2024 15:11, Eli Zaretskii wrote: >> From: Stefan Kangas >> Date: Sun, 26 May 2024 16:27:19 -0700 >> Cc:66020@debbugs.gnu.org,monnier@iro.umontreal.ca >> >> Eli Zaretskii writes: >> >>> I'll try to recollect the discussion and review the patches one of >>> these days. >>> >>> Paul, your input (as well as that of everybody else on the CC list) >>> will be most welcome. >> FWIW, I'd be in favor of raising `read-process-output-max' to something >> like 40960 (as Eli suggested in this thread), or perhaps some power of 2 >> close to that like 32768 or 65536. >> >> This is based on it being seemingly faster in the benchmarks in this >> thread, and me having used that locally for 2-3 years and noting no >> adverse effects. >> >> See also the discussion here: >> https://lists.gnu.org/r/emacs-devel/2021-03/msg01461.html >> >> (I didn't review patch 1 and 2, so no opinion on those.) > I guess we can install all 3 patches and see if anything breaks. Thank you, now pushed to master. For read-process-output-max, I chose the higher of the powers of two, but please feel free to amend.