[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: Tor guard relay memory: what actually reduces RSS on Ubuntu 24.04
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Re: Tor guard relay memory: what actually reduces RSS on Ubuntu 24.04
- From: forest-relay-contact--- via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 09 Jan 2026 00:39:30 -0000
- In-reply-to: <xvyuyCYJgxsRdFA8hgTYe9tXOD8EQ5cm3pUuHueP4WVFXRjqTiZ1HZG-XWy_da-zzijCXMqa9SLxChVo8yNDvkDumJDSKFJFcQK7oJUASaU=@1aeo.com>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <xvyuyCYJgxsRdFA8hgTYe9tXOD8EQ5cm3pUuHueP4WVFXRjqTiZ1HZG-XWy_da-zzijCXMqa9SLxChVo8yNDvkDumJDSKFJFcQK7oJUASaU=@1aeo.com>
- Reply-to: forest-relay-contact@xxxxxxxxxxxxx
- User-agent: HyperKitty on https://lists.torproject.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello.
I'm surprised that the memory savings are so great.
Note that Debian Trixie does not have mimalloc2, only mimalloc3. Did you
find out what caused mimalloc3 to lose so many of the savings that you
got with mimalloc2? Perhaps there are some runtime configuration tweaks
that could be used to adjust its behavior, if the "regression" is purely
a matter of different defaults being used.
For jemalloc, have you considered giving mozjemalloc a try? It has a
number of security improvements that jemalloc lacks.
I'm also curious if there are any glibc tunables that can be used to
improve its memory. See "/lib64/ld-linux-x86-64.so.2 --list-tunables"
for a list of supported tunables. Perhaps setting the correct choice of
MALLOC_ARENA_MAX or MALLOC_MMAP_THRESHOLD would help?
With that said, I'm not a fan of the use of LLMs in that write-up. It
makes me constantly question the accuracy of the claims that are made
(although I can and will test them myself). I'd much rather a detailed
write-up in English with non-native fluency than fluent AI slop.
Regards,
forest
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQtr8ZXhq/o01Qf/pow+TRLM+X4xgUCaWBOlgAKCRAw+TRLM+X4
xmq0AQCFG+8aspitBFzKpvgSTTZzaGV4OYehfFAAXU3tqkFtvgD/SFn49LYdyIbq
JF1nFLLEmBmEBmALPArRsHLB035o7gI=
=giFe
-----END PGP SIGNATURE-----
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx