Upload
willis-ross
View
216
Download
3
Embed Size (px)
Citation preview
Advanced Resource Sharingin the Cloud
Eiji KawaiNICT
Cloud computing
2009/12/16 2AFICT2009
Sharing everything
Bound tohosts
Virtualized
CPU
Memory
Storage
2009/12/16 3AFICT2009
Three approachesto large scale memory sharing
2009/12/16 4AFICT2009
Virtualization of virtual memory• Our approach: mount remote memory as swap device
– Physical memory is already virtualized in OS (VM: virtual memory)– Pro: High performance– Con: (straightforward) implementation in kernel VM layer is highly
difficult
Physical MemoryPhysical Memory
VMVM
ProcessProcess
Physical MemoryPhysical Memory
TCP/IPTCP/IP
TCP/IPTCP/IP VMVM
Physical memoryPhysical memory
VM/FSVM/FS
ProcessProcess
ATA/SCSIATA/SCSI
Swap deviceSwap device
Normal system Extended system2009/12/16 5AFICT2009
Leveraging LVM and iSCSI• System configuration is highly flexible, thanks to modern
LVM (logical volume management) mechanism– Dynamic attachment/detachment of remote memory linked to
the memory usage• iSCSI performance in high latency networks is well-studied
– Distributed cloud environment
Physical MemoryPhysical Memory
VM/FSVM/FS
ProcessProcess
TCP/IPTCP/IP
iSCSIiSCSI
LVMLVM
Physical MemoryPhysical Memory
VM/FSVM/FS
TCP/IPTCP/IP
iSCSIiSCSI
2009/12/16 6AFICT2009
Performance: sequential access (read)
2.3X-3.3X faster
2009/12/16 7AFICT2009
Performance: random access (read)
17.0x-28.0x faster
2009/12/16 8AFICT2009
Summary
2009/12/16 9AFICT2009
Thank you
2009/12/16 10AFICT2009