You can use a faster memory allocator for multi-core CPU if you use Google's tcmalloc (https://github.com/google/tcmalloc).
At first install tcmalloc from your repository:
$ apt install libtcmalloc-minimal4
Now ready for testing with Firefox:
$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 firefox
If you like it, now you're ready to apply system wide:
$ cat /etc/ld.so.preload
/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
This is tested on Debian Bookworm and Linux Mint.
Do at your own risk! On this site I give the quick step without detailed description, benchmark and other things.
Have a nice day!
No comments:
Post a Comment