aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-18 14:24:07 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-18 14:24:07 +0200
commit525650a68eaf7dae43c205fa582f5aa02e13bc06 (patch)
tree4c274aebfd0845eb5d80d4fa5e9a1c4f00f69eb6 /INSTALL
parentd0e795c862b2806b3c60bf8f4cc9365be0ad3fe1 (diff)
downloaddabmod-525650a68eaf7dae43c205fa582f5aa02e13bc06.tar.gz
dabmod-525650a68eaf7dae43c205fa582f5aa02e13bc06.tar.bz2
dabmod-525650a68eaf7dae43c205fa582f5aa02e13bc06.zip
Describe performance optimisation in INSTALL and mention DPD in README
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL20
1 files changed, 20 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 5b67803..a11fd63 100644
--- a/INSTALL
+++ b/INSTALL
@@ -28,6 +28,10 @@ The configure script can be launch with a variety of options:
--disable-output-uhd Disable the binding to the UHD driver for USRPs
--enable-fast-math Compile using the -ffast-math option that gives a substantial
speedup at the cost of correctness.
+ --disable-native Do not compile ODR-DabMod with -march=native compiler option.
+ This is meant for distribution package maintainers who want to
+ use their own march option, and for people running into compilation
+ issues due to -march=native. (e.g. GCC bug 70132 on ARM systems)
Debugging options: You should not enable debug if you need good performance.
By default, debug is disabled.
@@ -38,6 +42,22 @@ For more information, call:
% ./configure --help
+Performance optimisation
+------------------------
+While the performance of modern systems is in most cases good enough to
+run ODR-DabMod, it is sometimes necessary to increase the compilation
+optimisation if all features are used or on slow systems.
+
+Tricks for best performance:
+
+ * Do not use --disable-native
+ * Use --enable-fast-math
+ * Add -O3 to compiler flags
+
+Applying all together:
+
+ % CFLAGS="-O3" CXXFLAGS="-O3" ./configure --enable-fast-math
+
Nearly as simple install procedure using repository:
====================================================