Subject: bug#61490: closed (Re: bug#61489: [PATCH v2] Increase BLOCK_ALIGN from 1024 to 32768)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 04 Mar 2023 11:28:02 +0000

Your bug report

#61489: [PATCH 0/1] Increase BLOCK_ALIGN from 2¹⁰to 2¹⁵

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61489: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61489
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61489: [PATCH v2] Increase BLOCK_ALIGN from 1024 to 32768
From: Eli Zaretskii <[email-masked]>
To: Konstantin Kharlamov <[email-masked]>
Cc: [email-masked]
Date: Sat, 04 Mar 2023 13:26:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Konstantin Kharlamov <[email-masked]>
> 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.

Subject: [PATCH 0/1] Increase BLOCK_ALIGN from 2¹⁰to 2¹⁵
From: Konstantin Kharlamov <[email-masked]>
To: [email-masked]
Date: Mon, 13 Feb 2023 23:00:05 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

This nice optimization was discussed on emacs-devel here
https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg02174.html

The thread is 3 months old at this point and nobody still picked that
change up. I mentioned in the thread that I'm going to send the patch a
day ago (it won't show up in the web-interface though, because
apparently it's unable to show a thread from more than a single month),
and now in absence of any opposition here's the patch.

Konstantin Kharlamov (1):
  Increase BLOCK_ALIGN from 2¹⁰to 2¹⁵

 src/alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.39.0