hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Specialty Hosting and Markets : Game Servers : Game Server Load
Reply

Game Servers Game-Servers, what are they, how are they set, what do I need, etc.
Forum Jump

Game Server Load

Reply Post New Thread In Game Servers Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-05-2008, 02:32 AM
torqhost torqhost is offline
WHT Addict
 
Join Date: Jul 2007
Posts: 139

Game Server Load


Hello,

I was recently performing some tests with game servers and one thing struck me for which I was hoping someone has an explanation.
Basically it was a medium 2.4GHz Athlon 4000+ CPU (single core) with 2 GB of RAM, which was running a couple of cs 1.6 servers.
I decided to overload the server and ran unixbench on it, but there was no ping (game ping) degradation. The average load was 4+ on a single core CPU and all players were still getting 10 - 20 ms pings. Can anyone comment why is this? Why is CPU overload irrelevant for the ping?

Thanks

__________________
Torqhost High Performance VPS

Reply With Quote


Sponsored Links
  #2  
Old 02-05-2008, 09:32 AM
RN-Chris RN-Chris is offline
WHT Addict
 
Join Date: Feb 2008
Location: Murfreesboro, TN
Posts: 162
If I had to comment on this, I would say that while the player's ping's would not be affected. If you were actually playing the game, there would be severe stuttering and maybe a bit of rubber banding, however rubber banding is usually ping related.

I would have thought that the ping's would increase but you can at least expect a decent amount of stuttering. Did you try connecting to the servers and playing to test that?

Reply With Quote
  #3  
Old 02-05-2008, 09:58 AM
Adam H Adam H is offline
Web Hosting Master
 
Join Date: Jun 2006
Location: United Kingdom
Posts: 1,766
Ping is the latency between the client and host, the distance the packets have to travel will not change if the server has a high load.

__________________
-- Adam

Reply With Quote
Sponsored Links
  #4  
Old 02-05-2008, 12:57 PM
InfernoCP InfernoCP is offline
New Member
 
Join Date: Dec 2007
Posts: 3
While the ping may not have changed at all, you may experience a higher rate of choke/loss with an overloaded server. The only way to see the real affect of it would be to log in and actually play the game.

With that said, with the load only at 4, you may not notice at all.

Reply With Quote
  #5  
Old 02-05-2008, 02:36 PM
torqhost torqhost is offline
WHT Addict
 
Join Date: Jul 2007
Posts: 139
Well from my understanding this game ping is something different, than normal ping, as it is usually higher, then if you just ping the server.

There were some people on the server, they didn't say anything was lagging or anything, but there were only 5 people testing this server at the time.

What would you say the maximum acceptable load for a game server is? (if we take 1 core as reference and 1.00 avg load as maxed out). I am guessing it shouldn't be maxed out, but what is a reasonable %?

__________________
Torqhost High Performance VPS

Reply With Quote
  #6  
Old 02-05-2008, 04:15 PM
JohnJ JohnJ is offline
Web Hosting Master
 
Join Date: Jun 2007
Location: North Carolina
Posts: 4,982
Quote:
Originally Posted by torqhost View Post
Hello,

I was recently performing some tests with game servers and one thing struck me for which I was hoping someone has an explanation.
Basically it was a medium 2.4GHz Athlon 4000+ CPU (single core) with 2 GB of RAM, which was running a couple of cs 1.6 servers.
I decided to overload the server and ran unixbench on it, but there was no ping (game ping) degradation. The average load was 4+ on a single core CPU and all players were still getting 10 - 20 ms pings. Can anyone comment why is this? Why is CPU overload irrelevant for the ping?

Thanks
Pings don't always reflect performance. I have had a 23 ping in a server where I lagged like hell.

Reply With Quote
  #7  
Old 02-05-2008, 05:32 PM
trevhub trevhub is offline
WHT Addict
 
Join Date: Oct 2007
Location: Dallas,TX
Posts: 159
If the server is loaded, the "lag" that would be experience would not have anything to do with your ping, you would experience jitters that are caused by the cpu not using enough resources to run that server.
Think of it like any program, if I were to be running every Adobe program you can buy, on a Celeron with 128mb ram, every program would be very slow since there is not enough cpu or ram for every program to run. Same thing applies to a game server, the application is not able to communicate with it's hardware properly thus giving the user connected to it a horrible gaming experience.
I know others in the gsp market will have a more in depth answer for you to hear, but that's all of what I know. So basically, don't overload your server

As other's said above, ping is not affected by the amount the server is loaded, it's simply the latency from your computer to the server.


Last edited by trevorhu; 02-05-2008 at 05:36 PM.
Reply With Quote
  #8  
Old 02-06-2008, 06:44 AM
Vinnybcfc Vinnybcfc is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 40
Quote:
Originally Posted by torqhost View Post
Well from my understanding this game ping is something different, than normal ping, as it is usually higher, then if you just ping the server.

There were some people on the server, they didn't say anything was lagging or anything, but there were only 5 people testing this server at the time.

What would you say the maximum acceptable load for a game server is? (if we take 1 core as reference and 1.00 avg load as maxed out). I am guessing it shouldn't be maxed out, but what is a reasonable %?
This is your problem only 5 people were testing, nearly any server could have loads of servers idling and it wont affect the load much you just need the ram to hold them.

To give some examples on a server that I have tested:

