Absurd Minds
http://forums.absurdminds.net/

[Ubuntu] How to dedicate one thread to one game server?
http://forums.absurdminds.net/viewtopic.php?f=18&t=3385
Page 1 of 1

Author:  Amaroq [ 02 Dec 2015 07:57 ]
Post subject:  [Ubuntu] How to dedicate one thread to one game server?

Title says all (I think)

Author:  GoatMips [ 02 Dec 2015 09:13 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

http://xmodulo.com/run-program-process- ... linux.html

I don't suggest assigning threads to specific cores. The OS and the chips these days are perfectly fine at distributing processes and loads.

Author:  Amaroq [ 02 Dec 2015 09:28 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

Are you saying I should assign it to a core and not a thread? Or are you saying I shouldn't do it at all?

Would I have to do this every time I restarted the server? Wouldn't the process ID be different every time? If so, how could I automate it?

Author:  GoatMips [ 02 Dec 2015 10:38 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

After some reading it seems like it may be okay to do, it's just that from my experience the onboard handler and the OS itself are great at distributing load.

PIDs do change. However, if you need it to always be the same, you can make and/or edit the launch script of whatever it is to fetch the PID and apply the specific process to a thread.

Author:  Amaroq [ 02 Dec 2015 11:20 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

Tell me how

Author:  GoatMips [ 02 Dec 2015 11:35 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

I'll have to see the launch scripts and such myself. If it is a startcsserver.sh type thing then i can have a bash execute script execute the startcsserver.sh, find the PID, then set the PID.

Author:  Amaroq [ 02 Dec 2015 12:45 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

Here are some examples of what ours look like.

viewtopic.php?t=1733

Author:  GoatMips [ 02 Dec 2015 13:10 ]
Post subject:  Re: [Ubuntu] How to dedicate one thread to one game server?

Ok, I'll check it out when I get home, may not even then due to work I have to do.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/