10
Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Embed Size (px)

Citation preview

Page 1: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Advanced Resource Sharingin the Cloud

Eiji KawaiNICT

Page 2: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Cloud computing

2009/12/16 2AFICT2009

Page 3: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Sharing everything

Bound tohosts

Virtualized

CPU

Memory

Storage

2009/12/16 3AFICT2009

Page 4: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Three approachesto large scale memory sharing

2009/12/16 4AFICT2009

Page 5: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

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

Page 6: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

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

Page 7: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Performance: sequential access (read)

2.3X-3.3X faster

2009/12/16 7AFICT2009

Page 8: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Performance: random access (read)

17.0x-28.0x faster

2009/12/16 8AFICT2009

Page 9: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Summary

2009/12/16 9AFICT2009

Page 10: Advanced Resource Sharing in the Cloud Eiji Kawai NICT

Thank you

2009/12/16 10AFICT2009