虚拟化精华问答 | 怎样使虚拟机能够达到比较高的IO性能?
<img src="https://p6-sign.toutiaoimg.com/pgc-image/RCV1ubpG1HXBmu~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704569420&x-signature=J0Xnlh5hWN%2BR2%2Fo3elL%2F0o2%2BPgk%3D" style="width: 100%; margin-bottom: 20px;"><p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">虚拟化是一种资源管理技术, 是将计算机的各种物理资源, 如服务器、网络、内存及存储等,予以抽象、转换后呈现出来,打破物理设备结构间的不可切割的障碍,使用户可以比原本的架构更好的方式来应用这些资源。这些资源的虚拟部分是不受现有资源的架构方式、地域或物理设备所限制。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">1</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">Q:为什么云计算需要虚拟化?</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">A:</strong>由于多种原因,虚拟化对云计算非常方便:</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">1. 云计算不仅仅是在IIS中运行的Web应用程序。ActiveDirectory不是一个Web应用程序。SQL Server不是一个Web应用程序。为了充分利用在云中运行的代码,需要选择在云节点中安装各种服务,就像在自己的IT数据中心中一样。许多这些服务不是由IIS管理的网络应用程序。如果只将云看作一个网络应用程序,那么将难以构建任何不是Web应用程序的东西。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">2. 在封面下运行和管理云硬件的人员需要最终权限和控制权来关闭,暂停和偶尔将云代码重新定位到不同的物理机器上。如果云应用程序中的一些代码发生故障并失控,那么当代码直接在物理硬件上运行时,关闭该服务或该机器比在恶意代码运行时更难虚拟机由虚拟机管理程序管理。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">3. 资源利用率 - 在同一物理硬件上执行的多个租户(VM),但彼此之间的间隔远大于IIS的进程间隔。每租户成本更低,硬件单位收入更高。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">2</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">Q:云计算实现中虚拟化技术是如何运用的?</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">A:</strong>虚拟化技术是指计算元件在虚拟的基础上而不是真实的基础上运行,它可以扩大硬件的容量,简化软件的重新配置过程,减少软件虚拟机相关开销和支持更广泛的操作系统方面。通过虚拟化技术可实现软件应用与底层硬件相隔离,它包括将单个资源划分成多个虚拟资源的裂分模式,也包括将多个资源整合成一个虚拟资源的聚合模式。虚拟化技术根据对象可分成存储虚拟化、计算虚拟化、网络虚拟化等,计算虚拟化又分为系统级虚拟化、应用级虚拟化和桌面虚拟化目。在云计算实现中。计算系统虚拟化是一切建立在“云”上的服务与应用的基础。虚拟化技术目前主要应用在CPU、操作系统、服务器等多个方面,是提高服务效率的最佳解决方案。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">3</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">Q:VMware虚拟化和云服务有何区别 ?</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">A:</strong>VMware虚拟化平台基于可投入商业使用的体系结构构建。使用像VMware vSphere和VMware ESXi(一款免费下载产品)这样的软件可转变或“虚拟化”基于 x86 的计算机的硬件资源(包括 CPU、RAM、硬盘和网络控制器),以创建功能齐全、可像“真实”计算机一样运行其自身操作系统和应用程序的虚拟机。在VMware虚拟化技术中,每个虚拟机都包含一套完整的系统,因而不会有潜在冲突。VMware虚拟化技术的工作原理是,直接在计算机硬件或主机操作系统上面插入一个精简的软件层。 云服务是基于互联网的相关服务的增加、使用和交付模式,通常涉及通过互联网来提供动态易扩展且经常是虚拟化的资源。云是网络、互联网的一种比喻说法。过去往往用云来表示电信网,后来也用来表示互联网和底层基础设施的抽象。云服务指通过网络以按需、易扩展的方式获得所需服务。这种服务可以是IT和软件、互联网相关,也可是其他服务。它意味着计算能力也可作为一种商品通过互联网进行流通。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">4</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">Q:桌面虚拟化和服务器虚拟化能跑在一起么? </strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">A:</strong>虚拟化不是简单的在一台机器上运行多个虚机(当然这也是一种优势,不同的应用可以分离在单独的虚机中,互相不受影响),从性能使用最大化角度看,需要在一台物理机器上运行不太资源敏感的虚机。比如,文件服务器对内存和磁盘IO敏感,打印服务对内存需求大,数据库对内存和CPU需求大,Web服务对网络敏感等等。如果可以把不同的类型的服务器放到一台物理宿主上,这样才能最大化性能的使用,这才是虚拟化的初衷(在物理服务器时代机器肯定是有资源闲置的)。当然,需求的分析很复杂,主要是情况在不停的变化,所以现在好像大家都关注在高可用易管理了,对于性能使用最大化的需求弱化了。桌面虚拟化就是明显的例子,桌面系统的易管理更被看中,其实在一台宿主上只运行桌面版虚机是不可取的,因为应用太雷同,必然引起单一资源的紧张而其他资源闲置,尤其是磁盘IO,这也是厂商推荐独立存储的原因。</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">5</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">Q:怎样使虚拟机能够达到比较高的IO性能。</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">A:</strong>Linux虚拟机,直接使用linux的驱动,效率接近传统PC方式;Windows的虚拟机,安装之后需要安装xen tools来替换原来的模拟驱动,大大提高IO效率。另外如果一个物理服务器如果跑多个虚拟机,建议使用存储,可以大幅度提高存储效率。</p><img src="https://p3-sign.toutiaoimg.com/pgc-image/R69FpRH4d90a7d~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704569420&x-signature=ZuPdtaNkCTH4F6jO7C4QNuIFOlk%3D" style="width: 100%; margin-bottom: 20px;">
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">小伙伴们冲鸭,后台留言区等着你!</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">关于虚拟化,今天你学到了什么?还有哪些不懂的?除此还对哪些话题感兴趣?<strong style="color: blue;">快来留言区打卡啦!留言方式:打开第XX天,答:……</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">同时欢迎大家搜集更多问题,投稿给我们!风里雨里留言区里等你~</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">福利</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">1、扫描添加小编微信,备注“</strong><strong style="color: blue;">姓名+公司职位</strong><strong style="color: blue;">”,加入【</strong><strong style="color: blue;">云计算学习交流群</strong><strong style="color: blue;">】,和志同道合的朋友们共同打卡学习!</strong></p><img src="https://p3-sign.toutiaoimg.com/pgc-image/RIbMYX8HcyK0bL~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704569420&x-signature=DCiVN6IHHgj%2B7b27ueXsasrd8U4%3D" style="width: 100%; margin-bottom: 20px;">
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">2、</strong><strong style="color: blue;">公众号后台回复:白皮书,获取IDC最新数据白皮书整理资料!</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">推荐阅读:</strong></p>
<h2 style="text-align: left; margin-bottom: 10px;">如何用30分钟快速优化家中Wi-Fi?阿里工程师有绝招</h2>
<h2 style="text-align: left; margin-bottom: 10px;">趣挨踢 | “菜鸟”程序员和“大神”程序员的差别竟然这么大...</h2>
<h2 style="text-align: left; margin-bottom: 10px;">云漫圈 | 女生适合做程序员吗?</h2>
<h2 style="text-align: left; margin-bottom: 10px;">
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">Kubernetes 调度器实现初探</p>
</h2>
<h2 style="text-align: left; margin-bottom: 10px;">李沐团队新作Gluon,复现CV经典模型到BERT,简单好用 | 强烈推荐</h2>
<h2 style="text-align: left; margin-bottom: 10px;">日本乐天要求员工学编程,AI 进中小学课堂,全民编程时代来了!</h2>
<h2 style="text-align: left; margin-bottom: 10px;">做了四年以太坊核心开发者, 以太坊升级了, 我也该离开了……</h2><img src="https://p3-sign.toutiaoimg.com/pgc-image/RBnyZvq2Ry5f9F~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704569420&x-signature=bdf%2Fge9c69PWhWrIv8EIIN%2FXhzc%3D" style="width: 100%; margin-bottom: 20px;">
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">喜欢就点击“在看”吧</p>
页:
[1]