Re: htb problem with high rate small udp packet

Linux Advanced Routing and Traffic Control

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

 



On Thu, 2013-02-28 at 20:22 +0800, faicker mo wrote:
> Hi, I have a NAT box(also a gateway) with 2 Nics. eth0 is WAN
> interface, eth1 is LAN interface. I made some htb rules on WAN
> interface(because only the egress interface can shape). I limited a LAN
> machine named X 2Mbit. I test it with pktgen. X send many small udp
> packets to outside without receiving them, upto 70K pps. The bandwidth
> is >> 2Mbit. Now I ping the NAT box from another LAN machine, I find
> the latency is increasing more,sometimes packet loss. I see htb class
> dropped many packets. the CPU is normal. Any ideas?

Can you post your HTB/tc rules please.

> Am I wrong to limit the bandwidth at that place?

No, that's fine, that's the best way to do it.



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