?8? IaaS????? - PowerPoint PPT Presentation

1 / 44
About This Presentation
Title:

?8? IaaS?????

Description:

Title: Introduction Author: Steve Armstrong Last modified by: WWG Document presentation format: On-screen Show (4:3) Other titles: Arial SimSun Wingdings Times New ... – PowerPoint PPT presentation

Number of Views:147
Avg rating:3.0/5.0
Slides: 45
Provided by: Steve1581
Category:
Tags: iaas

less

Transcript and Presenter's Notes

Title: ?8? IaaS?????


1
?8? IaaS?????
  • 8.1 ??????
  • 8.2 ?????
  • 8.3 ?????
  • 8.4 ????

2
XaaS
3
IaaS
  • Infrastructure as a Service
  • ?????????????
  • ????
  • ?????
  • ???????????
  • ????
  • EC2 from Amazon

4
IaaS
  • I, infrastructure
  • device or capability
  • ????
  • ????
  • S, service
  • ????????,????
  • ?????????
  • ?????
  • ???
  • ????
  • ????
  • ????
  • ????

5
8.1 ??????
  • ???????????(Virtual Machine, VM)
  • ??CPU
  • ????
  • ??I/O
  • ????
  • ????

6
????????
  • ???(VM)??????????????
  • ???????????
  • Popek and Goldberg, Formal Requirements for
    Virtualizable Third Generation Architectures,
    1974
  • ???
  • ?????????????????????????????????????,?????????,?
    ?????????
  • ???
  • VMM(??????)??????????????????,???????,??????
  • ???
  • ??????????????????????VMM????

7
?????
8
????? ????(Hosted)
  • Host OS VMM Guest OS

????
9
????? ?????(Bare-metal)
  • VMM OS

(Host OS ) OS
10
Hosted vs. Bare-metal
Bare-metal (Type I) Hosted (Type II)
??? (??Host OS???I/O??)
????
????
????(e.g. 3D??)

??????? ??????
11
???????
  • ????(Emulation)
  • ????(Full Virtualization)
  • ????(Parairtulization)
  • ???????(Hardware Assisted Virtualization)
  • ????????(Operating System Level Virtualization)

12
????(Emulation)
  • ??Hosted??
  • Host OS ? VMM (Emulator) ? Guest OS?
  • ????
  • ????(Guest)gtgt??gtgtVMMgtgt??gtgt????(Host)
  • ????
  • Bochs (open source)
  • QEMU (free)
  • Virtual PC (Microsoft)

13
????(Full Virtualization)
  • ?????????????
  • Hosted ? Bare-metal??
  • ????
  • ??????????????????????????????,???????????????
  • ????
  • IBM CP/CMS
  • Oracle VirtualBox
  • KVM
  • VMware ESX

14
????(Parairtulization)
  • Bare-metal??
  • ????
  • ???????,??VMM??????????
  • Guest OS????????????,???VMM
  • ?????????????,?????????
  • ????
  • Xen
  • Microsoft Hyper-V

15
Hardware Assisted Virtualization
  • ??????????
  • ????/???????
  • ????
  • ???????????????????????????(????????)?????
  • ????
  • Intel VT-x
  • AMD-V (AMD SVM)

16
Operating System Level Virtualization
  • ????Virtual Private Server
  • ????
  • ?????????????????
  • (????????)
  • ????
  • chroot for Unix like
  • Solaris Zone
  • FreeBSD Jail
  • Linux-VServer

17
Comparisons
??????? ???? ???? ??????? ????????
?? lt30 3080 80 80 80
?? Hosted Hosted/Bare-metal Bare-metal Hosted/Bare-metal ?Bare-metal
?? Guest OS???? ??????????OS??? Guest OS????,????????,?????? ??????????,?????? ??? ??? ???
?? ????? (??????????100???) ??Hosted???????,???I/O?? ???Guest OS????,?????? ???????? ???OS
?? ????? ?? ???? ???? ????(VPS)
18
CPU????(????)
  • ?????(Ring Compression)??
  • ???????VMM?Guest??????????
  • ?VMM??????Guest????????,?????????
  • X86??VMM????????Ring 0?,Guest????????Ring
    1?,Guest????????Ring 3??
  • ?????????(Binary Translation)??
  • ??????????????
  • ???????Guest??????????????????????????????

