Bug 2279 - Ipv[4,6]L3Protocol::GetInterfaceForDevice speedup
Ipv[4,6]L3Protocol::GetInterfaceForDevice speedup
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P5 enhancement
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-24 19:57 UTC by Tommaso Pecorella
Modified: 2016-02-03 16:31 UTC (History)
1 user (show)

See Also:


Attachments
patch (10.53 KB, text/plain)
2016-01-24 19:57 UTC, Tommaso Pecorella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2016-01-24 19:57:55 UTC
Created attachment 2251 [details]
patch

Christian Kreuzberger in ns-users group (https://groups.google.com/forum/#!topic/ns-3-users/VqNZogTqBMQ) proposed a number of enhancements to speedup IP L3 protocols in case of massive links in a node.

There is still room for some improvement, but it would require a bit more work. E.g., a node (switch) could want to limit the incoming L4 connections to a subset of ports. In this case the RouteInput could be changed to take advantage of this.

In the meantime, the attached patch effectively improves the simulation speed.
Comment 1 Tommaso Pecorella 2016-02-03 16:31:39 UTC
pushed in changeset 11846:c18dbc505385