惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Y
Y Combinator Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
D
Docker
罗磊的独立博客
Microsoft Security Blog
Microsoft Security Blog
D
DataBreaches.Net
B
Blog
Vercel News
Vercel News
Recent Announcements
Recent Announcements
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Proofpoint News Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
宝玉的分享
宝玉的分享

CachyOS Forum - Latest posts

Ran into a frozen black screen issue with latest update Niri Settings GUI Not Appearing Update to Gnome 50 and I'm getting black/blank screen on NVIDIA with hybrid graphics My JBL Quantum 350 headphones dont play sound 90% of the time on linux while on windows it plays audio 99% of the time Niri/Noctalia Shell notifications Getting a black screen after alt-tabbing too many times Rog-control-center Duplicate keyboard and mouse in system settings? Games running very poorly after first session (semi-solved, still need help though!) Amdgpu random hangs (does cachy perhaps plan to carry patches for this)? A little something. The adj script that replaces GNU fmt for non-ASCII text Mouse scroll wheel issues - ratchet Can't start steam after updates of today (17 April) Balena etcher or ventoy QEMU Bridge setup - Maybe already known but I found it pretty difficult to do and needed much reading Multi-boot install: what do I do about my /boot and /boot/efi partition? Do you collect all the solutions and post them on Wiki or Forum? System update - lts headers invalid or corrupted Sick to death of updates killing my games! I messed up my stuff again and cant download any thing now. error below Got Logitech MX4 with Haptic working in CachyOS Need help with the performance button on my Acer Nitro V16 AI Bailing out, you are at your own Troubles in the Starfield What is so special about the new Linux Kernel 7? "Issue: Display brightness is locked at a low level after waking from sleep on CachyOS (latest update) Balena etcher or ventoy Help with kernel update, emergency mode Issue happening only on wayland Display not recognised - low resolution
Nice does not set niceness of newly started processes
peterambos · 2026-05-21 · via CachyOS Forum - Latest posts

Hi!

I’m trying to run some encoding jobs in the background, with a raised niceness so they won’t interfere with my normal work. I’m using ab-av1 and when I tried to just run nice -n 19 ab-av1 […], both ps and btop showed that the child ffmpeg command was still running at a niceness of 9, so I investigated why this may be. First I though this is just because nice doesn’t propagate to child commands regularly, so I reran the thing as nice -n 19 zsh -c ‘ab-av1 […]’, hoping that ecapsulation it all in a seperate shell might help. This did not work. Both btop and ps show the zsh instance running at -4, ab-av1 running at 15, and the ffmpeg child command still running at 9. Using renice to change the niceness after starting the processes did seem to work reliably though, but did not actually force newly created child processes to also use the set niceness (i. e., when ab-av1 spawns a new ffmpeg instance, that is set to a niceness of 9 again, even when ab-av1 is set to 19).

I’ve read the man page for nice and did some more searching, but I couldn’t find anything on why setting a niceness may not be working. Why doesn’t nice seem to work? Is this a product of CachyOS performance improvements and scheduling? Or am I just doing something wrong?

All the best, and thanks in advance for any help.

I think the issue may be with systemd-oomd and Ananicy-cpp(Anarchism Auto Nice Daemon)

Ananicy dynamically rewires the niceness, IO priority, and cgroups. May want to look into that.

Thanks for the advice! Do you where I can find some proper documentation for ananicy-cpp? I couldn’t find any on the project page, and the Arch wiki is pretty sparse about it too…