19
CPU????( ??????)
  • ??OS????
  • ????Guest OS???,?????????????????????VMM?Hypercall
    (????)
  • Hypercall??Batch(???)??????????,?Hypercall????????
    ????

20
CPU???????
  • ?????????????,??VMM?Guest OS?????????????
  • VT-x???????????
  • Root??(Operation),VMM??????,????????
  • Non-Root??(Operation),Guest OS?????
  • ??Non-Root ??Guest??????????,?????????Root??VMM,?V
    MM??????????

21
?????
  • ??
  • ??????????????,????????????????????,????????????
  • ???????? Shadow Page Table
  • ???Guest?????????,????????????????,?Guest
    OS????????
  • VMM???????MMU??????
  • ?????????
  • ?Guest OS?????????,???VMM?????
  • ???Guest?????,VMM????????????,?Guest??????????????
    ??
  • ???????????EPT(Extended Page Table)
  • EPT????????,??????????,?????EPT??
  • ?????????Guest?????????????????

22
I/O???
  • ??
  • ???????????????I/O??,??????????????,?????,????????
    ??????
  • ????
  • ????I/O??(??????)???????
  • Guest OS??I/O???????VMM,?VMM????
  • ?Guest OS??,??????????I/O??,?????
  • ????
  • ????(Front-End)/??(Back-End)??,?Guest?I/O????????(
    Privileged Domain,????Domain-0)?

23
I/O???
  • ???????
  • ?????I/O??
  • Guest OS????VMM?????Host OS??????,????????
  • ???????(????)IOMMU
  • ????Intel?VT-d,AMD-Vi,PCI-SIG?IOV
  • ????????????????????
  • ????I/O?????DMA???
  • ????DMA???(Remapping)?I/O?????

24
8.2 ?????
  • ???????/????????????
  • ???? ??????????????

25
???? vs. ????
26
????(??)
27
????????? (from SNIA)
  • ??/????????????????
  • ????????????????????
  • ?????????????????,????????????

28
??????
  • ??
  • ??????????,???????
  • (???????????????????)
  • ????
  • ????,CHS????????

29
???????
  • ??
  • ???????????
  • ????
  • ???????????????????????,?????????
  • ??????????????????????
  • ?????
  • ??(In-band)???vs. ??(Out-of-band)???

30
In-band vs. Out-of-band
31
?????????
  • ????????(??)
  • ??????LVM(??????)??
  • ???????????,?????
  • ??????????(??)
  • ????????????????
  • ?????????????
  • ??????????(??????)
  • ???,??????????

32
????????? DAS?SAN
33
??/??????
  • ??
  • ?????????
  • ????????????????????????
  • ????
  • NFS?CIFS?NAS
  • ???????

34
8.3 ?????
  • ????????????????????

35
???????
  • ???????????????

36
???????
  • ??????????
  • ????????????????????
  • ????
  • ?????????????
  • ????
  • ?????????
  • ????VLAN?

37
???????
38
8.4 ????
39
?????
  • ????
  • ???????
  • ?????????
  • CPU?I/O??
  • ??????
  • ??????IP
  • ??
  • ?????????
  • ??????????

40
??????
  • ??/???(Scale Up/Down)
  • ????????????
  • ???????
  • ??/???(Scale In/Out)
  • ????????????????
  • ???????
  • ???????

41
????
  • ??
  • ????
  • ????
  • ????
  • ????
  • ????
  • ????
  • ????
  • ???
  • ????

42
????
  • ???????
  • ????
  • ????
  • ???????
  • ??

43
??
  • IaaS???
  • ????????
  • ????????
  • CPU???
  • ?????
  • I/O???
  • ???????
  • ?????
  • IaaS????

44
????
  • 1. ?????????????????????
  • 2. SAN?NAS??????????????
Write a Comment
User Comments (0)
About PowerShow.com