diff options
| author | DJ Delorie <dj@delorie.com> | 2016-07-15 21:39:30 -0400 |
|---|---|---|
| committer | DJ Delorie <dj@delorie.com> | 2016-07-15 21:39:46 -0400 |
| commit | e4650ee4a81d530a3062621c65fcfc76c575ecbe (patch) | |
| tree | 546801ffddc843068e43b3952cfece30e8ee9025 /malloc/README.copr.html | |
| parent | fcf17bd0d948d19c84ab72ba0a57688f4533327d (diff) | |
| download | glibc-e4650ee4a81d530a3062621c65fcfc76c575ecbe.tar.xz glibc-e4650ee4a81d530a3062621c65fcfc76c575ecbe.zip | |
Add tunables for tcache count and max size
Diffstat (limited to 'malloc/README.copr.html')
| -rw-r--r-- | malloc/README.copr.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/malloc/README.copr.html b/malloc/README.copr.html index 543758cf64..7b53930c73 100644 --- a/malloc/README.copr.html +++ b/malloc/README.copr.html @@ -155,6 +155,25 @@ see <a href="http://developers.redhat.com/blog/2016/03/11/practical-micro-benchm Micro-Benchmarking with ltrace and sched</a> to get more stable numbers. +<h2>Tunables</h2> + +<pre> +MALLOC_TCACHE_COUNT=<i>count</i> +MALLOC_TCACHE_MAX=<i>bytes</i> +</pre> + +<p><tt>count</tt> can be anything from 0 to whatever.</p> + +<p><tt>bytes</tt> can be anything from 0 to 63*2*sizeof(void *)-1 (503 +for 32-bit, 1007 for 64-bit).</p> + +<p><tt>mallopt</tt> parameters are (private):</p> + +<pre> +#define M_TCACHE_COUNT -9 +#define M_TCACHE_MAX -10 +</pre> + <h2>Uninstalling</h2> To uninstall the custom build and revert to an official release, you |
