Jump to content
Sign in to follow this  
One and a half

Music Player - How to allocate a single processor?

Recommended Posts

If a PC has two (Xeon) processors running Win10 or Win2016/2019, is it possible to:

 

a) Have one CPU to take care of the OS, file management and so on

b) Have the other CPU only process music player software

 

Each CPU has multiple processors, that's fine, but how to separate processes from one physical process. The thinking here is to reduce the overheads, and not be interrupted with mice, keyboard or other distractions.

 

As an example, dbpoweramp has a selection of which CPUs to choose when converting say WAV to FLAC and leave a couple CPU alone to manage the OS. The more CPUs are chosen, the quicker the job is completed, 'many hands make light work'.


AS Profile Equipment List        Say NO to MQA

Share this post


Link to post
Share on other sites
2 hours ago, One and a half said:

If a PC has two (Xeon) processors running Win10 or Win2016/2019, is it possible to:

 

a) Have one CPU to take care of the OS, file management and so on

b) Have the other CPU only process music player software

 

Each CPU has multiple processors, that's fine, but how to separate processes from one physical process. The thinking here is to reduce the overheads, and not be interrupted with mice, keyboard or other distractions.

 

As an example, dbpoweramp has a selection of which CPUs to choose when converting say WAV to FLAC and leave a couple CPU alone to manage the OS. The more CPUs are chosen, the quicker the job is completed, 'many hands make light work'.

Process Lasso

Share this post


Link to post
Share on other sites
2 hours ago, One and a half said:

@bobflood, that's what I'm after something like this screen, top stuff :)

 

image.png.8280ccfd549d97bdaa9314496aebc52d.png

Have fun with it. There are a lot of ways to customize a whole lot of things other than just core affinity. He also has another companion program called Park Control to prevent core parking.

Share this post


Link to post
Share on other sites
3 hours ago, yamamoto2002 said:

 

Upon setting process affinity to music player app, It is better to check your motherboard manual which CPU is connected to the sound device, to prevent unnecessary inter-process traffic on quick path interconnect or ultra path interconnect ... to ease your mind 😀

 

Here is an example of the motherboard I use :

DualXeonMotherboard.thumb.png.0fbc84bea8f3db6c1c32ce0ee632c4b1.png

 

BTW On Windows running on NUMA system, when the process running on CPU2 requests memory, OS allocates the physical memory of the DRAM connected to CPU2. This info may ease your mind further

 

But ... I read somewhere, newer CPUs have power saving feature, something like it lowers the clock of the several cores to the deep sleep state and keep the few other cores clock rather normal, and OS does not assign tasks to deep sleep state core because the waking up deep sleep core takes some power. Manually setting process affinity disturb this functionality and overall system efficiency may be decreased

 

 

 

Great read thank you,  am intending to use slightly older Xeon, the poor efficiency types. Yes, looking at the two sets of RAM, each feeds its own CPU, which is OK,  how it should be anyway, makes sense.


AS Profile Equipment List        Say NO to MQA

Share this post


Link to post
Share on other sites
29 minutes ago, One and a half said:

Great read thank you,  am intending to use slightly older Xeon, the poor efficiency types. Yes, looking at the two sets of RAM, each feeds its own CPU, which is OK,  how it should be anyway, makes sense.

The Park Control program can override any reductions on cores. Very easy to setup and use.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  



×
×
  • Create New...