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

[CS:GO] var / sv tweaking


Post New Thread Reply   
 
Thread Tools Display Modes
napster_10
Senior Member
Join Date: May 2016
Old 09-16-2019 , 21:34   Re: [CS:GO] var / sv tweaking
Reply With Quote #51

thx gonna test it next days

@Maxximou5 is there any performance differences to stock kernel?
napster_10 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-16-2019 , 23:01   Re: [CS:GO] var / sv tweaking
Reply With Quote #52

Quote:
Originally Posted by napster_10 View Post
thx gonna test it next days

@Maxximou5 is there any performance differences to stock kernel?
Considerably. The standard with tuned being set was 0.005 and 0.025 without tuned. With 23 bots + 1 human there was a high variance of 0.100 and with deathmatch running or respawn, 0.300. This of course being on 128 tick and stress being set.

Last edited by Maxximou5; 09-16-2019 at 23:01.
Maxximou5 is offline
MAMAC
AlliedModders Donor
Join Date: Nov 2011
Location: Space
Old 09-17-2019 , 06:49   Re: [CS:GO] var / sv tweaking
Reply With Quote #53

Im using ip projectr kernel and never get problems sv on 34 players @128 tick are 5-7, var 0.001-0.300
MAMAC is offline
Send a message via MSN to MAMAC Send a message via Yahoo to MAMAC
napster_10
Senior Member
Join Date: May 2016
Old 09-17-2019 , 11:08   Re: [CS:GO] var / sv tweaking
Reply With Quote #54

@MAMAC what cpu
napster_10 is offline
napster_10
Senior Member
Join Date: May 2016
Old 09-17-2019 , 11:29   Re: [CS:GO] var / sv tweaking
Reply With Quote #55

ive tested the kernelv2 and for me its way worse

on machine1 (debian8, i7-4790k, tuned profile network-latency (for me latency performance is even worse)):
var fluctuating way more than stock kernel and higher and i have some new process which takes a lot load
what is that?


on machine2 (debian9, ..same like above):
servers down since today morning, cant even restart machine anymore..talkin to provider right now xD

Last edited by napster_10; 09-17-2019 at 11:30.
napster_10 is offline
ThePwnt
AlliedModders Donor
Join Date: Feb 2009
Location: Denmark
Old 09-17-2019 , 11:33   Re: [CS:GO] var / sv tweaking
Reply With Quote #56

Quote:
Originally Posted by napster_10 View Post
ive tested the kernelv2 and for me its way worse

on machine1 (debian8, i7-4790k, tuned profile network-latency (for me latency performance is even worse)):
var fluctuating way more than stock kernel and higher and i have some new process which takes a lot load
what is that?


on machine2 (debian9, ..same like above):
servers down since today morning, can't even restart machine anymore..talkin to provider right now xD
Normally Kernelv2 only supporting Debian 10! ;)
I'm testing xanmod on my second server (i9-9900K) and runs smooth.

Again, normally servers are running fine on "stock kernel" and just with latency-performance on tuned-adm! ;) (You should try that out!)

//Edited:
I will make 2 kernel versions with modified of:
1) No Forced Preemption = If you will run so much on the server!
2) Low-Latency = Stable 128tick/High Performance.

Links will be updated on new post (Tomorrow 18-09!)

Last edited by ThePwnt; 09-17-2019 at 15:20. Reason: Added date, links will be fixed tomorrow 18-09. ;)
ThePwnt is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 09-17-2019 , 11:34   Re: [CS:GO] var / sv tweaking
Reply With Quote #57

Quote:
Originally Posted by Maxximou5 View Post
Tested on the following running ThePwnt's kernelv2:
Processor: Intel® Core™ i7-4790K Processor @ 4.40 GHz
OS/Distro: Debian 10 (Buster)
Tickrate: 128
Variance: 0.002 @ 24 humans | 0.003 @ 1 human + 23 bots with sv_stressbots 1

Processor: Intel® Core™ i7-6700K Processor @ 4.20 GHz
OS/Distro: Debian 10 (Buster)
Tickrate: 128
Variance: 0.002 @ 24 humans | 0.003 @ 1 human + 23 bots with sv_stressbots 1

Processor: Intel® Core™ i7-8700K Processor @ 4.70 GHz
OS/Distro: Debian 10 (Buster)
Tickrate: 128
Variance: 0.001 @ 24 humans | 0.001 @ 1 human + 23 bots with sv_stressbots 1
All servers are running new installations of Debian 10 with the following:
  • Tuned (version 2.10.0) - Profile: latency-performance
  • Docker (version 19.03.2) - CS:GO Debian 10.0 image
  • Kernel (version 5.2.10-rt5)
