Bug 111 - Ptr<Packet> is slower than raw Packet
: Ptr<Packet> is slower than raw Packet
Status: NEW
: ns-3
simulation core
: pre-release
: All All
: P3 enhancement
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-11-22 04:42 EDT by
Modified: 2009-11-23 08:28 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-11-22 04:42:17 EDT
This is the case since we switched to Ptr<Packet>. It is due to two things:
  - Ref/Unref are not inlined
  - Packet needs a free list

So, we need to fix both issues and verify that the new free list does not
interact badly with the other free lists in Buffer, PacketMetadata, and, Tags.
------- Comment #1 From 2009-11-23 08:28:01 EDT -------
ref/unref are not inlined anymore.

We still need to go back seriously to the packet code and try to figure out if
a packet free list would help. Marking as enhancement.