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

cpu usage problems cs:go dedicated server


Post New Thread Reply   
 
Thread Tools Display Modes
asdfxD
Veteran Member
Join Date: Apr 2011
Old 02-11-2018 , 15:31   Re: cpu usage problems cs:go dedicated server
Reply With Quote #11

Quote:
Originally Posted by ohyeah1234 View Post
~# apt-get install tuned-adm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tuned-adm

mhm sorry i dont really understand alot from linux
https://www.linuxsecrets.com/2892-tu...ux-performance

sry it is "apt-get install tuned" not tuned-adm. if this is not working either, do this:

edit file /etc/apt/sources.list and add this:

deb http://ftp.de.debian.org/debian sid main

save file and run apt-get update and than install tuned with apt-get install tuned

should work 100%

Last edited by asdfxD; 02-11-2018 at 15:33.
asdfxD is offline
ohyeah1234
Junior Member
Join Date: Feb 2018
Old 02-11-2018 , 15:38   Re: cpu usage problems cs:go dedicated server
Reply With Quote #12

Quote:
Originally Posted by asdfxD View Post
https://www.linuxsecrets.com/2892-tu...ux-performance

sry it is "apt-get install tuned" not tuned-adm. if this is not working either, do this:

edit file /etc/apt/sources.list and add this:

deb http://ftp.de.debian.org/debian sid main

save file and run apt-get update and than install tuned with apt-get install tuned

should work 100%
Tried second thing it worked then i launched tuned-adm profile latency-performance Thanks for help mate not sure if did some effect because only 2 players online now
also

ghostofmybrain linked topic install works i will leave back info if this did some changes

Last edited by ohyeah1234; 02-11-2018 at 15:48.
ohyeah1234 is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 02-11-2018 , 15:49   Re: cpu usage problems cs:go dedicated server
Reply With Quote #13

Quote:
Originally Posted by ohyeah1234 View Post
Tried second thing it worked then i launched tuned-adm profile latency-performance Thanks for help mate not sure if did some effect because only 2 players online now
search for sv_occlude_players 1 and set to 0.
asdfxD is offline
ohyeah1234
Junior Member
Join Date: Feb 2018
Old 02-11-2018 , 16:09   Re: cpu usage problems cs:go dedicated server
Reply With Quote #14

Quote:
Originally Posted by asdfxD View Post
search for sv_occlude_players 1 and set to 0.
Well after changes 2 players online 1 gotv bot what doesnt record any thing http://prntscr.com/idc5us also test out with 10 bots on de_dust2 nothing really changed cpu usage +/- 40-50%

Last edited by ohyeah1234; 02-11-2018 at 16:22.
ohyeah1234 is offline
Zuby24
Member
Join Date: Apr 2017
Location: Romania/Bucharest
Old 02-12-2018 , 06:06   Re: cpu usage problems cs:go dedicated server
Reply With Quote #15

You can try XanMod kernel. Website: https://xanmod.org/ or a lowlatency Kernel from ubuntu mainline but i recommend XanMod.
You can also use this script to ENABLE/disable turbo for your processor.

Code:
#!/bin/bash

if [[ -z $(which rdmsr) ]]; then
    echo "msr-tools is not installed. Run 'sudo apt-get install msr-tools' to install it." >&2
    exit 1
fi

if [[ ! -z $1 && $1 != "enable" && $1 != "disable" ]]; then
    echo "Invalid argument: $1" >&2
    echo ""
    echo "Usage: $(basename $0) [disable|enable]"
    exit 1
fi

cores=$(cat /proc/cpuinfo | grep processor | awk '{print $3}')
for core in $cores; do
    if [[ $1 == "disable" ]]; then
        sudo wrmsr -p${core} 0x1a0 0x4000850089
    fi
    if [[ $1 == "enable" ]]; then
        sudo wrmsr -p${core} 0x1a0 0x850089
    fi
    state=$(sudo rdmsr -p${core} 0x1a0 -f 38:38)
    if [[ $state -eq 1 ]]; then
        echo "core ${core}: disabled"
    else
        echo "core ${core}: enabled"
    fi
done
sudo chmod +x turbo-boost.sh
./turbo-boost.sh disable
./turbo-boost.sh enable

or you can try:

Code:
$ cat set_cpu_turbo_off
#! /bin/bash
echo "1" > /sys/devices/system/cpu/intel_pstate/no_turbo

$ cat set_cpu_turbo_on
#! /bin/bash
echo "0" > /sys/devices/system/cpu/intel_pstate/no_turbo
__________________

Last edited by Zuby24; 02-12-2018 at 06:11.
Zuby24 is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 02-12-2018 , 11:27   Re: cpu usage problems cs:go dedicated server
Reply With Quote #16

i have xanmod kernel installed on debian 9 machine with i7-7700k, 32 gb ram and SSD's

26 slots 128 tick full using 90-95% and sometimes 103-106% (when round start and all players are alive) and cpu is running at max speed.

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 158
model name : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
stepping : 9
microcode : 0x5e
cpu MHz : 4500.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs :
bogomips : 8402.35
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

...


csgo is just bad programmed

tomorrow i switch back to ubuntu, as i remember it was better their.

Last edited by asdfxD; 02-12-2018 at 11:40.
asdfxD is offline
ohyeah1234
Junior Member
Join Date: Feb 2018
Old 02-12-2018 , 12:23   Re: cpu usage problems cs:go dedicated server
Reply With Quote #17

Well didnt help at all but thanks for trying help. Should i try get windows server license for 2008 r2 and try out that? But Right now i only have a chance test out a windows 8 server and like i said with cracked windows server 2016 i got isseus with sv but cpu was around 5%
Also i want host second server on same machine or should not even try that?

Last edited by ohyeah1234; 02-12-2018 at 12:24.
ohyeah1234 is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 02-24-2018 , 06:34   Re: cpu usage problems cs:go dedicated server
Reply With Quote #18

i use one "physical core" now for every server i am running.

server 1 -> cpu 0,4
server 2 -> cpu 1,5
server 3 -> cpu 2,6





so 128 tick and full server with 24 slots the cpu usage on that core is max 60%, without taskset it was 90%+ or higher over 100%.
asdfxD is offline
SHUFEN
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 03-07-2018 , 05:41   Re: cpu usage problems cs:go dedicated server
Reply With Quote #19

Actual Windows is better than ubuntu for CPU usage in CS:GO SRCDS.
Currently almost 64 slots servers using Windows.
SHUFEN is offline
Send a message via Skype™ to SHUFEN
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 03-12-2018 , 16:39   Re: cpu usage problems cs:go dedicated server
Reply With Quote #20

Quote:
Originally Posted by SHUFEN.jp View Post
Actual Windows is better than ubuntu for CPU usage in CS:GO SRCDS.
Currently almost 64 slots servers using Windows.
Can someone confirm this ? cuz i have a server running ubuntu 16.04 at 40 players the sv/var goes crazy with a xeon cpu @3.7ghz x4 .
Mikado 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:10.


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