LARTC
[Top] [All Lists]

Re: [LARTC] prio not seeming to work

To: "Flechsenhaar, Jon J" <Jon.J.Flechsenhaar@boeing.com>
Subject: Re: [LARTC] prio not seeming to work
From: "Bob Puff@NLE" <bob@nleaudio.com>
Date: Mon, 19 Feb 2007 12:58:19 -0500
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <0E24ED2A7F9AA349A8633E6A56A64BE0027A81D7@XCH-SW-2V1.sw.nos.boeing.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <20070218232851.M8467@nleaudio.com> <0E24ED2A7F9AA349A8633E6A56A64BE0027A81D7@XCH-SW-2V1.sw.nos.boeing.com>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915

Flechsenhaar, Jon J wrote:

> 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.   

Hi John,

1. Hmm, I guess not:

[root@bob ~]# tc class ls dev eth0
class prio 1:1 parent 1:
class prio 1:2 parent 1:
class prio 1:3 parent 1:

Am I missing something in my short & sweet little script?  Again, it is:

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

2. I'm definitely saturating my 384k upstream.

Bob



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

<Prev in Thread] Current Thread [Next in Thread>