Bug 1034436

Summary: [PERF] find command in oo-auto-idler is very inefficient
Product: OpenShift Online Reporter: Andy Grimm <agrimm>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, jgoulding, mpatel, twiest
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 971159 Environment:
Last Closed: 2014-01-24 03:34:23 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:
Bug Depends On: 971159    
Bug Blocks:    

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.