Raised This Month: $ Target: $400
 0% 

HLDS cores/threads


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 02-12-2022 , 21:59   Re: HLDS cores/threads
Reply With Quote #1

While it doesn't support multi-thread. You can assign a specific core to the HLDS process. Read up on CPU affinity and as it pertains to your particular build of Linux. HLDS defaults on core 0.

With no multi thread support it wont offload to the others like your OS does. So what you can do at the very least, is to keep HLDS from being shared with the normal OS operations by setting it to an affinity other than 0.

This will free up some processing power for you HLDS. ( Best we can do here )

Once done make sure to renice the HLDS process so it takes processing priority over the affinity you set it to.

Hope you find this helpful.

PHP Code:
Processor affinity, or CPU pinning or "cache affinity"enables the binding and unbinding of a process or a thread to a central processing unit or a range of CPUsso that the process or thread will execute only on the designated CPU or CPUs rather than any CPU
iclassdon is offline
Send a message via MSN to iclassdon
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 03-26-2022 , 03:57   Re: HLDS cores/threads
Reply With Quote #2

doesnt rehlds support multicore?
at least it looks like it to me on linux when server has high-load (80%+) and i check via htop....
AllMassive is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 05-21-2022 , 15:13   Re: HLDS cores/threads
Reply With Quote #3

Quote:
Originally Posted by AllMassive View Post
doesnt rehlds support multicore?
at least it looks like it to me on linux when server has high-load (80%+) and i check via htop....
No it doesn't
It's the limit of the engine itself - GoldSrc is just too old
__________________
simanovich 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 10:09.


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