A AMD 3800 X2 with 2GB of ram can hold just about 15 Source Servers on the ram (depends on server size, map and game)

You can run 14 idling servers with 1 running and the server will cope because the cpu is only being used on 1 server

Fill the others though and it will start to lag very badly as the cpu hits 100%

Both the ping and tickrate are affected although sometimes it is just the tickrate when you run out of cpu.

When you run out of ram generally everything kills itself as the hard disk is now being used for ram so ping, tickrate and lots of things will grind to a halt

__________________
Firestorm Hosting - Game Server Hosting
http://www.firestormhosting.co.uk

Reply With Quote
  #9  
Old 02-06-2008, 06:57 AM
torqhost torqhost is offline
WHT Addict
 
Join Date: Jul 2007
Posts: 139
Well, as I saw from my tests CPU usage of servers depends on what plugins are used (mods). One of the testers installed some kind of block maker plugin and the server started eating up 20% of that 2.4GHz cpu in idle (nobody connected) and up to 50% when people were there. On the other hand, another server with 10 people playing was using only 5%.

But if you are running 15 servers on that 3800+ dual core machine, that means they are running OK for you? Or do they lag? How many slots do you have there? I am just trying to get some perspective here to evaluate some kind of pricing model. The real machine I am going to use for production will be 2.4 GHz quad xeon with 4GB of RAM (or 8GB, still need to evaluate the CPU / RAM consumption and how they are related).

__________________
Torqhost High Performance VPS

Reply With Quote
  #10  
Old 02-06-2008, 09:19 AM
Vinnybcfc Vinnybcfc is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 40
Quote:
Originally Posted by torqhost View Post
But if you are running 15 servers on that 3800+ dual core machine, that means they are running OK for you? Or do they lag? How many slots do you have there? I am just trying to get some perspective here to evaluate some kind of pricing model. The real machine I am going to use for production will be 2.4 GHz quad xeon with 4GB of RAM (or 8GB, still need to evaluate the CPU / RAM consumption and how they are related).
The 3800 is just a test server not a production or live server. I was just using it as an example - It is a terrible machine (AMD 3800) for game servers not enough cpu power.

You have to work out the ratio of cpu to ram for your servers and it will vary depending on what tickrate you are running and other factors.

Generally on a Core 2 system you need at least 1GB per core

Edit:

Old Netburst Xeon or Core 2 Xeon, I am assuming it is the Conroe one.

4GB to 6GB of ram should be enough for SRCDS, I cant really comment on other games haven't run enough of them.

8GB would be a bit overkill for 2.4ghz, for 3ghz+ it is needed.

__________________
Firestorm Hosting - Game Server Hosting
http://www.firestormhosting.co.uk

Reply With Quote
  #11  
Old 02-06-2008, 10:38 AM
Adam H Adam H is offline
Web Hosting Master
 
Join Date: Jun 2006
Location: United Kingdom
Posts: 1,766
Quote:
Originally Posted by Vinnybcfc View Post
Fill the others though and it will start to lag very badly as the cpu hits 100%
Isn't that overselling?

__________________
-- Adam

Reply With Quote
  #12  
Old 02-06-2008, 10:53 AM
torqhost torqhost is offline
WHT Addict
 
Join Date: Jul 2007
Posts: 139
Well yes it is, but we are not overselling anything here, just discussing the load. I am not planning to do any overselling and it is also questionable whether I would be selling game servers at all (due to target audience of children and all business hassles related to this).

__________________
Torqhost High Performance VPS

Reply With Quote
  #13  
Old 02-06-2008, 10:56 AM
Vinnybcfc Vinnybcfc is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 40
Quote:
Originally Posted by Adam H View Post
Isn't that overselling?
Yes if I had used that test server for selling

But no the server I was talking about wasnt a server that customers went on

__________________
Firestorm Hosting - Game Server Hosting
http://www.firestormhosting.co.uk

Reply With Quote
  #14  
Old 02-06-2008, 10:59 AM
Vinnybcfc Vinnybcfc is offline
Junior Guru Wannabe
 
Join Date: Sep 2006
Posts: 40
Quote:
Originally Posted by torqhost View Post
(due to target audience of children and all business hassles related to this).
This is a bit of a myth, 70% to 80% of my clients were over 16 as I dealt with leagues rather than advertising traditionally.

Although this may be the difference between the UK market and US market.

__________________
Firestorm Hosting - Game Server Hosting
http://www.firestormhosting.co.uk

Reply With Quote
  #15  
Old 02-20-2008, 02:14 AM
torqhost torqhost is offline
WHT Addict
 
Join Date: Jul 2007
Posts: 139
I have been testing this server further and asked more people to just connect and play, but noticed an interesting thing:
The game servers (I run 3 for testing) produce very low CPU% usage, say when 10 people are connected it get's to about 10% CPU load, but the load average is well above 1.00 (I use single core for tests). Do you maybe have some reason for this happening? Just curious, as normally this would be die to io wait, but on this server the io wait is at 0 also.
Bottom line is now I have io wait at 0 and total cpu% I can count for 3 servers is 15% or less, but average load is 1.00+. Maybe I am doing something wrong?

__________________
Torqhost High Performance VPS

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12
Web Host FireHost Adds SSD and Load Balancing to Cloud Hosting Web Hosting News 2011-06-07 20:46:00


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?