Bug 2279

Summary: Ipv[4,6]L3Protocol::GetInterfaceForDevice speedup
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: internetAssignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

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