Re: HTB + netem - weird be haviour of a queue size

Linux Advanced Routing and Traffic Control

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

 



Ok, I have just realized by doing ifconfig that the queue length of my
bridge (br0) was 0. So I suppose this was causing the problem.

However I still do not know whant happens it I use htb and netem in
the above configuration and e.g. I change the queue length of htb to
1000. Will it be applicable to both netem and htb queueus? Or will I
have one two queues of 1000, on after another.

Thank you in advance.



On Thu, Feb 11, 2016 at 11:34 AM, Ewa Janczukowicz
<janczukowicz.ewa@xxxxxxxxx> wrote:
> Hello,
>
> I want to emulate ADSL link behaviour.
> For that I decided to use netem and configure its rate and delay parameters.
>
> Additionally I test different queuing configurations e.g. htb.
> Since if I use htb, I can only configure netem on leaves, I decided to
> create a virtual bridge.
> As a results I have the following configuration:
> - I have virtual bridge (br0) and I attached the phycical inerface to it.
> - On virtual bridge I configure htb
> - On physical interface I configure netem.
>
> However using htb and netem changes the queue size.
>
> If I only use htb, the queue size is 1000. The same happens if I only use netem.
> However when I use both of them, the queue size becomes much shorter.
>
> Is there any way I can check what queue size is configured?
> I know I can overwrite this configuration, however finally I am not
> sure how netem and htb interact and what queue I configure.
>
> Thank you in advance for any help.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux