From: Sven Hartrumpf <hartrumpf@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Emacs 28.1 built with x32 ABI outperforms x86-64
Date: Fri, 08 Apr 2022 18:50:21 +0200 (CEST) [thread overview]
Message-ID: <20220408.185021.179167342.hartrumpf@gmx.net> (raw)
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
next reply other threads:[~2022-04-08 16:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 16:50 Sven Hartrumpf [this message]
2022-04-08 17:17 ` Emacs 28.1 built with x32 ABI outperforms x86-64 Emanuel Berg via Users list for the GNU Emacs text editor
2022-04-10 6:02 ` Sven Hartrumpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220408.185021.179167342.hartrumpf@gmx.net \
--to=hartrumpf@gmx.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).