Scheduling in The Age of Virtualization
Dario Faggioli
dario.faggioli@citrix.com
Scheduling in The Age of Virtualization Dario Faggioli - - PowerPoint PPT Presentation
Scheduling in The Age of Virtualization Dario Faggioli dario.faggioli@citrix.com Bruxelles 30th of January, 2016 Welcome Hello, my name is Dario Im with Citrix since 2011 (in the Xen Platform Team) Bruxelles 30th of January,
dario.faggioli@citrix.com
◮ Hello, my name is Dario ◮ I’m with Citrix since 2011 (in the Xen Platform Team)
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 2 / 16
◮ hypervisor and guest scheduler: same or different? ◮ hypervisor scheduler: what are the key features? ◮ hypervisor and guest scheduler: independent or interactive?
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 3 / 16
◮ hypervisor level: schedules virtual CPUs over physical CPUs ◮ guest OS level: schedules processes over virtual CPUs
◮ two instances of the same scheduler (Linux/KVM) ◮ two different schedulers (Xen, VMWare, Hyper-V)
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 4 / 16
◮ benefit from feature and tuning done by others for other
◮ (virtualization) specific tweaks may not always be welcome
◮ developing a good scheduler is entirely on you contra ◮ virtualization specific tricks could be added at leisure pro
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 5 / 16
◮ benefit from feature and tuning done by others for other
◮ (virtualization) specific tweaks may not always be welcome
◮ developing a good scheduler is entirely on you contra ◮ virtualization specific tricks could be added at leisure pro
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 5 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 6 / 16
◮ fairness: if the VMs are equal, they should get equal service in
◮ limit: this VM should not run more than XX% of physical
◮ reservation: whatever the load is, this VM should never get
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 7 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 8 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 9 / 16
◮ let’s not go that far (today!) ◮ maybe just some ”enlightenment”
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 10 / 16
◮ vCPUs wander around among pCPUs: the hypervisor
◮ at time t1 vCPU 1 and vCPU 3 run on pCPUs that are
◮ at time t2! = t1 ... Not anymore!
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 11 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 12 / 16
◮ configurable (scheduling domains’ flags) ◮ each architecture benchmarks and tune behaviour for best
◮ virtualized guests (Xen/KVM)? Just what x86 does...
Table: My caption
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 13 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 14 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 15 / 16
Bruxelles – 30th of January, 2016 Scheduling in The Age of Virtualization 16 / 16