[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] [PATCH] Linux performance patch
Having done some relatively long running simulations, I've made up a patch
against ns-2.1b7a containing some of my performance hacks. For the
standard validate script they improved performance by around 20% on my
Pentium III Linux box, and on some large scale simulations by up to 40%.
The main win comes through being able to use the gcc -O2 flag on Linux
without IEEE754 floating point incompatibilities, and through aggressive
use of function inlining.
The patch can be obtained via:
http://www-lce.eng.cam.ac.uk/~ctk21/code/
Hope people find it useful,
Tom