summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-02 19:19:04 -0200
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-02 19:19:04 -0200
commit73ccf4d1b9e0730bbe6e879b3e2d267e07996c16 (patch)
treef323c89d4e9c37ec51c7370c868ddf19bcf38461
parent3d45096108e477f1c163f9186be882a1cc96866c (diff)
downloadgperftools-73ccf4d1b9e0730bbe6e879b3e2d267e07996c16.tar.gz
Update README with PowerPC specifics notes
-rw-r--r--README20
1 files changed, 20 insertions, 0 deletions
diff --git a/README b/README
index 667bea1..e78c762 100644
--- a/README
+++ b/README
@@ -1,3 +1,23 @@
+POWERPC NOTES
+-------------
+
+This branch contains PowerPC specific performance tunings and
+platform fixes. Although some tests heap and cpu profiler tests fail,
+libtcmalloc works correctly.
+
+On newer distros with 64k page size, it is highly recommended
+to configure with '-DTCMALLOC_LARGE_PAGES64K' CXX flag. It turns the
+internal page allocation to use 64K page size and avoid more syscalls
+to allocate memory from OS.
+
+The default value of objects transfered between central list and
+thread cache is increased from 32 to 32768. This is a performance
+improvement, specially on programs that allocate lot of objects of
+the same size (like a std::map<int> with a large set of elements).
+The value can be change by setting the environment variable
+TCMALLOC_TRANSFER_NUM_OBJ.
+
+
IMPORTANT NOTE FOR 64-BIT USERS
-------------------------------
There are known issues with some perftools functionality on x86_64