Raised This Month: $ Target: $400
 0% 

fps fluctation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loki_himself
Member
Join Date: Nov 2021
Old 06-21-2022 , 10:15   fps fluctation
Reply With Quote #1

hi my server has a high fps fluctation: (all stats result executed within 3 seconds) going from 800-100 and back

PHP Code:
stats
CPU In Out Uptime Users FPS Players
50.00 97.31 219.14 250 267 368.04 15
stats
CPU In Out Uptime Users FPS Players
50.00 93.49 205.82 250 267 249.01 15
stats
CPU In Out Uptime Users FPS Players
50.00 91.52 199.22 250 267 115.26 15
stats
CPU In Out Uptime Users FPS Players
54.75 90.59 192.65 250 267 140.44 15
stats
CPU In Out Uptime Users FPS Players
54.75 91.33 192.63 250 267 808.22 15
stats
CPU In Out Uptime Users FPS Players
54.75 93.71 198.61 250 267 815.07 15
stats
CPU In Out Uptime Users FPS Players
54.75 96.44 207.97 250 267 120.89 15
stats
CPU In Out Uptime Users FPS Players
54.75 97.11 212.32 250 267 823.72 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.07 211.46 250 267 165.42 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.13 209.63 250 267 822.49 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.31 213.33 250 267 174.70 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.77 218.27 250 267 823.70 15 

what is the simplest cause for this? lets assume the hosting provider is not the fault.

PHP Code:
sys_ticrate "1000" // def 1000, last 10000, 10k = 1000 fps
fps_max "100.0" // was 100.0
sv_maxunlag "0.5" // was 0.5
sv_maxspeed "360" // 425

sv_minrate "15000" // def 0, was 20k
sv_maxrate "100000" // def 0, max 100k
sv_minupdaterate "50" // def 10, was 80
sv_maxupdaterate "102" // def 60, max 102 

sv_echo_unknown_cmd "0"
sv_rcon_condebug "1"
sv_rehlds_movecmdrate_max_avg "1500"
sv_rehlds_movecmdrate_max_burst "-1"
sv_rehlds_stringcmdrate_max_avg "80"
sv_rehlds_stringcmdrate_max_burst "-1"

mp_consistency "1" 


