Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Isolate FFMPEG on a dedicated CPU
12-01-2020, 17:13
Post: #1
Isolate FFMPEG on a dedicated CPU
Hi Simon,

I'm still working on tests with Minimserver and Linux, with the main purpose to test anything I'm think about.

Recently, after having installed a RT kernel, fix CPU freq and latency using frequtils, I got a real improvement on the sound.

Today I tried to use taskset to assign specific CPUs to minimserver and ffmpg.

So I had "isolcpus=2,3" to grub conf reserve the 2 last cores of my CPU to this purpose.
Then it was easy to set minimserver to use cpu 3 using "taskset -cp 3 MinimServer_ID"

Problems comes when I wanted to dedicate cpu 2 to ffmpeg. Because ffmpeg is launched at each song, with a different ID each time.

so I'd like to know if there is way to force ffmpeg to always use CPU2, whatever happen ?

Also, I didn't look at the way to get minim running on CPU 3 at each boot. Is this possible ?

Last thing : do you think that this is the right thing to do ?

Thank,
Manu
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Isolate FFMPEG on a dedicated CPU - lafuente - 12-01-2020 17:13

Forum Jump:


User(s) browsing this thread: 1 Guest(s)