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

Is srcds multi-core(or multi-threaded)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 05-07-2012 , 15:16   Is srcds multi-core(or multi-threaded)
Reply With Quote #1

Hello everybody, on my vps box i have 5 cores, but i run a very big ze server on one of them, there is 2 more cores empty, and i want to point all 3 cores toward the ze server.
Is there a way to do so?
Maxplayers: 50
Mod: Zombie Escape
Processor: intel xeon 1240 @ 3.3 ghz
ram: 2 gb
mbps upload/download: 100 mbp
Game: css
Operating System: Linux
Hopefully there is!
Thanks,
Gamemann
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!

Last edited by gamemann; 05-07-2012 at 15:29.
gamemann is offline
Send a message via Skype™ to gamemann
8088
Veteran Member
Join Date: Jan 2008
Old 05-07-2012 , 15:45   Re: Is srcds multi-core(or multi-threaded)
Reply With Quote #2

Yes, it is:
Quote:
Multi-threaded server code is now enabled by default under Linux (already enabled on Windows)
But according to this post most of the work is still done within one thread.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 05-07-2012 , 15:56   Re: Is srcds multi-core(or multi-threaded)
Reply With Quote #3

Quote:
Originally Posted by 8088 View Post
Yes, it is:
But according to this post most of the work is still done within one thread.
k do you know the command for it?
I put host_thread_mode 1 in server.cfg but i'm not sure if that is the right command.
Uh and one more question, is it multi-core by any chance?
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
8088
Veteran Member
Join Date: Jan 2008
Old 05-07-2012 , 16:19   Re: Is srcds multi-core(or multi-threaded)
Reply With Quote #4

Quote:
Originally Posted by gamemann View Post
k do you know the command for it?
No, but it appears to be enabled by default (unless newer updates have reverted this - I didn't check that).
Quote:
Uh and one more question, is it multi-core by any chance?
Multi-threaded implies that each thread can be assigned to a seperate core (or hyperthread). But normally operating systems are pretty good at finding the right balance, so I don't expect it to be useful to intervene - at least not unless you want to limit SRCDS.
__________________
steamID converter with OpenSearch browser plugin

Last edited by 8088; 05-07-2012 at 16:19.
8088 is offline
Reply



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 09:58.


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