[GH-ISSUE #283] Set niceness #196

Closed
opened 2026-05-05 05:17:47 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @nick75e on GitHub (Feb 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/283

Hi!

If possible, I'd like an option to set a different niceness to processes e.g: nice -20 and --nice=-20.

Thanks

Originally created by @nick75e on GitHub (Feb 8, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/283 Hi! If possible, I'd like an option to set a different niceness to processes e.g: `nice -20` and `--nice=-20`. Thanks
gitea-mirror 2026-05-05 05:17:47 -06:00
Author
Owner

@voidzero commented on GitHub (Feb 9, 2016):

To add to this, maybe task scheduling chrt(1), cpu affinity taskset(1), IO scheduling ionice(1) would also be... nice to have. And perhaps setarch(8) with which people can change personality flags among other things.

For scheduling also see sched(7), in short, chrt is nice for different scheduling reasons: users can choose SCHED_BATCH and perhaps also SCHED_FIFO, SCHED_RR depending on /etc/security/limits.conf.

(Note for whom it may concern; words like this(n) refer to manual pages. Example: man 1 chrt.)

<!-- gh-comment-id:181825589 --> @voidzero commented on GitHub (Feb 9, 2016): To add to this, maybe task scheduling `chrt(1)`, cpu affinity `taskset(1)`, IO scheduling `ionice(1)` would also be... nice to have. And perhaps `setarch(8)` with which people can change personality flags among other things. For scheduling also see `sched(7)`, in short, chrt is nice for different scheduling reasons: users can choose SCHED_BATCH and perhaps also SCHED_FIFO, SCHED_RR depending on /etc/security/limits.conf. (Note for whom it may concern; words like `this(n)` refer to manual pages. Example: `man 1 chrt`.)
Author
Owner

@netblue30 commented on GitHub (Feb 11, 2016):

Implemented in git!

<!-- gh-comment-id:182902683 --> @netblue30 commented on GitHub (Feb 11, 2016): Implemented in git!
Author
Owner

@nick75e commented on GitHub (Feb 12, 2016):

Thanks!

<!-- gh-comment-id:183364896 --> @nick75e commented on GitHub (Feb 12, 2016): Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#196
No description provided.