Jump to content

Runing heavy applications in different cores


Recommended Posts

Posted

I have a problem at work and I am a bit lost.

We need to run multiple instances of the same application. This app does heavy calculations that takes 8-10 hours to solve and mostly only use one core heavily.

We have a Desktop PC with a i9-12900KS in a MSI MAG Z690 mobo.

Hyperthreading is disabled. So 8 physical P-cores and 8 physical E-cores.

That CPU has a very good Singlethread performance, which is key to that kind of application.

 

12900KS.thumb.png.5db85a95f571ce6bbd168fd7cec2ab88.png

 

I don´t know why but when I launch 2 or 3 (or more) paralell instances of that app, all of them tend to run in the same core. Making all of them to run slower.

 

If I set the affinity for each app (when they have been lunched, giving different P-Cores to each of them) , then, they run very well (ie as fast as when I only run one app instance). But I need to do it manually.(we have to run hundreds of instances, so manual is not an option)

 

I tried the same apps in another machine we have in the office with a Ryzen 5900X, and that CPU automatically asign each instance to a free different core, so global performance is optimum.

 

But that Intel 12900KS do not manage the multiple instances well among the cores.

I am sure it is something related to the BIOS config or maybe windows.

 

Any help will be apreciated.

 

@DBCOOPER011 @firdimigdi 

Posted

I'm not a pro at this stuff but if I remember correctly, I think you can assign programs to specific cores or specific sets of cores in project lasso, amongst other things...

  • Thanks 1
Posted

Many thanks, will try process lasso.

Posted

Hello @chiliwili69

 

It can be done with via an Autohotkey script.  AHK is a powerful scripting language for automation in a windows environment.

Every instance of your target app will have its own unique process ID (PID), and AHK can work with those.

I don't have spare time to code right now,  but perhaps this find is useful for you:

 

 

  • Thanks 1
  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...