All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Žilvinas Vaičkus" <zilvinas.v@kis.lt>
To: lartc@vger.kernel.org
Subject: HTB performance, and debbuging
Date: Tue, 05 Mar 2013 06:27:41 +0000	[thread overview]
Message-ID: <5135905D.7050005@kis.lt> (raw)

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

             reply	other threads:[~2013-03-05  6:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05  6:27 Žilvinas Vaičkus [this message]
2013-03-05 11:56 ` HTB performance, and debbuging Benjamin Kiessling
2013-03-05 14:15 ` Žilvinas Vaičkus

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=5135905D.7050005@kis.lt \
    --to=zilvinas.v@kis.lt \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.