Bug 975611 - Idler should remove CPU limits during unidle call
Summary: Idler should remove CPU limits during unidle call
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-18 22:41 UTC by Jhon Honce
Modified: 2015-05-14 23:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-24 14:57:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jhon Honce 2013-06-18 22:41:55 UTC
Description of problem:
During the start of the gear during un-idling the cgroup cpu limitation should be raised.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. oo-idle application
2. hit application URL
3. application should be started without cgroup limits

Actual results:
cgroup cpu limit throttles start time

Expected results:
No throttling

Additional info:
This should improve un-idling all application types with jboss being the big winner.

Comment 1 Jhon Honce 2013-06-18 23:41:40 UTC
Fixed in https://github.com/openshift/origin-server/pull/2892

Comment 2 openshift-github-bot 2013-06-19 01:27:57 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/f68e83ba2aaf282f2df292681bccd5cce13e5493
Bug 975611 - Remove cgroup cpu limit during un-idle

* To improve performance raise cgroup cpu limit while unidling gear

Comment 3 Xiaoli Tian 2013-06-19 11:18:12 UTC
Verified it on devenv_3383 

Before unidle,  its cpu.cfs_quota_us is  30000 
[root@ip-10-154-152-232 runtime]# cgget -r cpu.cfs_quota_us /openshift/591443120558261820981248
/openshift/591443120558261820981248:
cpu.cfs_quota_us: 30000

During unidle, its cpu.cfs_quota_us is changed to 100000
[root@ip-10-154-152-232 runtime]# cgget -r cpu.cfs_quota_us /openshift/591443120558261820981248
/openshift/591443120558261820981248:
cpu.cfs_quota_us: 100000


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