After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 131802 - Use of "nice" values are confusing; should not be used
Use of "nice" values are confusing; should not be used
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Robert Roth
System-monitor maintainers
: 543479 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-17 21:36 UTC by Keith Lea
Modified: 2011-12-11 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (8.79 KB, patch)
2011-11-26 13:10 UTC, Robert Roth
none Details | Review

Description Keith Lea 2004-01-17 21:36:55 UTC
GNOME System Monitor should not make references to "nice." nice has
confusing semantics, mostly due to lower values being higher priority.

The system monitor uses Nice in several areas:

1. The Nice column in the Process List view.

2. Under More Info / Process Info, it says "Priority: Normal - nice 0"

3. The Change Priority dialog uses nice values

I think all uses of the word Nice should be replaced with the word
Priority, in general:

1. The Nice column should be the Priority column, and should be text like
Normal, not Nice numeric values

2. More Info's Priority value should say "Priority: Normal (10)" where it
would've said "Priority: Very High - nice -10" - note that this is the
opposite of nice values

3. The Change Priority dialog should show a pulldown menu box with "Very
High, High, Normal, Low, Very Low," along with an Advanced button that lets
you choose the value from -20 (Very Low) to 20 (Very High) - note that
these are the opposite of nice values.
Comment 1 Benoît Dejean 2005-03-21 13:10:26 UTC
what about adding a new colon Priority displaying text ? So one can choose
between displaying text or real nice value, or both. The infoview would still
display both.
Comment 2 Benoît Dejean 2008-07-17 21:54:17 UTC
*** Bug 543479 has been marked as a duplicate of this bug. ***
Comment 3 Robert Roth 2011-11-26 13:10:22 UTC
Created attachment 202180 [details] [review]
Proposed patch

The patch adds a priority column in the process table to show the nice value in a human-understandable way, and show it by default.
Comment 4 Chris Kühl 2011-12-11 18:33:14 UTC
Looks good to me. Committed to master. Thanks.