Assigning Process to Cores using Perl -
How can I assign processes to specific cores? I have 16 core machines and many cores need to allocate processes, yet some of them are going to run on the same core.
Parallel :: ForkManager can do this? Or how do you do with using standard pearl distribution?
thanks
thanks
Under Windows, you You can use Win32 :: Process
, there is a subtopic called SetProcessAffinityMask
, which you should do.
Under Linux, look for a Sys :: CpuAffinity
.
Comments
Post a Comment