From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12760 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: What's wrong with musl's malloc Date: Mon, 23 Apr 2018 01:50:47 -0500 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <685ad2c9-61dc-729e-41fc-a0588faddf2a@adelielinux.org> References: <20180420200904.GS3094@brightrain.aerifal.cx> <20180422193450.GA11638@voyager> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UvbVboQuPVFD8Fky51vs6FGa8LDlJxGmn" X-Trace: blaine.gmane.org 1524466149 6302 195.159.176.226 (23 Apr 2018 06:49:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2018 06:49:09 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 To: musl@lists.openwall.com Original-X-From: musl-return-12776-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 23 08:49:05 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fAVHb-0001WW-Vu for gllmg-musl@m.gmane.org; Mon, 23 Apr 2018 08:49:04 +0200 Original-Received: (qmail 28371 invoked by uid 550); 23 Apr 2018 06:51:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28351 invoked from network); 23 Apr 2018 06:51:10 -0000 Openpgp: preference=signencrypt Autocrypt: addr=awilfox@adelielinux.org; prefer-encrypt=mutual; keydata= xsFNBE+DjPIBEADTQ1H/e/avDUhgt8+T3TJpjGYoY9Y47EMfHqWMm9LjR9aiZSG6GWRbpjWS 4V0DqzIhNQw7HLkPws9CVqQkmpIeltQyGDV2qcR5AXxJ4lCRWHxwRzWE0cCzhLUR9BBWOO0U NINQY+2IqmzRAqXZ9zL+mGTles/qeheXmaWLKf/T0kqJFihoM+ItQvUWOkWUdVv0prhzXr9Q QUdt0NTIW8n4sPwtuSvQgqwSzCJQArh1myugVSGiIIN38pCU8g41Vh35mHHhbHjbn0o1mhrX B/gbsndGo7QQBKz4CPaSel+Fl92dCvVWTp1XYyjqeZx2xlx1zfDrXOTuzY1WmNHi7BgHYuem tG7Zyp7u9MR6FvLKgQhmvCQZXaa+9oNtwKckxoP/I5R8ede9YRb6pLyG5JC0pTTk7kpUZCX2 tm8pLKy899zomm8BBm71aEJHE44ABEl/PbM7tA7XhSPiWsdBmVCxH4bqpUgGMx0ztqhNsUul SDDhiAWgtYFHATynhmeKBDKthkO7lj4CzwI54dn1uiwDtvUFVyVsPMjJcCxFnONbOPcvm1R9 sDg5sn57dv0f+EtaU3ppZdotutjM9X7OEC93d1flO3k1LO20qn2ZcI24f3tEOLAjn5xZ1GdV 3BYBwrtuaaiO8tMdp0uAtILzkkrcr0vOi2/SngxtXFw+44X+WQARAQABzTNBLiBXaWxjb3gg KEFkw6lsaWUgTGludXgpIDxhd2lsZm94QGFkZWxpZWxpbnV4Lm9yZz7CwXoEEwEIACQCGwMF CwkIBwIGFQgJ In-Reply-To: <20180422193450.GA11638@voyager> Xref: news.gmane.org gmane.linux.lib.musl.general:12760 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UvbVboQuPVFD8Fky51vs6FGa8LDlJxGmn Content-Type: multipart/mixed; boundary="GEXeNSoCja0ciiJka0AUKX212u9zKkPxY"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <685ad2c9-61dc-729e-41fc-a0588faddf2a@adelielinux.org> Subject: Re: [musl] What's wrong with musl's malloc References: <20180420200904.GS3094@brightrain.aerifal.cx> <20180422193450.GA11638@voyager> In-Reply-To: <20180422193450.GA11638@voyager> --GEXeNSoCja0ciiJka0AUKX212u9zKkPxY Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/22/18 14:34, Markus Wichmann wrote: > Each of these is constant time. I am not sure optimizing fragmentation > is worth reducing the performance for. Especially in today's desktop > and server systems, where anything below 16GB of RAM will just get > laughed off the stage (slight exaggeration). this is so far off the mark I am actually writing a reply on a Sunday. FreeBSD is currently discussing optimising NFS to run better on 256 MB RAM i386 machines, and is considering the case where a non-zero number of people are running it in 64 MB virtual machines. Adelie is running KDE Plasma 5 on a Pentium III with 256 MB RAM, with enough left over for a few tabs in Otter browser. In fact, our base specifications for a server install are a 40 MB 486 or better (you can squeeze text mode much lower, but apk won't run right below 40; our baseline is 32 MB, however, on the PowerPC). "Today's" systems fall in to two buckets: computers with insane specs bought by people in the upper classes, and used computers with lower specs bought by people in the lower classes. after spending a significant chunk of my life (~15 years) in both, I can't see defences like "anything below 16GB of RAM will get laughed off the stage" as anything *but* internalised classism. as engineers, our jobs are to make software for all people, not for the chosen few that can afford 16GB of RAM. hell, my new Talos cost me so much that even though I'd technically be considered upper-class now, I still couldn't afford more than 8 GB RAM for it in the beginning (I'm planning to upgrade in the next months as my finances allow). I'm sorry if this comes off as ranty or preachy. I'm just trying to enlighten everyone that 1) not everyone has or *can afford* 16 GB RAM; 2) that's a poor excuse for not tuning software to be the best it can be.= After all, wasted memory is wasted memory, whether you have a lot or a little. (Wouldn't you rather fit more photos / videos / text in there instead of wasting it on malloc overhead? Best to you and yours, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux http://adelielinux.org --GEXeNSoCja0ciiJka0AUKX212u9zKkPxY-- --UvbVboQuPVFD8Fky51vs6FGa8LDlJxGmn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlrdgkwACgkQyynLUZIr nRSvKg/9Ht1FFvAEpJ08bpEslF0wSsf2P7I2bnRQ4bFxBzuTf60FMaodMjF/Ztxa KlX5k2rqHykkGXlXMk4e4tBT6KSrolXVGVWHerHLfezevezDRPNIR1byCfrdtIAx syogEmFO8YNxAuHo/EkTmUP9fHcSEQ0u2LiTDqnI8Z+e5vMl8+nEzLX9WjW//BZP Sz8h+Z1wxmoRaUG8ozUE2ONqOxLM1fY5L9oXQLYNQFZtwBKtwmDBd9YPZ1Vb2p+s qmYPpw7CZaM9NPSnLKw3+qZ1yGLIVOO81DQydfoagcxdgJXSefLSWhGFYcRt4+sC s/oODHMCPB2MaRT/AdUPSrUogYfOnQD1w1C+lt7EfbcpfKcT6/0fidEBjn+Hfjl6 a+c7gyQz4KTAB+KlozvDqXSqo+KBIvk7/NBP1ek3RKvc7RIMtm4i9de+C/v5qmVQ PE3uioOzTFysHMFmIX9Uug6bBOuRpdMzC84oh0Hb0yBxWmq0uMMqTsi9A5HHj+3P mcJQQoa7wBMdCRhWkFo0XXZbeO99otdcLcOd8BmjETjenVF0lyJHwfkeckes+QdR 5TQh4E67HiR0ypOhJI0Kw6aZbS9GCb7b8gmgo4XEmYDv1A62mqXHClJ1c3jUuGc0 Q2Qb3JLVOfhih3j8OFt+6NX35M9/HcEAPkY4FQPbSyKOWsLKGvk= =g/tU -----END PGP SIGNATURE----- --UvbVboQuPVFD8Fky51vs6FGa8LDlJxGmn--