PHP Code:
version
Protocol version 48
Exe version 1.1.2.7
/Stdio (cstrike)
ReHLDS version3.10.0.761-dev
Build date
14:03:01 Jul 25 2021 (2661)
Build fromhttps://github.com/dreamstalker/rehlds/commit/aaffe43 
PHP Code:
amxx version
AMX Mod X 1.9.0.5249 
(http://www.amxmodx.org)
Authors:
David "BAILOPAN" AndersonPavol "PM OnoTo" Marko
Felix 
"SniperBeamer" GeyerJonny "Got His Gun" Bergstrom
Lukasz 
"SidLuke" WlasinskiChristian "Basic-Master" Hammacher
Borja 
"faluco" FerrerScott "DS" Ehlert
Compiled
Jun 19 2019 13:31:53
Built from
https://github.com/alliedmodders/amxmodx/commit/6cecb34
Build ID5249:6cecb34
Core mode
JIT+ASM32 
PHP Code:
meta version
Metamod v1.21p37 2013
/05/30 (5:13)
by Will Day
http
://www.metamod.org/
PatchMetamod-(mm-pv37
by Jussi Kivilinna
http
://metamod-p.sourceforge.net/
compiledMay 30 201311:41:16 EET (optimized
PHP Code:
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
1AMX Mod X RUN amxmodx_mm_i386v1.9.0.5 ini Start ANY
2POD-Bot mm RUN podbot_mm_i386.s vV3B22 ini Chlvl ANY
3Ham Sandwich RUN hamsandwich_amxx v1.9.0.5 pl1 ANY ANY
4CSX RUN csx_amxx_i386.so v1.9.0.5 pl1 ANY ANY
5CSDM2 RUN csdm_amxx_i386.s v2.1.3cpl1 ANY ANY
6GeoIPRUN geoip_amxx_i386v1.3.0 pl1 ANY ANY
7Fun RUN fun_amxx_i386.so v1.9.0.5 pl1 ANY ANY
8FakeMeta RUN fakemeta_amxx_i3 v1.9.0.5 pl1 ANY ANY
9CStrike RUN cstrike_amxx_i38 v1.9.0.5 pl1 ANY ANY
[10Engine RUN engine_amxx_i386 v1.9.0.5 pl1 ANY ANY
10 plugins
10 running 
PHP Code:
amxx list
Currently loaded plugins:
name version author file status
1Admin Base 1.9.0.5249 AMXX Dev Team admin.amxx running
2Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
3Menus Front-End 1.9.0.5249 AMXX Dev Team menufront.amxx running
4Players Menu 1.9.0.5249 AMXX Dev Team plmenu.amxx running
5Maps Menu 1.9.0.5249 AMXX Dev Team mapsmenu.amxx running
6Plugin Menu 1.9.0.5249 AMXX Dev Team pluginmenu.amxx running
7Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
8Anti Flood 1.9.0.5249 AMXX Dev Team antiflood.amxx running
9NextMap 1.9.0.5249 AMXX Dev Team nextmap.amxx running
10Nextmap Chooser 1.9.0.5249 AMXX Dev Team mapchooser.amxx running
11TimeLeft 1.9.0.5249 AMXX Dev Team timeleft.amxx running
12Stats Configuration 1.9.0.5249 AMXX Dev Team statscfg.amxx running
13StatsX 1.9.0.5249 AMXX Dev Team statsx.amxx running
15Ultimate Chat 1.52 [ --{[email protected] ] ultimate_chat.a running
16Ultimate ChatTag 1.34 [ --{[email protected] ] ultimate_chat_t running
17Admin Spectator ESP 1.3 KoST admin_spec_esprunning
18Parachute 1.3 KRoT@L/JTP10181 amx_parachute.a running
19ServerAimBot 0.6.5 Chuvi ServerAimBot.am running
20Auto Join on Connect 0.1 VEN auto_join_on_co running
21silentnades 1.0 regalis silent_nades.am running
22Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
23Admin Set Score 0.0.1 ConnorMcLeod setscore.amxx running
24ADVQUAKE SOUNDS (ENA 5.0 HATTRICK (HTTRCK QuakeSounds.amx running
25Aimbot Detection x bugsy aimbotdetect_14 running
27Building Blocks 1.4 Emp` blocks.amxx running
[ 28] RC BaseChanger freesrv custom rc_basechanger. running
[ 29] Molotov Cocktail 3.30 DynamicBits molotov_cocktai running
[ 30] Kill assist (for CS) 1.2b Digi (www.thehun kill_assist.amx running
[ 31] Ping Faker 1.5a MeRcyLeZZ pingfaker.amxx running
[ 32] Admin Screen 2 1.1 uTg | bigpapajig admin_screen2.a running
[ 33] CSDM Main 2.1.3d CSDM Team csdm_main.amxx running
[ 34] CSDM Equip 2.1.3d CSDM Team csdm_equip.amxx running
[ 35] CSDM Spawns 2.1.3d CSDM Team csdm_spawn_pres running
[ 36] CSDM Misc 2.1.3d CSDM Team csdm_misc.amxx running
[ 37] CSDM Stripper 2.1.3d KWo csdm_stripper.a running
[ 38] CSDM Protection 2.1.3d BAILOPAN csdm_protection running
38 plugins, 38 running 


i might add that the most called functions are public client_PostThink(id) and public client_PreThink(id) since I use a multijump feature and a bhop feature, and parachute. but there is no way to use those without think cause its frame by frame calc?

Last edited by loki_himself; 06-21-2022 at 11:19.
loki_himself is offline
Infamanious
Member
Join Date: Dec 2005
Location: discord.gg/9XrfhnbZ
Old 06-22-2022 , 03:48   Re: fps fluctation
Reply With Quote #2

Dont think im qualified to post here but the extra bump wont do any harm. How can you assume that its not the hosting providers fault? Or the plugins fault? Have you diagnosed each and every plugin separately to see if it affects CPU usage/fps? What operating system is the server using? Ram, cpu, etc? ( probably not that relevant since hlds is sparse on that stuff) Have you tried using tuned utilities? What about high performance linux kernels like linux TKG or xanmod? Are there any HLDS servers out there running a large amount of plugins that can handle a stable fps? Is it even possible to get stable fps? I'd go through every single scenario and test out what lags the server while monitoring htop and checking the server stats in real time. If your plugins arent causing 100% cpu usage spikes then its most likely not the plugins.

Last edited by Infamanious; 06-22-2022 at 04:03.
Infamanious is offline
loki_himself
Member
Join Date: Nov 2021
Old 06-22-2022 , 09:20   Re: fps fluctation
Reply With Quote #3

i have no linux cmd/server access, only ftp and a gamepanel / im renting this server on a host who runs multiple cs server together, he doesnt even tell me how much cpu i get, its all shared.

basically i want to know the most common causes for fps fluctation? or is it common for fps to change this much on a running server? then its all fine. but it makes the server lag, so i guess not. on a empty server with 2 podbots i get 850 fps stable. so i must assume its caused my cpu load?

as i said the plugins are all checked and the "think" functions are the ones executed the most. (i put a log_amx in every function once) but since those multijump and parachute are approved plugins, widely used, i doubt they can cause so much trouble?

what are "tuned utilities"?

overall looking at the stats, how can the cpu stay the same but fps drops -700 fps ???

PHP Code:
CPU In Out Uptime Users FPS Players
57.80 97.31 213.33 250 267 174.70 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.77 218.27 250 267 823.70 15 

Last edited by loki_himself; 06-22-2022 at 09:21.
loki_himself is offline
Infamanious
Member
Join Date: Dec 2005
Location: discord.gg/9XrfhnbZ
Old 06-22-2022 , 21:47   Re: fps fluctation
Reply With Quote #4

Quote:
Originally Posted by loki_himself View Post
i have no linux cmd/server access, only ftp and a gamepanel / im renting this server on a host who runs multiple cs server together, he doesnt even tell me how much cpu i get, its all shared.

basically i want to know the most common causes for fps fluctation? or is it common for fps to change this much on a running server? then its all fine. but it makes the server lag, so i guess not. on a empty server with 2 podbots i get 850 fps stable. so i must assume its caused my cpu load?

as i said the plugins are all checked and the "think" functions are the ones executed the most. (i put a log_amx in every function once) but since those multijump and parachute are approved plugins, widely used, i doubt they can cause so much trouble?

what are "tuned utilities"?

overall looking at the stats, how can the cpu stay the same but fps drops -700 fps ???

PHP Code:
CPU In Out Uptime Users FPS Players
57.80 97.31 213.33 250 267 174.70 15
stats
CPU In Out Uptime Users FPS Players
57.80 97.77 218.27 250 267 823.70 15 
https://linux.die.net/man/1/tuned-adm

It is a bit weird to have 50 % cpu usage with your sys_ticrate at 1000. Im running a quad core 3.5 ghz processor and i only get 35 percent usage @ 2000 fps sys_ticrate 2200. Unless im mistaken and the percentage is proportional to the clock speed of your processor, then the plugins or your shared host environment is contributing to it. Since your provider doesn't give you any specs about your host machine then its probable to assume your running under a VPS with a low end cpu. I could host a duplicate of your server to test out the load on my system if you'd like to upload your addons/necessary sound files etc,, folder and send it to me in a PM

This would be a good opportunity test out the differences between VPS servers and dedicated setups with more control over your host environment. It would also give you some data and experience on why its better to run your own dedicated box . Im way to lazy to do a diagnostic test from scratch at this point but i've been contemplating starting a vanilla classic cs 1.6 game server. Not many run at high FPS these days...

Last edited by Infamanious; 06-22-2022 at 21:54.
Infamanious is offline
loki_himself
Member
Join Date: Nov 2021
Old 06-23-2022 , 11:15   Re: fps fluctation
Reply With Quote #5

wow im surprised yeah i would gladly take your offer on that one, let me pm you
loki_himself 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 01:39.


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