Hi,
I recently upgrade Ubuntu from 14.04 to 16.04. Since then, ns-3.22 had a significant drop in performance. After a lot of searching I noticed some missing g++ parameters compared to the old installation:
Old installation:
- Ubuntu 14.04
- gcc and g++ 4.8
- configured as optimized
-> runner ['/usr/bin/g++', '-O3', '-g', '-Wall', '-Werror', '-march=native', '-fstrict-overflow', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fopenmp', '-fPIC', '-pthread', ...
New installation:
- Ubuntu 16.04
- gcc and g++ 5.3
- copied the workspace, same configuration
-> runner ['/usr/bin/g++', '-march=native', '-fstrict-overflow', '-fPIC', '-pthread', ...
For now I'm using CXXFLAGS="-O3".
Is there something I'm overlooking during installation of ns-3, like any missing dependencies? In my understanding "./waf configure -d optimized" should activate -O3 etc.
Thanks for your help
Daniel