Satori:
Grzegorz Miłoś, Derek Murray, Steven Hand Michael Fetterman University of Cambridge
Satori: Grzegorz Mi o , Derek Murray, Steven Hand Michael - - PowerPoint PPT Presentation
Satori: Grzegorz Mi o , Derek Murray, Steven Hand Michael Fetterman University of Cambridge Outline Motivation for page sharing Existing systems (a.k.a. state of the art) Satori overview Implementation Performance
Grzegorz Miłoś, Derek Murray, Steven Hand Michael Fetterman University of Cambridge
“The number of virtualized PCs is expected to grow from less than 5 million in 2007 to 660 million by 2011”
Source: Gartner, 2008
homogenous VMs is smaller
paging I/O rate
page duplicates
page duplicates shared page share
page duplicates shared page reclaimed duplicates share
page duplicates shared page reclaimed duplicates credit share
page duplicates shared page reclaimed duplicates credit share write
page duplicates shared page reclaimed duplicates credit d e b i t share write
page duplicates shared page reclaimed duplicates private page credit d e b i t share write
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
page duplicates shared page reclaimed duplicates private page credit d e b i t share write copy
Hypervisor scans guest memory and compares fingerprints
Satori monitors virtual I/O devices ➙ no periodic scanning
Satori monitors virtual I/O devices ➙ no periodic scanning
Hypervisor manages common pool of surplus memory Satori monitors virtual I/O devices ➙ no periodic scanning
Satori monitors virtual I/O devices ➙ no periodic scanning VMs receive sharing entitlements in proportion to # pages shared
Satori monitors virtual I/O devices ➙ no periodic scanning VMs receive sharing entitlements in proportion to # pages shared
Hypervisor implements secondary memory paging algorithm Satori monitors virtual I/O devices ➙ no periodic scanning VMs receive sharing entitlements in proportion to # pages shared
Satori monitors virtual I/O devices ➙ no periodic scanning VMs receive sharing entitlements in proportion to # pages shared Memory managed exclusively by the VMs sharing exposed to the VMs
reads to build up knowledge of page caches
VM physical disk sharing-aware block dev I/O buffer page I/O data
pseudo-physical pages
# of pages shared & # of pages reclaimed VM memory HW memory VM1 VM2 entitlement
pseudo-physical pages
# of pages shared & # of pages reclaimed VM memory HW memory VM1 VM2 entitlement ½ ½
pseudo-physical pages
# of pages shared & # of pages reclaimed VM memory HW memory VM1 VM2 entitlement ½ ½
pseudo-physical pages
# of pages shared & # of pages reclaimed VM memory HW memory VM1 entitlement ⅔ VM2
credit
credit VM balloon
credit VM balloon
credit VM balloon
credit d e b i t VM balloon
credit d e b i t VM balloon VM repayment FIFO
credit d e b i t VM balloon VM repayment FIFO
data read path
without Satori: 780s, with Satori 779s
5000 10000 15000 20000 25000 30000 35000 40000 45000 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Pages Time (mins) Kernel Compilation (512MB)
Potential Satori
2000 4000 6000 8000 10000 12000 14000 16000 18000 5 10 15 20 25 30 35 40 45 50 55 60 Pages Time (mins) Kernel Compilation (512MB) Satori VMware
Read progress in VM1 Read progress in VM2
0.22s 2 4 6 8s
50 100 150 200 250 20 40 60 80 100 120 140 160 180 200 220 240 Response rate (reqs/s) Time (s) Httpd performance Satori VMware without Tools VMware with Tools
virtual machine memory
performance
gm281@cam.ac.uk http://www.cl.cam.ac.uk/~gm281