认识虚拟化(virtualization)

0. 基本定义

  • 虚拟化的本质是将现有的计算机资源通过虚拟化的技术分割成若干个计算机资源,这些计算机资源互相独立;其最终目标是提高计算机的利用效率以最大化计算机的灵活性;
    • 虚拟化为数据、计算能力、存储资源以及其他资源提供的是一种逻辑视图(以逻辑抽象的形式进行展现),而非物理视图(以物理实现的形式进行展现你);
  • 分类:
    • 平台虚拟化;
    • 资源虚拟化;
    • 应用程序虚拟化;
    • 表示层虚拟化;

1. 虚拟化内涵的扩大

虚拟化对象列表:

  • 内存虚拟化,也即虚拟内存;
  • 服务器虚拟化;
  • 网络虚拟化;
  • 微处理虚拟化;
  • 文件虚拟化;
  • 存储虚拟化(storage);
  • ….

程序员从最开始的担心是否有可用内存来存放自己的程序指令和数据,而首先出现了内存虚拟化,也即虚拟内存。后来,为了更好地时分分享(time-sharing)昂贵的大型机系统,出现了虚拟服务器。到了今天,虚拟化技术的内涵远不止于虚拟内存和虚拟服务器,如上面列表所示。还可进一步从更宽泛的环境中或从更高级的抽象中,如任务负载虚拟化信息虚拟化,来看待现在的虚拟化技术。

2. 虚拟化的实现

  • 抽象而言,虚拟化是资源(内存,存储,cpu 计算,文件等)的逻辑表示,逻辑层面的虚拟化使得其不受物理限制的约束。
  • 具体来说,虚拟化技术的实现形式是在系统中加入一个虚拟化层(virtualization),虚拟化层将下层的资源抽象成为另一种形式的资源,提供给上层调用。
    • 通过空间上的分割(虚拟内存),时间上的分割,以及模拟,虚拟化可以将一份资源抽象成多份,
    • 反过来,虚拟化也可以将多份资源抽象成一份。
  • 总的来讲,虚拟化可以把一个纷繁复杂、无计划性的世界改造成一个似乎看起来是为人们的特殊需求而度身定制的世界;

3. 系统虚拟化

系统虚拟化是虚拟化技术中的一种,其抽象的粒度是整个计算机。

In 1998, VMware figured out how to virtualize the x86 platform, once thought to be impossible, and created the market for x86 virtualization. The solution was a combination of binary translation and direct execution on the processor that allowed multiple guest OSes to run in full isolation on the same computer with readily affordable virtualization overhead. The savings that tens of thousands of companies have generated from the deployment of this technology is further driving the rapid adoption of virtualized computing from the desktop to the data center. As new vendors enter the space and attempt to differentiate their products, many are creating confusion with their marketing claims and terminology. For example, while hardware assist is a valuable technique that will mature and expand the envelope of workloads that can be virtualized, paravirtualization is not an entirely new technology that offers an “order of magnitude” greater performance. While this is a complex and rapidly evolving space, the technologies employed can be readily explained to help companies understand their options and choose a path forward. This white paper attempts to clarify the various techniques used to virtualize x86 hardware, the strengths and weaknesses of each, and VMware’s community approach to develop and employ the most effective of the emerging virtualization techniques. Figure 1 provides a summary timeline of x86 virtualization technologies from VMware’s binary translation to the recent application of kernel paravirtualization and hardware-assisted virtualization.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

五道口纳什

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值