hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling
Class RoundRobinScheduler
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.FirstFitScheduler
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.RoundRobinScheduler
public class RoundRobinScheduler
- extends FirstFitScheduler
Provides a scheduler that uses the round robin PM iterator to traverse
through the IaaS's running machines list. This ensures uniform use of the PMs
on the long run. Other than the random PM selection this class utilizes the
FirstFitScheduler's logic of VM placement and queue management.
Unless VM migration is used to reduce the PMs under utilization this
scheduler is less energy efficient than the generic first fit as that is
always trying to exhaust the resources of a PM before going for another one.
- Author:
- "Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems,
MTA SZTAKI (c) 2015"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoundRobinScheduler
public RoundRobinScheduler(IaaSService parent)
- Passes the IaaSService further to its super class.
- Parameters:
parent
- the IaaS Service which this RoundRobinScheduler operates on
instantiateIterator
protected PMIterator instantiateIterator()
- Returns with the RoundRobin PM iterator.
- Overrides:
instantiateIterator
in class FirstFitScheduler
- Returns:
- the desired PM iterator to be used for traversing the PMs while
doing the scheduling
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.