All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc+udp priority
Date: Mon, 25 Mar 2002 12:31:09 +0000	[thread overview]
Message-ID: <marc-lartc-101705955302742@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101705745201055@msgid-missing>

> i want to priorize on  first udp second icmp then tcp then any other how?
> does "tc qdisc add dev eth0 parent 1:12 handle 20: prio 1 udp " priorize 
> udp?

not exactly - default prio is 0 (highest). Use prio 3 for 1:11,1:10
and prio 1 for 1:12 and prio 2 for icmp class.

> #shape interface eth0
> tc class add dev eth0 parent 1: classid 1:1 htb rate 128kbit ceil 128kbit
> #voip class
> tc class add dev eth0 parent 1:1 classid 1:12 htb rate 128kbit ceil 128kbit
> #staff class
> tc class add dev eth0 parent 1:1  classid 1:11 htb rate 30kbit ceil 128kbit
> tc class add dev eth0 parent 1:1  classid 1:13 htb rate 30kbit ceil 128kbit
> #mark voip class

this is nonsence ! 128+30+30 > 128. You guarantee 208kb while
1:1 has only 128k capacity ...

devik

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2002-03-25 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-25 11:56 [LARTC] tc+udp priority George Tsuladze
2002-03-25 12:31 ` Martin Devera [this message]
2002-03-25 13:10 ` George Tsuladze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101705955302742@msgid-missing \
    --to=devik@cdi.cz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.