Raised This Month: $51 Target: $400
 12% 

VMware Ubuntu - spiking values on 'sv' and 'var'


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spot
Senior Member
Join Date: May 2009
Old 07-20-2015 , 05:56   VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #1

Hello everyone,

I hope someone can help me figure out my problem with the server.
I'm running the same spec on a windows 7 server, with 6-8 servers running on them
without a problem, but now i want to merge all my servers onto a Linux(Ubuntu Server) platform.

I use the same plugins and copy\paste configs from my Windows 7 server, that runs perfect.
So i don't think the problem is there. When i boot up 1 cs:go server, and people connect to it (10 people) even a clean one without plugins
i get spiking values on 'sv' and 'var', and the server laggs. It runs on 128 tick, and a basic server.cfg.
- This is the only thing running on the Ubuntu server, besides apache2 and some other small stuff.

Startscript:
#!/bin/sh
# Couner Strike: Global Offensive
# Server Start Script
# Version: 1.0

## Script Start ##
echo "Updating Game Server"
../steamcmd/steamcmd.sh +login anonymous +force_install_dir ../Match +app_update 740 validate +quit

echo "Starting Game Server"
screen -dmS match ./srcds_run -console -game csgo +game_type 0 +game_mode 1 -autoupdate -usercon -tickrate 128 -maxplayers_override 12 +port 27036 +tv_port 28036 +sv_pure 0 +fps_max 0 -secure +host_workshop_collection ***** -authkey ***** +exec server.cfg +map de_dust2
## Script End ##

Server spec:
Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-39-generic x86_64)
Intel® Xeon® CPU E5-2640 0 @ 2.50GHz ( 2 Cores 4 threads )
MemAvailable: 3713624 kB
MemFree: 3488424 kB

gcc version: gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
glibc version:ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19
kernel version: Linux games01 3.16.0-39-generic #53~14.04.1-Ubuntu SMP Wed May 27 10:03:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I hope anyone have a good explanation, because i can't find the error myself.
Thanks alot for reading my post, looking forward to see some good solutions/tips Smile

-spot
spot is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 07-20-2015 , 08:25   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #2

Try disable cpu frequency scaling, its impact the server's performance.

You can google it. there are bunch of tutorial about it.
Amroth is offline
spot
Senior Member
Join Date: May 2009
Old 07-21-2015 , 03:37   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #3

Thanks for your reply, i googled like you said.
And came over this command: grep -E '^model name|^cpu MHz' /proc/cpuinfo

It shows correct and runs correct.
model name : Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
cpu MHz : 2499.999
model name : Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
cpu MHz : 2499.999

Still disable it?

-spot
spot is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-21-2015 , 05:10   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #4

Virtualised servers are not really a reliable option for high performance game servers...
__________________
Neuro Toxin is offline
spot
Senior Member
Join Date: May 2009
Old 07-21-2015 , 07:30   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #5

Quote:
Originally Posted by Neuro Toxin View Post
Virtualised servers are not really a reliable option for high performance game servers...
Okay, i assume you have info backing your statement, or is this just your opinion?
If you run multiple servers on 1 dedicated server, let's say 10, you wont get a problem as long as the hardware is good enough?

-spot
spot is offline
aeleos
Member
Join Date: Sep 2014
Old 07-21-2015 , 09:31   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #6

Quote:
Originally Posted by spot View Post
Okay, i assume you have info backing your statement, or is this just your opinion?
If you run multiple servers on 1 dedicated server, let's say 10, you wont get a problem as long as the hardware is good enough?

-spot
For best performance you want to be running servers directly on the hardware if possible, rather than having an extra layer of virtualization between the server and the hardware. If your dedicated server cant run x amount of servers with no virtualization, it can only run less with virtualization.
__________________
aeleos is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-21-2015 , 17:57   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #7

There is always [big] overhead with running servers in a virtual machine versus running it right on the metal.

If you have the option to, do not run the server in a virtual machine.
Potato Uno is offline
spot
Senior Member
Join Date: May 2009
Old 09-06-2015 , 17:11   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #8

Quote:
Originally Posted by Potato Uno View Post
There is always [big] overhead with running servers in a virtual machine versus running it right on the metal.

If you have the option to, do not run the server in a virtual machine.
Okay, if I don't have a option to? What should i do?
- There is no problem in windows, why is there a problem with Linux?...

-spot
spot is offline
spot
Senior Member
Join Date: May 2009
Old 09-13-2015 , 17:01   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #9

Quote:
Originally Posted by spot View Post
Okay, if I don't have a option to? What should i do?
- There is no problem in windows, why is there a problem with Linux?...

-spot
..
spot is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 09-13-2015 , 23:48   Re: VMware Ubuntu - spiking values on 'sv' and 'var'
Reply With Quote #10

Quote:
Originally Posted by spot View Post
..
If those dots are a pair of eyes, please use them to read the AlliedModders Rules:

Quote:
Do not "bump" your threads. Bumping is posting simply to make the thread higher in the forum sort order.

...Two different systems doesn't necessarily do the same things the same way.

...Two different cars doesn't necessarily go from 0-100 km/h at the same speed....
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode