gianni-rosato / rAV1ator

GUI utility for encoding with rav1e & Opus
GNU General Public License v3.0
19 stars 0 forks source link

Add an option for encoder nice level #1

Open Bl4cKn1gh7 opened 1 year ago

Bl4cKn1gh7 commented 1 year ago

Linux's CFS scheduler is generally tuned for max throughput over system responsiveness. An option to set a recommended background nice level or slider (from 0-19) would help with background encoding while doing other tasks, and prevent freezing on some systems.

gianni-rosato commented 1 year ago

Considering this isn't very common to experience with Aviator, I'm not going to be implementing it there as a priority. Here I'll consider it because of how heavy Av1an is, but specifying workers manually is another solution.

trixoniisama commented 1 year ago

I am a little confused, cause wouldn't that be av1an's job to introduce such a feature?

gianni-rosato commented 1 year ago

I've decided not to pursue this with Aviator. Instead i'll probably put a warning that lets people know AV1 encoding is resource intensive.

Bl4cKn1gh7 commented 1 year ago

I am a little confused, cause wouldn't that be av1an's job to introduce such a feature?

Child processes can have their nice levels controlled by the parent process. Of course you can change it from the CLI or system monitor, it would have been nice for rav1ator to handle it since its focusing on ease of use, as av1an currently doesn't have any controls for it.

trixoniisama commented 1 year ago

You have a point. I will try to controll the rav1e subprocesses, we'll see how it goes.