If we're not using suspension, set the scheduling threshold to 0.
Suspend/Resume RRs should consume CPU
Fixed bug in weird corner case where a lease could be scheduled in such a way that the shutdown, and not the VM, would have to be suspended (which is not possible).
Saner migration scheduling
- Allow a lease in preparing state to be preempted- Multiple minor fixes to preparation scheduler (mostly avoid referring to leases by their ID, and simply store the lease object directly)
- Modified LWF generator so it won't have an empty ramp-up period.- Minor fixes here and there.
Fixed bug when determining the "first start" of a VMRR. Shouldn't include the migration RRs.
Fix bug in availability window optimization
- In some cases an error was carried over in the estimated migration times that would result in the sanity check failing.- Migration bandwidth was hardcoded; now taken from configuration file.
Minor fixes
More small bug fixes
Small bug fixes
Miscellaneous small bug fixes.
Pushing a bunch of minor changes.
Fixed: When rescheduling, can't schedule earlier than the requested start time
When scheduling deadline leases, do the preemptions when mapping (fixes the problem that the preemption policy could select leases that "looked" preemptable because of their slack, but turned out not to be because they couldn't be rescheduled).
Catch exception from schedule_asap
When scheduling as soon as possible, don't bother to look at changepoints that don't allow the deadline to be met.
Multiple small fixes
Lists of reservations returned by the slottable have to be sorted before they can be used.
Determining if a lease can be suspended should also take into account the current time.
Fix to bug that showed up when running Haizea with larger workloads.
Saner handling of premature ends in simulations.
Fixes to several bugs that showed up when running Haizea with larger workloads.
- Optimized rescheduling of deadline leases- Allow leases to be preempted at any point, not just at the "last vm" - Enable rescheduling of deadline leases when a lease ends prematurely
Miscellaneous fixes to deadline scheduling. Added pricing of surcharge from preempted leases.
Corrections to deadline scheduling with preemption.
Beginnings of preemption support in deadline scheduling
Move suspension/resumption time estimation methods from VMScheduler to Lease
- Leases should be sorted by stretch factor, not absolute deadline- The earliest starting time can't be earlier than the current time
Replaced deadline scheduling algorithm with slightly better one.
Plugging a few more potential memory leaks (explicitly remove circular references between VM RR and other RRs)
Added a very basic, but also very inefficient, deadline scheduler.
Merge changes in trunk
Added scaffolding for new type of lease: "deadlined leases".Added unit tests for deadlined leases.
Created branch for 1.2 beta (doing it right this time)
Fixed: Estimating suspend/resume times with global filesystem still used old method to access requested memory
Fixed: Haizea would crash when fetching nodes for which OpenNebula had not yet collected monitoring information. This fix also has the pleasant side effect of allowing Haizea to detect new hosts added in OpenNebula without having to restart Haizea.
Switched to a saner implementation for Singleton classes. Required multiple changes all around (which had the indirect side effect of making constructors less dependent on the get_config() function)
Miscellaneous pylint-induced code cleanup.
Fixed whitespace that, while ok to Python, made epydoc barf.
- Data persistence is implemented. It still needs some work (and has to be made configurable so it can be switched off during simulations), but it's working.- Started to clean up the accounting code so it will collect data using "probes" instead of hard-coded statements.
Updated copyright notices.
Merged TP2.0/0.9 branch into trunk.