From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61489: [PATCH v2] Increase BLOCK_ALIGN from 1024 to 32768 Date: Sat, 04 Mar 2023 13:26:58 +0200 Message-ID: <83y1ocaha5.fsf@gnu.org> References: <20230213200006.663502-2-Hi-Angel@yandex.ru> <20230216150755.27359-1-Hi-Angel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14865"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61489-done@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 12:28:22 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 1pYQ3q-0003iA-BO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 12:28:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYQ3Y-00041V-Po; Sat, 04 Mar 2023 06:28:04 -0500 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 1pYQ3W-00040o-I7 for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 06:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYQ3W-0004U1-9s for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 06:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYQ3V-0000Pq-Us for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 06:28:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 11:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 61489@debbugs.gnu.org, eliz@gnu.org, Hi-Angel@yandex.ru Original-Received: via spool by 61489-done@debbugs.gnu.org id=D61489.16779292401542 (code D ref 61489); Sat, 04 Mar 2023 11:28:01 +0000 Original-Received: (at 61489-done) by debbugs.gnu.org; 4 Mar 2023 11:27:20 +0000 Original-Received: from localhost ([127.0.0.1]:35311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYQ2q-0000Oo-Fy for submit@debbugs.gnu.org; Sat, 04 Mar 2023 06:27:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYQ2o-0000Oc-UX for 61489-done@debbugs.gnu.org; Sat, 04 Mar 2023 06:27:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYQ2j-0004LI-Dh; Sat, 04 Mar 2023 06:27:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bL3+PLHaHPVTu+RXNDXU+4vMo5hj94vffDH27D8m2wc=; b=nxKpez04Z1PnIqvBQKGr 1rlCqLYiQN9sctSnkjQUWJMqHEd5bUa9YF4LTheuKL82X7v4trAyaIxP4kDqld6JewnWxIvkPIgiV Wd5QFHHGHwAeA1lySauWv9YKofQH7qvSaON7IFWXMMi/4V65lPjeJvumskxsWTgSplEjPEepx3KdQ qnApaQVu4xciCb/2SRp7zqP+HGVTP1ZhO6b3VlbQPMeCMSksYGsSDN2mxBK3mLwt7uO0bwGJ25Vpa a2wUksZQAtfV5KMN2Khs5nYprJbJ26CIf1DUqt7njhXOA8l5h0rp9OzLP0QHMWW3zt+tiQ62ZTn+1 asY1ZtHW9YpaGA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYQ2g-0003tZ-GE; Sat, 04 Mar 2023 06:27:12 -0500 In-Reply-To: <20230216150755.27359-1-Hi-Angel@yandex.ru> (message from Konstantin Kharlamov on Thu, 16 Feb 2023 18:07:55 +0300) 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:257269 Archived-At: > From: Konstantin Kharlamov > Date: Thu, 16 Feb 2023 18:07:55 +0300 > > Originally discovered by Tyler Dodge in his article "Significant Garbage > Collection Improvement For Emacs". > > While testing this change on Archlinux system with Intel i5-7200U CPU, > average time of garbage collection gets reduced by ≈25%. Other users > report improvements up to 50%. While monitoring PSS of emacs with and > without customizations loaded before and after the patch, no > statistically significant differences were discovered. So overall, this > change is a win. > > * src/alloc.c (BLOCK_ALIGN): increase from 1024 to 32768 Thanks, installed on the master branch, and closing the bug.