LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-06-2013, 05:42 AM   #1
kis
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
jnihil
Member
 
Registered: Dec 2012
Distribution: Debian, Xubuntu, Gentoo, CentOS, Bhodi
Posts: 47

Rep: Reputation: 2
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.
 
  


Reply


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


All times are GMT -5. The time now is 02:23 AM.

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