Accelerate NS-2 scheduler
Download: Scheduler-patch
This is a patch that can speed up the NS-2 scheduler by improving the Calendar Queue data structure in the scheduler. Especially, it can help to speed up many simulations with high speed long distance network. Some simulations that need one day with the original NS2 scheduler can now be finished in an hour.
- Copy the patch to ns-allinone-2.28/ns-2.28 (or ns-2.29)
- In the directory of ns-allinone-2.28/ns-2.28 (or ns-2.29) , run: make clean
- In the directory of ns-allinone-2.28/ns-2.28 (or ns-2.29), run: patch -p1 <>
- (Optional) delete the patch file by rm ns-scheduler.patch
- recompile the ns2 by make and make install
Many thanks to the author: David X. Wei
Read More......
