Absurd Minds

More than 100 years without a motto.
It is currently 24 Nov 2024 13:59

All times are UTC-04:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 02 Dec 2015 07:57 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
Title says all (I think)

_________________
Server list
Donate


Top
   
PostPosted: 02 Dec 2015 09:13 
Offline
User avatar

Joined: 24 Feb 2015 09:39
Posts: 1081
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.

_________________
Image


Top
   
PostPosted: 02 Dec 2015 09:28 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
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?

_________________
Server list
Donate


Top
   
PostPosted: 02 Dec 2015 10:38 
Offline
User avatar

Joined: 24 Feb 2015 09:39
Posts: 1081
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.

_________________
Image


Top
   
PostPosted: 02 Dec 2015 11:20 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
Tell me how

_________________
Server list
Donate


Top
   
PostPosted: 02 Dec 2015 11:35 
Offline
User avatar

Joined: 24 Feb 2015 09:39
Posts: 1081
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.

_________________
Image


Top
   
PostPosted: 02 Dec 2015 12:45 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
Here are some examples of what ours look like.

viewtopic.php?t=1733

_________________
Server list
Donate


Top
   
PostPosted: 02 Dec 2015 13:10 
Offline
User avatar

Joined: 24 Feb 2015 09:39
Posts: 1081
Ok, I'll check it out when I get home, may not even then due to work I have to do.

_________________
Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC-04:00


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited