From 37ba3199da39db0c924454f2927951263175d067 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Tue, 16 Dec 2014 13:31:41 +0300 Subject: [PATCH] Add remark about clang compilation with cmake --- FINE_TUNING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FINE_TUNING.md b/FINE_TUNING.md index 8fc8ef1d..210ade70 100644 --- a/FINE_TUNING.md +++ b/FINE_TUNING.md @@ -71,6 +71,11 @@ If you saw intel_idle in perf top with red higlihting you can disable it with fo intel_idle.max_cstate=0 processor.max_cstate=1 ``` +If you want build with clang: +```bash +cmake -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ .. +``` + How I can enable ZC support? Please install DNA/ZC dreivers, load they and add interface name with zc prefix in config file (i.e. zc:eth3) How I can optimally use ZC mode? You should enable number of NIC queues as number of logical cores in load_driver.sh