RE: prio not seeming to work

Linux Advanced Routing and Traffic Control

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

 



Two questions

1.)  When you type tc class ls dev ethx
	- Do you see that both ftp streams are flowing into their proper
class; 1:1, 1:3?

2.)  Are you sending enough traffic to reach the point of congestion on
you link? 
	- If your not then it will service all the traffic at the same
rate.   


Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7

-----Original Message-----
From: Bob Puff [mailto:bob@xxxxxxxxxxxx] 
Sent: Sunday, February 18, 2007 3:32 PM
To: lartc@xxxxxxxxxxxxxxx
Subject:  prio not seeming to work

Hello,

I am trying to mess with a prio type qdisc, and must be missing
something. 
Here's my sample code:

tc qdisc add dev eth0 root handle 1: prio tc filter add dev eth0 parent
1:0 prio 1 protocol ip u32 \
  match ip dst 208.0.0.0/8 flowid 1:1
tc filter add dev eth0 parent 1:0 prio 3 protocol ip u32 \
  match ip dst 0.0.0.0/0 flowid 1:3

I would assume that any traffic going to 208.x.x.x should be getting
priority over all other traffic.  But when I set up two simultaneous FTP
uploads, one to a server in the 208.x.x.x block and one to another not
in that block, both end up at the same transfer rate.. This is going
into an ADSL line.

What am I missing?

Bob
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
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