Lowest nice value is 2 instead of 0

Bug #231390 reported by Uri Sivan
2
Affects Status Importance Assigned to Milestone
at (Debian)
Fix Released
Unknown
at (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: at

Processes in queue "a" are run with niceness 2. There is no way to request a lower niceness like 0.

This matters because some power-management mechanisms leave the CPU at a lower frequency and don't speed it up for programs with with niceness > 0 that need more CPU.

This behaviour is intended in the source code. The relevant line is:
nice((tolower((int) queue) - 'a' + 1) * 2)

Tags: patch
Changed in at (Debian):
status: Unknown → New
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This seems to be intended behaviour in the code

Changed in at (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Artur Rona (ari-tczew)
tags: added: patch
Changed in at (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.