Bug 1034436 - [PERF] find command in oo-auto-idler is very inefficient
Summary: [PERF] find command in oo-auto-idler is very inefficient
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 971159
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 20:21 UTC by Andy Grimm
Modified: 2016-11-08 03:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 971159
Environment:
Last Closed: 2014-01-24 03:34:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andy Grimm 2013-11-25 20:21:43 UTC
+++ This bug was initially created as a clone of Bug #971159 +++

The oo-auto-idler script spends a termendous portion of it's CPU time running a "find" command that's easily replaced by a shell glob.

Comment 1 openshift-github-bot 2013-11-25 22:51:35 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/772cb1195b04ca58202fa7ff17964f369f5cf33a
Bug 1034436 - Use shell globs instead of find in oo-auto-idler

Comment 2 Meng Bo 2013-11-26 06:38:06 UTC
Checked on devenv_4071, there isn't a time consumption decrease obviously with about 15 gears on the node.

At least, there is no regression issue for the oo-auto-idler.

Move bug to verified.


Note You need to log in before you can comment on or make changes to this bug.