Scheduler don't sleep before first step

Bug #1439216 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steve Baker

Bug Description

As discovered by stevebaker, we get a performance improvement by removing the sleep(1) before the first step of a task:

https://review.openstack.org/#/c/169531/1

Raising this to track it as it's probably a good candidate for a stable backport

Changed in heat:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Baker (steve-stevebaker)
Changed in heat:
status: Triaged → In Progress
Angus Salkeld (asalkeld)
Changed in heat:
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/169531
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=5f584db8d55a6db76c4307b21cb658a2bacb0296
Submitter: Jenkins
Branch: master

commit 5f584db8d55a6db76c4307b21cb658a2bacb0296
Author: Steve Baker <email address hidden>
Date: Wed Apr 1 10:57:32 2015 +1300

    Do sleep(0) for first task sleep

    This results in a functional test run which is up to 20% faster than
    the current sleep(1)

    Closes-Bug: #1439216
    Change-Id: I1f594963dd164e44b8d9c601610a4036a0253ece

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.