Bug 1299037

Summary: Change default priority values
Product: [Fedora] Fedora Reporter: Fdor <fdor6>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jakub, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:39:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Priority dialog in ksysguard none

Description Fdor 2016-01-15 18:24:44 UTC
Created attachment 1115238 [details]
Priority dialog in ksysguard

The "prelink" program is launched daily by "cron". When "prelink" is running, I notice that my old computer works slower.

If I open "ksysguard", search for "prelink", right-click on "prelink" row, and select "Set priority...", I get a dialog window (see it in the attached image) that shows the following things:

    CPU Scheduler
        (*) Normal
        ( ) Batch
        ( ) Round robin
        ( ) FIFO
    
        Priority: Low (19)
    
    I/O Scheduler
        (*) Normal
        ( ) Idle
        ( ) Best effort
        ( ) Real time
    
        Priority: Low (7)

I think that "prelink" should run by default with a "Batch" value in the "CPU Scheduler" (instead of current "Normal" value), since the description of "Batch" value is:

    For CPU-intensive non-interactive processes.

And probably "prelink" should also run by default with an "Idle" value in the "I/O Scheduler" (instead of current "Normal" value), since the description of "Batch" value is:

    Process can only use the hard disk when no other process has
    used it very recently.

I think that, by changing both default values, "prelink" will not affect other programs running on the computer. Would it be easy to change?

Thank you

Comment 1 Fedora End Of Life 2016-07-19 18:39:43 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.