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

[CS:GO] sv/var going red and causing lags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 04-10-2015 , 07:30   [CS:GO] sv/var going red and causing lags
Reply With Quote #1

Hello,

I have big lags on my server, i don't know the reason but sv & var going red frequantly and lag happen.

This is my config:
- OS: Debian 7 64bits
- CPU: KVM processor
- RAM: 6Go
- Internet: 100mbps/Ovh network
- Bandwith: unlimited
- kernel: 3.14 1000hz: http://www.ulrich-block.de/gameserverkernel/

Server config:
- Sourcemod last stable version without additional plugins.
- Ticks: 128
- Rates:
Quote:
Originally Posted by Trans_Am_00 View Post
Code:
sv_minrate 80000 // Min bandwidth rate allowed on server. Default 0
sv_maxrate 0 //  Maximum amount of bandwidth each client can use. 
sv_minupdaterate 128 // Minimum updates per second that the server will allow 
sv_mincmdrate 128 // This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_unlag 1
sv_unlag .5 
sm_cvar net_maxcleartime 0.001
Can someone help to fix these lags ?

Last edited by Mikado; 04-10-2015 at 08:46.
Mikado is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 04-10-2015 , 09:05   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #2

USERS? MAPS? use default don't set 'rates'

Last edited by hamilton5; 04-10-2015 at 09:05.
hamilton5 is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 04-10-2015 , 09:12   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #3

can you send the output of

cat /proc/cpuinfo
Amroth is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 04-10-2015 , 12:13   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #4

@hamilton5 all players on the server lag at the same time, in all mg_active maps.
@amroth
Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 3392.076
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl pni cx16 x2apic hypervisor
bogomips : 6784.15
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 3392.076
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl pni cx16 x2apic hypervisor
bogomips : 6784.15
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 3392.076
cache size : 4096 KB
physical id : 1
siblings : 2
core id : 0
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl pni cx16 x2apic hypervisor
bogomips : 6786.52
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 3392.076
cache size : 4096 KB
physical id : 1
siblings : 2
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl pni cx16 x2apic hypervisor
bogomips : 6786.52
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
Mikado is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 04-10-2015 , 13:02   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #5

What the server slot? I would not set more than 26 if want to run smoothly at 128 tick. 128 tick is cpu eater, and srcds only use single core in linux, so single core performance more important. doesnt matter if even you have 4,8, or 12 cores.

In orher hand;
Build the server on windows 2008 in same machine, set srcds affinity to two or more cores. Srcds can be multi-threaded on windows. So you can use two or more cores for your server and gain performance.

Last edited by Amroth; 04-10-2015 at 13:03.
Amroth is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 04-10-2015 , 16:39   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #6

I'm running 32 slots server, 8/32 lag start and i know that maybe caused by cpu usage but i checked and i found that it use only 1%

For windows server you must pay for installation :/
i hope there is another solution
Mikado is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 04-11-2015 , 05:33   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #7

Tried to switch to 64 ticks, and used default csgo rates.
and the probleme still here
Mikado is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 04-11-2015 , 09:52   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #8

Then thats may because its shared virtual machine. Buy a VDS instead of VPS, or find cheap DEDICATED to run smoothly.
Amroth is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 04-11-2015 , 17:17   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #9

There is no other solution ?
Mikado is offline
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 04-11-2015 , 18:27   Re: [CS:GO] sv/var going red and causing lags
Reply With Quote #10

plugins list? Some plugin can be the reason too. Check your plugins.
veli 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 12:02.


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