Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-06-2013, 05:42 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
question about tc HTB traffic shaping performance solution

Hello all,

I have question about tc HTB traffic shaping. In our network we have two servers which running HTB. Each one of these servers are served about 5200 client's (public IP's). In the rush hours, about 60-70 % clients becames online, the servers cpu load became too high. So the question is what would be better solution, change these two servers with one big server wich have two quad core cpu and 4x1GB NIC's, or add third HTB server and balance users between these three servers, about 3600 users in each server. Each server use HTB hashing tables, and eache client (IP) have two HTB classes.

server1 hardware:
Centos 5.5 x86_64
kernel 2.6.18-194.32.1.el5
Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz
4 GB ram
2x1GB NIC's

server2 hardware:
Centos 5.5 x86_64
kernel 2.6.18-194.32.1.el5
Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz
4 GB ram
2x1GB NIC's

thank you.
Old 02-10-2013, 02:34 AM   #2
Registered: Dec 2012
Location: inside the matrix
Distribution: Debian, Xubuntu, Gentoo, Antergos
Posts: 90

Rep: Reputation: 27
Not sure why you think traffic shaping has anything to do with your servers getting busy. Traffic shaping deals with preventing bandwidth saturation / bandwidth control so that there is order and fairness in the usage of the network resource. Your problem sounds to be more of a CPU resource issue, which can only be improved by either increasing CPU resource, or limiting client access thus lowering the CPU usage (which I guess isn't what you want). Add another server to the cluster (or are you load balancing?) would be my choice. More nodes, the less chance of constructing a single point of failure.

Good luck.

Last edited by jnihil; 02-17-2013 at 12:44 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Traffic shaping with htb sci3ntist Linux - Networking 3 08-05-2011 04:31 AM
traffic shaping with htb.init rogerdv Linux - Networking 0 03-20-2009 07:03 AM
Traffic shaping with HTB, several questions exscape Linux - Networking 1 05-28-2008 12:10 PM
traffic shaping with htb zsoltrenyi Linux - Software 2 11-12-2004 09:17 AM
traffic shaping htb SchwipSchwap Linux - Networking 1 08-28-2003 03:17 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration