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

High CPU Usage, Alternating Ticks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 03-16-2021 , 22:52   High CPU Usage, Alternating Ticks
Reply With Quote #1

Been running a server for about a year now and have started to have problems with cpu usage roaring above 100% during a high player count. Tried to pinpoint the problem for months now and ended up concluding that it was the host's fault, so I migrated hosts. I had the same problem so now I'm sure that I've done something stupid and so here I am.

I've attached both my server.cfg and a vprof dump for anyone that can help me out. Had to zip the vprof dump since it was too big to post directly. The main thing I thought was strange was that SV_Frame was being called only once every other frame, which, of course, doesn't seem right.

Any help is appreciated.

server.cfg
Spoiler
Attached Files
File Type: zip condebug.zip (217.3 KB, 53 views)
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-17-2021 , 03:19   Re: High CPU Usage, Alternating Ticks
Reply With Quote #2

Plugins ?
Have you tried run without MM:S and SM ?

What CPU ?
Bacardi is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 03-17-2021 , 10:44   Re: High CPU Usage, Alternating Ticks
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Plugins ?
Have you tried run without MM:S and SM ?

What CPU ?
I tried unloading a few plugins during peak hours and that relieved some server strain. Had someone else look at the vprof dump and I've currently removed most of the plugins that use a SetTransmit hook.

I try to avoid doing too much work during peak player hours because I don't want to interrupt players while they're playing, but that's when the server lags so I'm a bit stuck between a rock and a hard place.

For CPU its AMD EPYC 7601, running a single core Linode VPS.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline
AlinXD
Senior Member
Join Date: Feb 2016
Old 03-17-2021 , 11:23   Re: High CPU Usage, Alternating Ticks
Reply With Quote #4

How many players are you talking about? That CPU won't handle more than 10 players on an 128t server, especially on a VPS.
__________________
AlinXD is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 03-17-2021 , 11:52   Re: High CPU Usage, Alternating Ticks
Reply With Quote #5

Quote:
Originally Posted by AlinXD View Post
How many players are you talking about? That CPU won't handle more than 10 players on an 128t server, especially on a VPS.
Its 66 tick, and starts to lose framerate when player count reaches above 20 or so. Had the same issue on another VPS but I forget what processor they had. I didn't have this problem until a few months ago, however.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag 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 22:02.


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