Re: Lost packets and strange "behaviour" of my TC rules

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paulo Augusto wrote:



I'm using the TG (www.postel.org/tg <http://www.postel.org/tg>) as a TCP traffic generator, to establish three 90kbits/s TCP flows from PC1(any port) to PC2(port 20000, 20001 and 20002), with different durations and pause times, which as can be shown in the next files:

Usually tcp won't be like this, netperf may be better to test with, as it's more normal for bulk tcp to try to go as fast as it can.


I've also plotted a graph with gnuplot, showing me that (somehow) my rules were "correct", I've got an average value of 30kbits/s, a 10kbits/s and a 60kbits/s.

Is it normal that some packets get dropped by the rules or not (taking into account my test configuration) ?

The packets are not dropped in this case as the default queue length for sfq is 128, which can hold a rwin worth of data. The missing packets just didn't get sent because htb slowed the packets down to the rates specified and the sender will only send more once the ones already sent are acked.

Andy.

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux