All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas bilke <thomas.bilke@post.rwth-aachen.de>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ not properly functioning !?
Date: Thu, 31 Oct 2002 19:52:11 +0000	[thread overview]
Message-ID: <marc-lartc-103609384708269@msgid-missing> (raw)

Hello,

My link has an average bandwidth of 1.2Mbit/s. I want to shape the bulk
traffic on several ports in my network. I used the mangle list to mark
some traffic types and reroute them to class 1:1. After failure with my
previous configuration I tried the following configuration to shape the
in and outcoming traffic of a single host for all ip traffic:

# tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 1.2Mbit avpkt 1000
cell 8

# tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Kbit
rate 100Kbit weight 10Kbit prio 8 allot 1514 maxburst 20 avpkt 1000
isolated bounded

# tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src
x.x.x.x flowid 1:1

# tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
x.x.x.x flowid 1:1

I checked the class 1:1 with both parameter settings 100Kbit and
1.2Mbit, but nothing works. With this configuration it was for the host
possible to send or receive data with more than 500Kbit/s.
I work with Mandrake 8.2 and kernel 2.4.18. Did I configure something
wrong?

Sincerely,

Thomas Bilke


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

             reply	other threads:[~2002-10-31 19:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31 19:52 thomas bilke [this message]
2002-10-31 20:12 ` [LARTC] CBQ not properly functioning !? Stef Coene
2002-10-31 20:32 ` thomas bilke
2002-10-31 21:35 ` Stef Coene
2002-10-31 21:52 ` Robert Felber
2002-10-31 22:14 ` Stef Coene
2002-10-31 22:50 ` thomas bilke
2002-10-31 23:07 ` Robert Felber
2002-11-01  8:56 ` Stef Coene

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-103609384708269@msgid-missing \
    --to=thomas.bilke@post.rwth-aachen.de \
    --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.