View Single Post
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