虚拟化virtualization

Virtualization

虚拟化是计算机系统在实际硬件上的一层抽象,来运行虚拟实例。最常见的,是同时在一个计算机系统上运行多个操作系统。

CPU的虚拟化技术可以单CPU模拟多CPU并行,允许一个平台同时运行多个操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响,从而显著提高计算机的工作效率。


为什么利用虚拟化进行计算?

desktop users, 可以运行多个操作系统的应用而不用切换计算机或者reboot登录系统。

administrators of servers, 虚拟化运行不同的操作系统,更重要的,提供了一个方式将大的操作系统分段成更小的部分,允许服务器更有效的利用(不同用户或者英语的不同需求)。

也支持isolation, 保证运行在一个虚拟机内部的进程安全,以及不受相同host上的另一个虚拟机进程打扰。


What is a hypervisor?

hypervisor 是一个program来创建和运行vitual machines. 传统上被分为两类,type one, or "bare metal" hypervisors,由系统硬件指导运行客户虚拟机,基本上为操作系统行为。 Type two or "hosted"  hypervisors 更像传统的应用程序, 像一个program可以被启动和停止。在现代系统中,这个分类缺少了普遍性prevalent, 尤其像KVM系统。KVM, kernel-based virtual machine, 是linux内核的一个部分,可以直接运行虚拟机,虽然可以仍然使用一个系统来运行kvm虚拟机。


What is virtual machine?

是一个电脑系统的仿真,运行在另一个系统之上。Virtual machines可以获得任意数量的资源,computing power, through hardware-assisted but limited access to the host machine's CPU and memory;one or more physical or virtual disk devices for storage; a virtual or real network inferface; as well as any devices such as video cards, USB devices, or other hardware that are shared with the virtual machine. If the virtual machine is stored on a virtual disk, this is often referred to as a disk image. A disk image may contain the files for a virtual machine to boot, or, it can contain any other specific storage needs.

 

The difference between a container and a virtual machine?

Linux containers,和虚拟机概念上相似,功能上有所不同。都允许在隔离的环境运行应用程序,允许堆叠多个在同一个机器中就像他们都是独立的计算机一样。

 A container is actually just an isolated process that shared the same Linux kernel as the host operating system, as well as the libraries and other files needed for the execution of the program running inside of the container, often with a network interface such that the container can be exposed to the world in the same way as a virtual machine. Typically, containers are designed to run a single program, as opposed to emulating a full multi-purpose server.






https://opensource.com/resources/virtualization

https://www.redhat.com/en/topics/virtualization?intcmp=7016000000127cYAAQ

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值