{"id":7890,"date":"2021-10-27T13:50:38","date_gmt":"2021-10-27T11:50:38","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=7890"},"modified":"2021-10-27T13:50:39","modified_gmt":"2021-10-27T11:50:39","slug":"what-is-hardware-assisted-virtualization-an-experts-indepth-explanation","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/what-is-hardware-assisted-virtualization-an-experts-indepth-explanation\/","title":{"rendered":"What is hardware-assisted virtualization?-an expert&#8217;s indepth explanation."},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>Hardware-assisted virtualization is the use of a computer&#8217;s\u00a0physical components\u00a0to support the software that creates and manages virtual machines (VMs).\u00a0Virtualization is an idea that traces its roots back to legacy\u00a0mainframe\u00a0system designs of the 1960s. <\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/onlineImages\/bigelow_stephen.jpg\" alt=\"Stephen J. Bigelow\"\/><\/figure>\n\n\n\n<p>By <a href=\"https:\/\/www.techtarget.com\/contributor\/Stephen-J-Bigelow\">Stephen J. Bigelow<\/a><\/p>\n\n\n\n<p>Early mainframes used the Control Program\/Conversational Monitor System operating system and were adept at provisioning the mainframe&#8217;s available computing resources into isolated environments capable of running enterprise workloads.<\/p>\n\n\n\n<p>With the arrival and emergence of the\u00a0x86-based personal computer in the 1980s, the idea of client-server computing gained popularity and high-volume distributed computing replaced mainframes in some organizations\u00a0and the concept of virtualization was limited to\u00a0partitioning\u00a0hard drives into\u00a0logical segments. At the time,\u00a0there was no need for multiple small, distributed computers to share\u00a0the limited resources\u00a0each possessed.<\/p>\n\n\n\n<p>Over the years, the\u00a0evolution of computing power vastly outpaced that of software development and consequently, the resources that software required. CPU clock speeds jumped from\u00a0megahertz\u00a0to hundreds of megahertz to\u00a0gigahertz, and memory volumes rose from hundreds of KB to GB, all in just a few decades. At the same time, the number of servers and other computers operating within many enterprises swelled.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>The growing need for virtualization<\/strong><\/h3>\n\n\n\n<p>By the close of the 20th century, enterprise computing faced enormous growth challenges from power, cooling and data center space constraints. Around that same time, system engineers realized that modern servers only utilized a small percentage of their available computing resources. For example, a typical physical server running an enterprise application might only utilize 5-15% of that server&#8217;s available resources. The remaining resources typically went unused.<\/p>\n\n\n\n<p>This sparked\u00a0interest in resurrecting the idea of virtualization technology for x86 architectures. Designers theorized that a virtualized computer could potentially host multiple workloads, thereby reducing the total number of servers in the environment, along with the required power, cooling and space requirements. This concept, which would later be known as\u00a0server consolidation,\u00a0was the foundation of many\u00a0early enterprise virtualization initiatives.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Mid-2000s brings about expanded hardware for virtualization<\/strong><\/h3>\n\n\n\n<p>Early forays into software-based virtualization met with little success because the system overhead imposed by translation, shadowing and emulation limited virtualization efficiency and VM performance. A typical system could only host few VMs, and few applications performed well, if at all, in those software-based VMs.<\/p>\n\n\n\n<p>The solution to this problem would initially come in the form of hardware-assisted virtualization, which added critical virtualization functions as fast, efficient, new processor commands. This&nbsp;proved to be a far better approach than software-based virtualization.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"719\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations-1024x719.png\" alt=\"system virtualization implementations\" class=\"wp-image-7162\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations-1024x719.png 1024w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations-300x211.png 300w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations-768x540.png 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations-800x562.png 800w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/07\/system-virtualization-implementations.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Both Intel and AMD worked to develop hardware-assisted virtualization extensions, and the first x86 CPUs with these new extensions appeared around 2005 with late-model Intel&nbsp;Pentium 4&nbsp;&#8212; 662 and 672 &#8212; processors, and 2006 with AMD Athlon 64, Athlon 64 X2 and Athlon 64 FX processors. In the following years, Intel and AMD further expanded the hardware virtualization capabilities of processors and associated chipsets.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>For example, Intel processors added support for extended page tables around 2008 and an unrestricted guest mode appeared around 2010, enabling vCPUs to operate in real mode.\u00a0Nested virtualization\u00a0support &#8212; creating a VM within another VM &#8212; appeared after 2013. Support for virtualization in other system devices, graphics and networking have also become mainstream. Today, only a small number of purpose-built processors &#8212; such as several Intel Atom processor variants &#8212; might not provide hardware-assisted virtualization.<\/p><\/blockquote>\n\n\n\n<p>Intel and AMD aren&#8217;t the only chip makers to delve into hardware-assisted virtualization support. Some\u00a0RISC\u00a0chip makers also support virtualization extensions in the ARM architecture. Intel and AMD maintain almost complete dominance in the server and PC processor market, however; both vendors are typically discussed, at the exclusion of any others.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Hardware-assisted virtualization vs. full virtualization and paravirtualization<\/strong><\/h2>\n\n\n\n<p>Before the introduction and broad adoption of hardware-assisted virtualization, virtualization was accomplished through software using two techniques: full virtualization and\u00a0paravirtualization. With the advent of hardware-assisted virtualization, neither approach is used to any significant degree today.<\/p>\n\n\n\n<p>The major approach to software-based virtualization is full virtualization, where binary translation trapped high privilege instructions and enabled the VMM software to emulate those functions instead, giving VM OSes the illusion of hardware access. But this approach imposed significant system overhead, which limited the number of VMs a system could support practically. And the emulation didn&#8217;t support the compatibility or performance needs of all applications.<\/p>\n\n\n\n<p>Not every workload would run well, if it ran at all, in a VM under software using full virtualization. Full virtualization software products such as VirtualBox and Microsoft\u00a0Virtual PC\u00a0are now considered obsolete.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>The alternative to full virtualization is paravirtualization. <\/p><\/blockquote><\/figure>\n\n\n\n<p>In this software-based virtualization model, the hypervisor provides an\u00a0API\u00a0offering virtualization functions, and the guest OS in each VM would then make API calls to use virtualization features of the hypervisor. The problem here is that OSes such as Windows didn&#8217;t natively support such APIs. Paravirtualization would require extensive modifications to the OS, which were difficult to make.<\/p>\n\n\n\n<p>Paravirtualization is still supported in Linux 2.6.23 and later kernels, called pv-ops. An alternative includes VMware&#8217;s Virtual Machine Interface, but this has since been deprecated and removed from Linux kernel 2.6.37 and VMware products in favor of more efficient hardware-assisted virtualization.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Hardware-assisted virtualization is the use of a computer&#8217;s\u00a0physical components\u00a0to support the software that creates and manages virtual machines (VMs).\u00a0Virtualization is an idea that traces its roots back to legacy\u00a0mainframe\u00a0system designs of the 1960s. By Stephen J. Bigelow Early mainframes used the Control Program\/Conversational Monitor System operating system and were adept at provisioning the mainframe&#8217;s available computing resources into isolated environments<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/what-is-hardware-assisted-virtualization-an-experts-indepth-explanation\/\">Read More<\/a><\/p>\n","protected":false},"author":112,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,35,4,30,3,228,99,297,237,215,97],"tags":[],"class_list":["post-7890","post","type-post","status-publish","format-standard","hentry","category-best-practices-for-data-center-operations","category-data-center-facilities","category-datacenter-news","category-expert-advise-and-opinion","category-industry-news-and-expert-advise","category-network-virtualization","category-server-hardware-and-virtualization","category-server-virtualization-hypervisors-and-management","category-server-virtualization-infrastructure-and-architecture","category-server-virtualization-management-tools-and-practices","category-virtualization"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=7890"}],"version-history":[{"count":1,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7890\/revisions"}],"predecessor-version":[{"id":7891,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7890\/revisions\/7891"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=7890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=7890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=7890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}