3. What we do?
• Environment
o 6 physical hosts(CPU:12, Memory:16GB)
• Requirement
o Deploy 100 serengeti VMs in 30 minutes
o Make it as fast as possible
4. Why we do it?
• VMware use it everyday
• Hybrid Cloud
• Distributed App
• Only Automation ?
• Fast
6. Problem Analysis
• Full Clone
o Resource Usage
o Time Cost: ~3 minutes
o Naïve Solution:3 *(5 + 100/6) = 66 minutes
Metrics Value
cpu <2%
memory 200M
disk 40MB/s
network 80-100MB/s
7. Problem Analysis
• Linked Clone
o Time Cost: ~10 seconds
o Naive Solution:
3*5 + 10*(100/6)/60 + delta = 18~22 minutes
• Shortcomings
o Must in one host
8. Problem Analysis
• Hardware Performance Test
•
Metrics Value
Disk read 25MB/s
Disk write 50MB/s
Network ~100MB/s
9. Problem Analysis
• Key Decision
o Full clone in multi-host, linked clone in inner host
linked clone much faster
o Use tree clone
disk bottleneck
single srcVM lock