Raised This Month: $32 Target: $400
 8% 

Solved CS:GO server performing "better" when stress-tested?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
probbzy
Junior Member
Join Date: Jan 2018
Location: Norway
Old 01-16-2018 , 09:21   CS:GO server performing "better" when stress-tested?
Reply With Quote #1

Hello!

I recently set up a csgo server on an old machine and it's working surprisingly well. I cleared out core 1 and dedicated it to only the server. I took a note of the var and sv when there are 1/12 players online:
NI: -20
PRI: RT
Players: 1/12
Core: 1

Pictures:






Then I started to stresstest cpu 0 (server is on core 1) and got these stats:
]NI: -20
PRI: RT
Players: 1/12
Core: 1

Pictures:




As you can see my sv and var went down. I though it might be the cpu-frequency that was fluctuating so i forced it to 2.7GHz, but the results was the same.

The server is hosted on an old laptop:
hp elitebook 2560p
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
4GB 1333MHz DDR3 RAM
Its plugged into the wall without a battery attached.

OS: Linux laptop 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux

I disabled Intel HT in the bios but i could not find any power settings.
The server will never have more than 12/12 players online and I'm pretty sure that it will handle that.


(Sorry for bad English ! I'm from Norway)

Last edited by probbzy; 01-20-2018 at 16:45. Reason: Updated an image
probbzy is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 01-19-2018 , 15:27   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #2

Not that I have a solution, but what is your stress testing method?
__________________
retired
shavit is offline
probbzy
Junior Member
Join Date: Jan 2018
Location: Norway
Old 01-19-2018 , 16:10   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #3

I use a program called "stress": https://linux.die.net/man/1/stress, and used the command:
Quote:
sudo stress -c 1
I also used the command:
Quote:
fulload() { dd if=/dev/zero of=/dev/null & }; fulload; read; killall dd
Got the same results with both methods.

Last edited by probbzy; 01-20-2018 at 06:13. Reason: Apparently I can't spell results...
probbzy is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 01-20-2018 , 08:18   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #4

i tested the same with stress -c 1 and the sv/var goes instantly down to better values. better sv and var 0.001-0.007 at all servers.

srsly

Last edited by asdfxD; 01-20-2018 at 08:21.
asdfxD is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 01-20-2018 , 11:53   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #5

wtf?
does this means that a server with many fully loaded game servers performs better than a server with only one game server?
i have doubts.
then what is the explanation?

@probbzy, @asdfxD: what tuned profile do you have ? (tuned-adm active)

LE: i'm gonna test this tomorrow.

Last edited by sphinx; 01-20-2018 at 12:11.
sphinx is offline
probbzy
Junior Member
Join Date: Jan 2018
Location: Norway
Old 01-20-2018 , 16:05   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #6

I've actually never heard about "tuned-adm" so I guess its default.. I'm quite new to the Linux scene (only customized kernel ect..), but I got better var/sv on this machine when I switched from Windows.
probbzy is offline
probbzy
Junior Member
Join Date: Jan 2018
Location: Norway
Old 01-20-2018 , 16:45   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #7

@sphinx, you just solved everything...
By installing tuned and/or tuned-ubuntu i set the tuned-adm to latency-performance and I got even better performance. My cpu is at max 5% use when 1/12 players are online.. One problem is that the cpu temp goes to 85°C, wich I dont really like.
Profile (Best performance, but very high temp):
Quote:
tuned-adm profile latency-performance
Lower performance, lower temp:
Set the cpu govenor to conservative or userspace and force it to a lower frequency.

Cheers!

Last edited by probbzy; 01-20-2018 at 20:55. Reason: missinformation
probbzy is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 01-21-2018 , 02:03   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #8

@probbzy: this explains everything.
however, do you still used stress after set it up the latency-performance profile?

Last edited by sphinx; 01-21-2018 at 02:03.
sphinx is offline
probbzy
Junior Member
Join Date: Jan 2018
Location: Norway
Old 01-21-2018 , 05:55   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #9

I tried with and without. Had the same var/sv
probbzy is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 01-21-2018 , 06:06   Re: CS:GO server performing "better" when stress-tested?
Reply With Quote #10

perfect!
settings a proper profile with tuned is compulsory for getting the best performance.
running the stress test you actually forced the cpu to run at maximum performance, hence the improvement.
sphinx 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 05:54.


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