Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Michele Petrazzo - Unipex srl <michele.petrazzo@unipex.it>
To: Aleksander Kamenik <aleksander@krediidiinfo.ee>
Cc: netfilter@vger.kernel.org
Subject: Re: isp like shaping with tc
Date: Wed, 19 Nov 2008 14:33:22 +0100	[thread overview]
Message-ID: <492415A2.8030901@unipex.it> (raw)
In-Reply-To: <49240BD4.8000206@krediidiinfo.ee>

Aleksander Kamenik wrote:
> This solves the marking the connections and assigning them to a queue
>  part, but there would still have to about 6000 qdisc leafs created 
> (One for each possible IP). Don't know whether this scales, but will
>  test. Looks promising anyhow.
> 

But where is the problems? Like I can see, there is only a cpu problem
and, as far as I know, this isn't a problem!
I have, in production env, about 1k qdisc that shape traffic (on a 2x2
xeon 2.6) and the cpu are about 1% used!

On it I use the "old" solution with:
$IP -t mangle -A POSTROUTING -o an_eth -d an_ip -j CLASSIFY--set-class 
1:0x10
$TC qclass add dev eth0 parent 1:1 classid 1:0x10 htb ....

> Nevertheless, what would be the correct list/group to discuss tc 
> queue disciplines?
> 

If I remember correctly, this is the right list since the other is dead.

> Regards,
> 

Hope this help,
Michele

      reply	other threads:[~2008-11-19 13:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 14:29 isp like shaping with tc Aleksander Kamenik
2008-11-18 17:04 ` Thomas Jacob
2008-11-19 12:51   ` Aleksander Kamenik
2008-11-19 13:33     ` Michele Petrazzo - Unipex srl [this message]

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=492415A2.8030901@unipex.it \
    --to=michele.petrazzo@unipex.it \
    --cc=aleksander@krediidiinfo.ee \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox