Bugzilla – Full Text Bug Listing |
Summary: | Ipv4 global routing inefficient | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
Component: | routing | Assignee: | Tom Henderson <tomh> |
Status: | NEW --- | ||
Severity: | normal | CC: | mathieu.lacage, ns-bugs, tommaso.pecorella |
Priority: | P4 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch for route computation |
Description
Tom Henderson
2009-03-12 00:38:34 EDT
Created attachment 406 [details]
patch for route computation
This patch will speed up the routing computation for large topologies that have a lot of stub nodes connected to the routers by point-to-point links.
Much more can be done but I am just providing this as an interim patch in case it helps any users for the moment.
We should start by coming up with a testcase which shows the problem and, adding it to our testsuite to track performance regressions in that code. (In reply to comment #2) > We should start by coming up with a testcase which shows the problem and, > adding it to our testsuite to track performance regressions in that code. Agree. A version of the patch attached to this bug was previously committed. I would be OK with changing the title to "Performance regression test needed for global routing" or something like that, or else close this bug for now. PopulateRoutingTables() is not only slow, it's eating RAM like a hungry voracious worm. Meaning 4000+ nodes can easily make your simulations jump to over 8G RAM. To be honest there's something wrong somewhere, as beside the computational part, I can't see why it needs so much memory. Once the paths are fixed, is really needed to keep everything ? I must confess I didn't study the code too much, but I think there should be a cleaner way to compute the route and fix it. I think this should be marked down from P2 for this release as it is a performance optimization and workarounds exist (NixVector) for many scenarios. |