Commit graph

5 commits

Author SHA1 Message Date
Grioghar
5f6275baea qos: match on cmdline, and never throttle critical dependencies
Two gaps found while using this against a real media server.

Some programs do very different jobs under one name. Plex runs credits
detection with the same 'Plex Transcoder' binary that serves playback,
reading the same file, so neither comm nor path separates them. Adds a
cmdline match field, and quoting so a pattern can contain spaces --
without which 'Plex Transcoder' cannot be written down at all.

Adds a 'critical' class flag for services playback synchronously waits
on. Plex's EasyAudioEncoder is the case: a transcode of EAC3 audio
writes to EAE and blocks. Such a helper looks like background work, so
a governor protecting playback will throttle or suspend it and hang the
stream waiting behind it. A critical class is never delayed.

Also fixes qos.max-sleepers auto-sizing, which read the requested
thread count rather than the resolved one and so capped at 1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-09 17:21:57 -05:00
Grioghar
34e57dbb8a qos: process-classified I/O priority and rate limiting
Adds a QoS engine that attributes each read/write to the calling
process, matches it against a ruleset, and applies that class's ioprio
and nice value to the worker thread for the duration of the request.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-09 16:34:55 -05:00
Antonio SJ Musumeci
f33e78bc24 Cleanup procfs and abort on critical issues 2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
a5a6c892b9 Update copyright headers 2026-03-02 01:09:16 -05:00
trapexit
e310d24615
Add support for FUSE passthrough
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run
2025-06-05 23:47:42 -05:00
Renamed from src/procfs_get_name.hpp (Browse further)