Skip to contentSkip to conversation

QoS + TOS field

LARTC Sergiy Lozovsky 2 participants 2 messages Nov 1, 2006 – Nov 11, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to figure out how to use Linux QoS. Default setting has three queues (bands) and should prioretise outgoing tarffic based on TOS field. I try to test that by flooding Ethernet interface by netperf or iptraf and running ping -f with -Q and without Q. -Q doesn't affect ping results, it suffers anyway. It seems that I don't understand something. I verified that -Q traffic goes through higher prority queue.

I can make it work if I shape traffic at lower priority queue, but I would like to avoid that, becuase can't always predict bandidth of connection.

I would appreciate any insight on that.

Thanks,

Serge.

____________________________________________________________________________________
We have the perfect Group for you. Check out the handy changes to Yahoo! Groups
(http://groups.yahoo.com)

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 11 lines · Sergiy Lozovsky

Hi,

I'm trying to figure out how to use Linux QoS. Default setting has three queues (bands) and should prioretise outgoing tarffic based on TOS field. I try to test that by flooding Ethernet interface by netperf or iptraf and running ping -f with -Q and without Q. -Q doesn't affect ping results, it suffers anyway. It seems that I don't understand something. I verified that -Q traffic goes through higher prority queue.

Quoted 5 lines

I can make it work if I shape traffic at lower priority queue, but I would like to avoid that, becuase can't always predict bandidth of connection.

I would appreciate any insight on that.

Works for me - well if you don't shape then you will have a nic driver dependant buffer after the queue maybe yours is bigger - but if you start enough tcps to get a big backlog then you should be able see the difference.

Andy.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc