From: Eric Dumazet Date: Sun, 1 Jan 2012 18:33:31 +0000 (+0000) Subject: sch_sfq: dont put new flow at the end of flows X-Git-Tag: v3.3-rc1~182^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d47a0ac7b66883987275598d6039f902f4410ca9;p=pandora-kernel.git sch_sfq: dont put new flow at the end of flows SFQ enqueue algo puts a new flow _behind_ all pre-existing flows in the circular list. In fact this is probably an old SFQ implementation bug. 100 Mbits = ~8333 full frames per second, or ~8 frames per ms. With 50 flows, it means your "new flow" will have to wait 50 packets being sent before its own packet. Thats the ~6ms. We certainly can change SFQ to give a priority advantage to new flows, so that next dequeued packet is taken from a new flow, not an old one. Reported-by: Dave Taht Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed