Bug 2512

Summary: Byte mode not configured correctly in red-queue-disc-test-suite.cc
Product: ns-3 Reporter: Mohit <tahiliani.nitk>
Component: traffic-controlAssignee: Stefano Avallone <stavallo>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: red-byte-mode.patch

Description Mohit 2016-09-29 16:18:11 UTC
Created attachment 2598 [details]
red-byte-mode.patch

In red-queue-disc-test-suite.cc, there is a large difference in the number of packet drops when run in byte mode and packet mode.

This is because the MeanPktSize in RED is 500 bytes by default, whereas the test suite uses a pktSize of 1000 bytes.

The patch provided here addresses the issue by configuring test suite to use pktSize of 500 bytes.

Thanks,
Mohit P. Tahiliani
Comment 1 Tom Henderson 2016-10-06 09:31:49 UTC
Moving to 'LAST CALL'; will commit sometime soon if no comments.
Comment 2 Stefano Avallone 2017-01-09 14:11:35 UTC
Fixed by changeset 12521:7c23e2de62af, thanks!