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

high var


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cristi_ip
Senior Member
Join Date: Dec 2010
Location: Bucharest
Old 04-20-2016 , 04:32   high var
Reply With Quote #1

Hello guys,

I have a problem maybe you can help me with answers.

I have an csgo server hosted on a VPS, my problem is the server var oscillate between 0.400 - 1.000

VPS info:

Intel Xeon L5640 (2.26 GHz) CPU 10 CPU Core
RAM memory 20Gb DDR3 x4 RDIMM Dual Ranked Registered ECC
Disk Space 30 GB SAS (10K)
Operating System Ubuntu-14.04 64bit

My csgo server is working on 64 ticks with 30 players.

What could I set up to have a constant low var ?

Thank you!
cristi_ip is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-20-2016 , 05:02   Re: high var
Reply With Quote #2

Server variance is cpu related.

Every second the cpu is required to process 64 frames.

If the cpu is unable to complete processing the required frames in one second you get var spikes in yellow/red which results in var related lag.

Generally if your cpu is maxing out your options are:

1. Reduce tickrate to 64 if running 128 tick
2. Reduce slot counts
3. Get a better cpu

You could also try editing performance related cvars...

This config is by CoderX


Quote:
# Hibernation
sm_cvar sv_hibernate_ms 0
sm_cvar sv_hibernate_ms_vgui 0
sm_cvar sv_hibernate_postgame_delay 0
sm_cvar sv_hibernate_when_empty 0

# Network / Throughput
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar sv_maxunlag 0.1
sm_cvar net_maxcleartime 0.001
sm_cvar net_minroutable 1000
sm_cvar net_earliertempents 1
sm_cvar net_compresspackets 0

# Ragdolls / Props
sm_cvar g_ragdoll_important_maxcount 1
sm_cvar g_ragdoll_maxcount 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar prop_active_gib_max_fade_time 1
sm_cvar sv_turbophysics 0

# CPU Tweaks
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
sm_cvar sv_multiplayer_maxtempentities 1

# Experimental Async / MultiThreading
sm_cvar occlusion_test_async 1
sm_cvar host_threaded_sound 1
sm_cvar host_threadmode 2
sm_cvar sv_threaded_init 1
sm_cvar mod_load_anims_async 1
sm_cvar mod_load_mesh_async 1
sm_cvar mod_load_vcollide_async 1
sm_cvar vprof_server_thread 1
sm_cvar g_ai_threadedgraphbuild 1
__________________
Neuro Toxin is offline
cristi_ip
Senior Member
Join Date: Dec 2010
Location: Bucharest
Old 04-21-2016 , 02:59   Re: high var
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
Server variance is cpu related.

Every second the cpu is required to process 64 frames.

If the cpu is unable to complete processing the required frames in one second you get var spikes in yellow/red which results in var related lag.

Generally if your cpu is maxing out your options are:

1. Reduce tickrate to 64 if running 128 tick
2. Reduce slot counts
3. Get a better cpu
Thank you for replay Neuro Toxin, I tried with performance.cfg by CoderX same result

1. My server already works on 64 ticks.
2. My server slots is 30
3. This processor is not enough: Intel Xeon L5640 (2.26 GHz) CPU 10 CPU Core ?
cristi_ip is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-21-2016 , 03:10   Re: high var
Reply With Quote #4

srcds is 32bit program, so it use one CPU core.
Are you sure your server run full power and not in power safe mode ?
__________________
Do not Private Message @me
Bacardi is offline
cristi_ip
Senior Member
Join Date: Dec 2010
Location: Bucharest
Old 04-21-2016 , 03:19   Re: high var
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
srcds is 32bit program, so it use one CPU core.
Are you sure your server run full power and not in power safe mode ?
And how can i check this in linux Ubuntu ?

Thank you!

Last edited by cristi_ip; 04-21-2016 at 03:55.
cristi_ip is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-21-2016 , 10:29   Re: high var
Reply With Quote #6

google
__________________
Do not Private Message @me
Bacardi is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-21-2016 , 19:19   Re: high var
Reply With Quote #7

Tbh.

Your CPU is 6 years old and is end of life. While it was a great CPU, it's time has come.

Your choices:

1. Reduce slot count until the CPU core no longer maxes out when the server is full.
2. Move to another box with a newer / higher clockspeed CPU.
__________________
Neuro Toxin is offline
cristi_ip
Senior Member
Join Date: Dec 2010
Location: Bucharest
Old 05-02-2016 , 06:19   Re: high var
Reply With Quote #8

Thank you for your answers guys, I solved the problem by buying a new dedicated.
cristi_ip is offline
j1gg
Senior Member
Join Date: Dec 2015
Old 05-02-2016 , 14:07   Re: high var
Reply With Quote #9

Quote:
Originally Posted by Bacardi View Post
srcds is 32bit program, so it use one CPU core.
Are you sure your server run full power and not in power safe mode ?
For newbie users type in console and check cpu frequency
HTML Code:
cat /proc/cpuinfo

Last edited by j1gg; 05-02-2016 at 14:07.
j1gg is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-03-2016 , 00:03   Re: high var
Reply With Quote #10

Quote:
Originally Posted by j1gg View Post
For newbie users type in console and check cpu frequency
HTML Code:
cat /proc/cpuinfo
nice find. (I'm Windows user tough)

I find a whole page about those.
http://www.binarytides.com/linux-check-processor/
__________________
Do not Private Message @me

Last edited by Bacardi; 05-03-2016 at 00:03.
Bacardi 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 10:07.


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