unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 28.1 built with x32 ABI outperforms x86-64
@ 2022-04-08 16:50 Sven Hartrumpf
  2022-04-08 17:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Hartrumpf @ 2022-04-08 16:50 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Emacs users.

With the new release of Emacs, I tried to build it with the x32 ABI.
I succeeded for the first time (gave up with earlier OS versions) and
it even worked without any problems (Ubuntu 21.10, gcc 11.2).

A small benchmark ("make check" followed by reproducing all .elc files)
outperforms the equivalent x86-64 version by 8 %.
Memory usage is almost half of x86-64, when opening files of several 100 MB.

Limitations:
- x32 has a hard memory limit of 4 GB.
- To avoid building too many dependencies for x32, I used the following
  configure line: ./configure --with-sound=no --without-dbus --without-x
- I had to build 12 x32 versions:
  gnutls autoconf ncurses nettle libidn2 libtasn1 p11-kit libgmp libtool libffi guile-2.2 gc
  (Ask me if you need more details.)

Greetings
Sven



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-10  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 16:50 Emacs 28.1 built with x32 ABI outperforms x86-64 Sven Hartrumpf
2022-04-08 17:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-04-10  6:02   ` Sven Hartrumpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).