Re: Egress bandwidth limiting not working?

Linux Advanced Routing and Traffic Control

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

 



On Tue, 2013-05-07 at 11:53 +0100, Sebastian Arcus wrote:
> I am trying to limit the bandwidth used by the egress leg as per the 
> lartc cookbook here: 
> http://www.lartc.org/howto/lartc.cookbook.ultimate-tc.html
> 
> The ingress works fine (well, it is a bit wobbly - but it limits the 
> rate at roughly the expected level). However, the egress doesn't appear 
> to be working. With no tc active, I get about 300mbs both ways (I'm 
> testing in VMs). When it is on, the ingress is down to roughly 500kbs, 
> but the egress is down to only about *150mbs*.

Have you tried a qdisc other than CBQ, such as HTB? I've never actually
used CBQ myself, but from the LARTC HOWTO:

"CBQ is the most complex qdisc available, the most hyped, the least
understood, and probably the trickiest one to get right. This is not
because the authors are evil or incompetent, far from it, it's just that
the CBQ algorithm isn't all that precise and doesn't really match the
way Linux works."

Are you just trying to achieve simple policing of the interface, or
something more advanced?

Andy


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