From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?xb1pbHZpbmFzIFZhacSNa3Vz?= Date: Tue, 05 Mar 2013 06:27:41 +0000 Subject: HTB performance, and debbuging Message-Id: <5135905D.7050005@kis.lt> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi list, I have two traffic shaping servers, on Linux Centos 5.5 (2.6.18-194.32.1.el5) with HTB. In these servers are 2 gigabit NIC's and running script which generates two HTB class'es per ip, one for http and icmp, and another class for other ports. These class'es have different bandwidth rate. Each server serves about 5000 IP's, so each server have about 10000 class'es and about 40000 filters (4 filters per class), and all IP's are hashed with hashing tables.I am not sure that all my ip's are shaped. When i look to default class with "tc -s class show dev" sometimes default class traffic goes up, so there is asumtion that some of ip's are not shaped. 1. First question ist there any way to check which ip's go trough default HTB class ? 2. In rush hours servers reach about 975 Mbits of 1 Gbist total bandwidth. Question which solution is the best, buy the third server, and balance traffic with three servers, or buy dual or quad NIC's and make bond device, then start HTB on bond ? or maybe other solution ? Thank you for the answers Zilvinas