All docker CS:GO images are set for 24 slots @ 128 tick.
  • SourceMod Version: 1.10.0.6441
  • Metamod:Source Version: 1.11.0-dev+1130
Server rates:
Code:
fps_max "0"                  // Sets the servers max fps
sv_minrate "128000"          // Min bandwidth rate allowed on server, 0 == unlimited
sv_maxrate "0"               // Max bandwidth rate allowed on server, 0 == unlimited
sv_mincmdrate "128"          // This sets the minimum value for cl_cmdrate. 0 == unlimited
sv_maxupdaterate "128"       // Mmaximum updates per second that the server will allow
sv_minupdaterate "128"       // Minimum updates per second that the server will allow
sv_parallel_sendsnapshot "1" // Controls whether the sending of network data is done on the main thread
Note: There is a high variance for 2 seconds at round start with 23 bots.

If anyone has suggestions for a good monitoring service for CS:GO in terms of slots, tickrate, and variance, I'll be able to measure this much easier.
Is this with or without HT? Do you assign cores/threads?
Ejziponken is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-17-2019 , 15:19   Re: [CS:GO] var / sv tweaking
Reply With Quote #58

Quote:
Originally Posted by Ejziponken View Post
Is this with or without HT? Do you assign cores/threads?
Hyper-Threading is enabled.
Not assigned.
Maxximou5 is offline
MAMAC
AlliedModders Donor
Join Date: Nov 2011
Location: Space
Old 09-18-2019 , 03:52   Re: [CS:GO] var / sv tweaking
Reply With Quote #59

Quote:
Originally Posted by napster_10 View Post
@MAMAC what cpu
i9 9900k
MAMAC is offline
Send a message via MSN to MAMAC Send a message via Yahoo to MAMAC
ThePwnt
AlliedModders Donor
Join Date: Feb 2009
Location: Denmark
Old 09-18-2019 , 08:09   Re: [CS:GO] var / sv tweaking
Reply With Quote #60

From my earlier post: #56

I had edited about, I will post links to the new kernel versions. (Which happens now!)

Remember, these configs are different(and should be better than earlier versions!)

Kernelv3.0-nfp
Kernelv3.0-lly

NFP: No Forced Preemption: Run as many servers you can.
LLY: Low-Latency Config: Stable tickrate/High Performance.
  • VAR can jump between 0.006-0.007 instantly with tuned-adm profile latency-performance!
  • VAR can jump between 0.000-0.001 instantly with tuned-adm profile latency-performance and resched.sh script!

Test it out! ;)
  • Works fine with i7-9700K & 2x i9-9900K (Tested on own servers!) - Tested with; Ubuntu 19.04/19.10 & Debian 10

Resched.sh Script -
Quote:
nano /where/you/will/create/resched.sh(or call it random!)
Code:
#!/bin/bash
# __________________________________________________________________________________________
# ******  Priority Servers. - ( Add other Server Process names, u can add here.) ***********
PROCESS_NAMES=(
  srcds_linux
);

for pid in $(pidof ${PROCESS_NAMES[*]}) ;do
  chrt -ar -p 98 $pid
  renice -20 -p $pid
done


# __________________________________________________________________________________________
# ****** NETWORK Optimizer for KERNEL. - (no-delay data transfer.) **********************
for pid in $(ps ax | grep -E "\s+\[irq\/[0-9]+-\S+[0-9]+(-.+|)\]$" | awk '{print $1}'); do
  chrt -r -p 98 $pid
  renice 1 -p $pid
done


# __________________________________________________________________________________________
# ****** ksoftirqd scheduling Optimizer for KERNEL. - ( ) *******************************
for pid in $(pgrep ksoftirqd); do
  chrt -f -p 50 $pid
done


# __________________________________________________________________________________________
# ****** kworker scheduling Optimizer for KERNEL. - ( ) *********************************
PIDS=`ps ax | grep kworker | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
for p in $PIDS; do
  renice -20 -p $p
done


# __________________________________________________________________________________________
# ****** TOP Process Optimizer for KERNEL. - ( ) ****************************************
for pid in $(pidof top); do
  chrt -ar -p 54 $pid
done

Last edited by ThePwnt; 09-18-2019 at 10:37. Reason: Added OS version.
ThePwnt is offline
Reply


Thread Tools
Display Modes

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 09:33.


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