Date: Thu, 9 Feb 2023 16:37:19 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: freebsd-hackers@freebsd.org Subject: Re: CFT: snmalloc as libc malloc Message-ID: <20230209163719.55f13fa4@fabiankeil.de> In-Reply-To: <2f3dcda0-5135-290a-2dff-683b2e9fe271@FreeBSD.org> References: <2f3dcda0-5135-290a-2dff-683b2e9fe271@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/8yqhgNut0ITKRUsLYKE=bxZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable David Chisnall <theraven@FreeBSD.org> wrote on 2023-02-09 at 12:08:49: > For the few yearsI've been running locally with snmalloc as the malloc=20 > in libc. Eventually I'd like to propose this for upstreaming but it=20 > needs some wider testing first. Very interesting. > The branch is here: >=20 > https://github.com/davidchisnall/freebsd-src/tree/snmalloc2 >=20 > It adds snmalloc as a submodule in contrib. FreeBSD is allergic to=20 > submodules, so upstreaming will need to replace this with something more= =20 > complicated. You should be able to cherry-pick the top commit on any=20 > vaguely-recent -CURRENT. >=20 > You should also be able to build the libc from this branch against the=20 > version that you're running and try it with LD_LIBRARY_PATH. >=20 > I'd love to hear feedback on: >=20 > - Performance, especially workloads where snmalloc does badly. > - RSS usage (again, especially workloads where snmalloc does badly). > - Anything that breaks. Do you know how much work it would be to test with 13/stable instead of current? For a while now I have been collecting Privoxy TLS benchmarks [0] using ElectroBSD (which is currently based on FreeBSD stable/13) and various TLS libraries and would like to know if snmalloc affects the benchmark results. Fabian [0] <https://www.fabiankeil.de/gehacktes/privoxy-tls-benchmarks/> --Sig_/8yqhgNut0ITKRUsLYKE=bxZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCY+UTLwAKCRAFiohV/3dU nd3WAKCLp68WpwxEea7qW3n3f4WGGuCnNQCgvsMHIKLNGpZ1v41Bs8BWCpjYiEg= =WZWS -----END PGP SIGNATURE----- --Sig_/8yqhgNut0ITKRUsLYKE=bxZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230209163719.55f13fa4>