Bug 295488

Summary: Check for %-idle before starting zypp-checkpatch
Product: [openSUSE] openSUSE 10.3 Reporter: Forgotten User --EoyBps8f <forgotten_--EoyBps8f>
Component: libzyppAssignee: Thomas Göttlicher <tgoettlicher>
Status: RESOLVED DUPLICATE QA Contact: Stanislav Visnovsky <visnov>
Severity: Enhancement    
Priority: P5 - None CC: dmacvicar, meissner, schubi
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User --EoyBps8f 2007-07-29 12:33:11 UTC
Especially on older machines CPU-usage is crucial, e.g. during CD/DVD-burning or less important things like playing a game. It is not very smart to start a CPU-consuming process like zypp-checkpatch if there is no idle performance available.

Thus the CPU-usage should be checked before zypp-chepatch is started in order not to take away CPU from processes that are at that time more important to the user.
Comment 1 Marcus Meissner 2007-07-30 06:43:12 UTC
perhaps it should be both niced and ioniced?
Comment 2 Duncan Mac-Vicar 2007-08-26 16:57:09 UTC
Perhaps zypp-checkpatches could check for load and exit with a special code if the system is too busy.
Comment 4 Thomas Göttlicher 2007-11-09 09:16:51 UTC

*** This bug has been marked as a duplicate of bug 340295 ***