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-08-07 15:16:20 -0300
commit8a9bd672af892be57347b678bccb481f026bc132 (patch)
treeff7fd4093a305e8246098d0dc955868fb68882a2
parent2e90b6fd72fec33aedf547d1977bdee6b77645b9 (diff)
downloadgperftools-8a9bd672af892be57347b678bccb481f026bc132.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 bffc617..3d7de6b 100644
--- a/README
+++ b/README
@@ -1,3 +1,23 @@
+POWERPC NOTES
+-------------
+
+This branch contains PowerPC specific performance tunings and
+platform fixes. All test, including heap and cpu profiler, works
+on powerpc32, powerpc64, and powerpc64le.
+
+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