Author Topic: Set different affinities for multiple instances of the same process  (Read 499 times)

Offline JayDubya

  • New
  • *
  • Posts: 2
Greetings, all,

I have a rather unique question that I haven't yet been able to find an answer to. I have a dual e5-2670 system that I sometimes use to encode my media library into h265 via HandBrake. Handbrake doesn't seem to scale particularly well above 8 processor cores and thus, I find I get better performance overall if I have 2 simultaneous instances of HandBrake open each running their own separate encodes with affinities for the cores on separate CPU. The problem is that whenever I buy a new boxed set of a tv show or a series and thus have multiple jobs queued up on each instance, the processor affinity for each instance resets upon starting the next encode in the queue. Is there any way that process lasso can a.) detect the number of instances of a process running already running, b.) detect the affinity of those already running processes, and c.) set the affinity of a new instance to the cores upon which an instance is not already running?

thanks!



Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5222
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Set different affinities for multiple instances of the same process
« Reply #1 on: September 14, 2018, 06:34:29 AM »
It is serependitious that you ask about this. A feature is almost done that may assist. Please hold for further information. I will try to push out a  beta very shortly.
Software Engineer. Bitsum LLC.

Offline JayDubya

  • New
  • *
  • Posts: 2
Re: Set different affinities for multiple instances of the same process
« Reply #2 on: September 14, 2018, 01:22:02 PM »
Excellent news, thanks!