diff -r ad0d9ba6d041 src/point-to-point/helper/point-to-point-helper.cc --- a/src/point-to-point/helper/point-to-point-helper.cc Tue Mar 08 22:35:58 2016 -0800 +++ b/src/point-to-point/helper/point-to-point-helper.cc Tue Mar 08 22:55:52 2016 -0800 @@ -28,6 +28,7 @@ #include "ns3/config.h" #include "ns3/packet.h" #include "ns3/names.h" +#include "ns3/uinteger.h" #include "ns3/mpi-interface.h" #include "ns3/mpi-receiver.h" @@ -41,6 +42,9 @@ PointToPointHelper::PointToPointHelper () { m_queueFactory.SetTypeId ("ns3::DropTailQueue"); + // Device queue set to small default value such as in Linux + m_queueFactory.Set ("MaxPackets", UintegerValue (3)); + m_queueFactory.Set ("MaxBytes", UintegerValue (3 * 65535)); m_deviceFactory.SetTypeId ("ns3::PointToPointNetDevice"); m_channelFactory.SetTypeId ("ns3::PointToPointChannel"); m_remoteChannelFactory.SetTypeId ("ns3::PointToPointRemoteChannel");