Bug 295488 - Check for %-idle before starting zypp-checkpatch
Summary: Check for %-idle before starting zypp-checkpatch
Status: RESOLVED DUPLICATE of bug 340295
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Thomas Göttlicher
QA Contact: Stanislav Visnovsky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 12:33 UTC by Forgotten User --EoyBps8f
Modified: 2007-11-09 09:16 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***