| OLD | NEW |
| 1 <!doctype html public "-//w3c//dtd html 4.01 transitional//en"> | 1 <!doctype html public "-//w3c//dtd html 4.01 transitional//en"> |
| 2 <!-- $Id: $ --> | 2 <!-- $Id: $ --> |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <title>TCMalloc : Thread-Caching Malloc</title> | 5 <title>TCMalloc : Thread-Caching Malloc</title> |
| 6 <link rel="stylesheet" href="designstyle.css"> | 6 <link rel="stylesheet" href="designstyle.css"> |
| 7 <style type="text/css"> | 7 <style type="text/css"> |
| 8 em { | 8 em { |
| 9 color: red; | 9 color: red; |
| 10 font-style: normal; | 10 font-style: normal; |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 increased by a factor of 1.125 every time we print a message so | 496 increased by a factor of 1.125 every time we print a message so |
| 497 that the threshold automatically goes up by a factor of ~1000 | 497 that the threshold automatically goes up by a factor of ~1000 |
| 498 every 60 messages. This bounds the amount of extra logging | 498 every 60 messages. This bounds the amount of extra logging |
| 499 generated by this flag. Default value of this flag is very large | 499 generated by this flag. Default value of this flag is very large |
| 500 and therefore you should see no extra logging unless the flag is | 500 and therefore you should see no extra logging unless the flag is |
| 501 overridden. | 501 overridden. |
| 502 </td> | 502 </td> |
| 503 </tr> | 503 </tr> |
| 504 | 504 |
| 505 <tr valign=top> | 505 <tr valign=top> |
| 506 <td><code>TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=<i>x</i></code></td> | 506 <td><code>TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES</code></td> |
| 507 <td>default: 16777216</td> | 507 <td>default: 16777216</td> |
| 508 <td> | 508 <td> |
| 509 Bound on the total amount of bytes allocated to thread caches. This | 509 Bound on the total amount of bytes allocated to thread caches. This |
| 510 bound is not strict, so it is possible for the cache to go over this | 510 bound is not strict, so it is possible for the cache to go over this |
| 511 bound in certain circumstances. This value defaults to 16MB. For | 511 bound in certain circumstances. This value defaults to 16MB. For |
| 512 applications with many threads, this may not be a large enough cache, | 512 applications with many threads, this may not be a large enough cache, |
| 513 which can affect performance. If you suspect your application is not | 513 which can affect performance. If you suspect your application is not |
| 514 scaling to many threads due to lock contention in TCMalloc, you can | 514 scaling to many threads due to lock contention in TCMalloc, you can |
| 515 try increasing this value. This may improve performance, at a cost | 515 try increasing this value. This may improve performance, at a cost |
| 516 of extra memory use by TCMalloc. See <a href="#Garbage_Collection"> | 516 of extra memory use by TCMalloc. See <a href="#Garbage_Collection"> |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 | 756 |
| 757 <address>Sanjay Ghemawat, Paul Menage<br> | 757 <address>Sanjay Ghemawat, Paul Menage<br> |
| 758 <!-- Created: Tue Dec 19 10:43:14 PST 2000 --> | 758 <!-- Created: Tue Dec 19 10:43:14 PST 2000 --> |
| 759 <!-- hhmts start --> | 759 <!-- hhmts start --> |
| 760 Last modified: Sat Feb 24 13:11:38 PST 2007 (csilvers) | 760 Last modified: Sat Feb 24 13:11:38 PST 2007 (csilvers) |
| 761 <!-- hhmts end --> | 761 <!-- hhmts end --> |
| 762 </address> | 762 </address> |
| 763 | 763 |
| 764 </body> | 764 </body> |
| 765 </html> | 765 </html> |
| OLD | NEW |