From 525650a68eaf7dae43c205fa582f5aa02e13bc06 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Aug 2017 14:24:07 +0200 Subject: Describe performance optimisation in INSTALL and mention DPD in README --- INSTALL | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'INSTALL') 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: ==================================================== -- cgit v1.2.3