Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How can I limit the number of Cores in multi-process programming

by ctilmes (Vicar)
on Nov 17, 2015 at 02:59 UTC ( #1147872=note: print w/replies, xml ) Need Help??


in reply to How can I limit the number of Cores in multi-process programming

On a unix box you can play with BSD::Resource (see setpriority()) or play with the nice command.

("nice perl myscript.pl" is a good start..)

  • Comment on Re: How can I limit the number of Cores in multi-process programming

Replies are listed 'Best First'.
Re^2: How can I limit the number of Cores in multi-process programming
by milesjin (Initiate) on Nov 17, 2015 at 03:52 UTC
    Thanks a lot. It's helpful.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1147872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2021-09-26 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?