{"id":58406,"date":"2023-09-29T09:01:41","date_gmt":"2023-09-29T03:31:41","guid":{"rendered":"https:\/\/www.tothenew.com\/blog\/?p=58406"},"modified":"2023-10-03T09:16:15","modified_gmt":"2023-10-03T03:46:15","slug":"aws-graviton-traditional-x86-instances-performance-analysis","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/aws-graviton-traditional-x86-instances-performance-analysis\/","title":{"rendered":"AWS Graviton &#038; Traditional x86 Instances: Performance Analysis"},"content":{"rendered":"<p><b>AWS Graviton<\/b><span style=\"font-weight: 400;\"> is a 64-bit ARM-based CPU designed by AWS for their cloud instances\/resources and launched first at Re-invent 2018. Graviton CPUs are not available outside of the world as it is used within the AWS Data centers only.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Traditionally, we used x86 AMD-based CPU for our workloads, which is designed and developed by Intel and has a good share in the market nowadays, but Now, with Graviton CPUs, there are significant optimization differences that help us to reduce the Cost, Performance, etc.\u00a0<\/span><\/p>\n<p><b><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58407\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h-300x157.png\" alt=\"\" width=\"524\" height=\"274\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h-300x157.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h-1024x536.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h-768x402.png 768w, \/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h-624x327.png 624w, \/blog\/wp-ttn-blog\/uploads\/2023\/09\/arm-x86-h.png 1200w\" sizes=\"(max-width: 524px) 100vw, 524px\" \/><\/b><\/p>\n<p><span style=\"font-weight: 400;\">Below is a short introduction about the\u00a0 x86 and Graviton Instances about their nature, workload support, request handling, etc. :\u00a0<\/span><\/p>\n<p><b>\u25cf\u00a0 x86 instances: <\/b><span style=\"font-weight: 400;\">x86 CPU Instances are AMD-based architecture, which is a good fit to run our general workloads like Web servers, Microservices, Containerization, and small, scalable applications. These instances provide a variety of workload support like enterprise application Content Management Service application, and it is also ideal for Database workloads due to its high core and memory. It can handle multiple concurrent requests and queries at a time with good performance.<\/span><\/p>\n<p><b>\u25cf Graviton Instances<\/b><b>: <\/b><span style=\"font-weight: 400;\">Graviton instances are ARM-based custom-designed <\/span>instances provided by AWS. These are 40% cheaper than traditional x86 instances. These are the alternate solutions of x86-based instances. Graviton instances are a good fit for power and cost-efficient workloads. ARM-based processors are commonly used in Mobiles, and we are aware of their performance and scalability. Graviton-based instances provide a variety of instance options that are optimized for various workloads.<\/p>\n<p><span style=\"font-weight: 400;\">As we see above, the overview of both x86 and Graviton instances and when we start our Graviton migration journey, we have multiple concerns about efficiency, scalability performance, etc. We want to ensure that our workload runs with good performance as well as minimal cost.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, keeping things in mind about all concerns and performance queries, below are some of the points that help us to understand Graviton Instances :\u00a0<\/span><\/p>\n<h2><b>\u25cf vCPU:<\/b><\/h2>\n<p><b>\u25cf Graviton<\/b><span style=\"font-weight: 400;\">: Graviton processors showed good performance per vCPU core when there are larger threads assigned on the CPU core accordingly. It gives 10-15% advantages over the Intel(x86) Processors, even in high concurrency scenarios. Graviton advantage could be 70000 transactions per second over the Intel traditional x86 processors in real numbers.<\/span><\/p>\n<p><b>\u25cf x86<\/b><span style=\"font-weight: 400;\">: Traditional x86 processors showed fast performance when it comes to a single core handling the single threads or the smaller number of threads assigned accordingly. It has better performance with the low concurrency scenarios, and when it has some additional free vCPU, it could be better and has advantages up to 35%.<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<h2><b>\u25cf Price to Performance:\u00a0<\/b><\/h2>\n<p><b>\u25cf Graviton<\/b><span style=\"font-weight: 400;\">: These instances are generally more cost-effective than the traditional x86 processors. Aws provides better prices for Graviton instances as compared to the traditional x86 processors for price-conscious customers. Graviton processors provide 15-25% better price-performance for disk-bound and CPU-bound workloads.<\/span><\/p>\n<p><b>\u25cf x86<\/b><span style=\"font-weight: 400;\">: Traditional x86 instances are quite expensive compared to Graviton instances, and when it comes to the single-threaded workloads, x86 instances offer 6% and 14% better price to performance as compared to Graviton instances. When all CPU resources are fully utilized, and spot instances are being used, then high-clocked Intel (x86) instances provide 20% and 8% better price performance compared to the Graviton<\/span><\/p>\n<h2><b>\u25cf Memory and Storage:\u00a0<\/b><b><\/b><b><\/b><\/h2>\n<p><b>\u25cf<span style=\"text-decoration: underline;\"> Graviton :<\/span>\u00a0<\/b><\/p>\n<p><b>\u25cf Memory: <\/b><span style=\"font-weight: 400;\">Graviton instances come with various configurations of memory, and it does not always match the highest configuration provided by traditional x86 processors but it is optimized for several use cases, and you can refer accordingly to your workloads.<\/span><\/p>\n<p><b>\u25cf Storage<\/b><span style=\"font-weight: 400;\">: Graviton instances support EBS volumes and instance store volumes for their storage requirements.<\/span><\/p>\n<p><span style=\"text-decoration: underline;\"><b>\u25cf x86<\/b><span style=\"font-weight: 400;\"> :\u00a0<\/span><\/span><\/p>\n<p><b>\u25cf Memory<\/b><span style=\"font-weight: 400;\">: x86 typically offers a variety of memory options from the range of Gigabytes to Terabytes depending on instance size. Instances are designed for Memory-oriented workloads. R-series and X-series instances offered higher memory.<\/span><\/p>\n<p><b>\u25cf Storage<\/b><span style=\"font-weight: 400;\">: x86 instances also provide various storage options like Graviton. We can use EBS as well as an Instance store to fulfill the requirements of storage.<\/span><\/p>\n<h2><b>Workload Compatibility<\/b><span style=\"font-weight: 400;\">:<\/span><\/h2>\n<p><b>\u25cf Graviton<\/b><span style=\"font-weight: 400;\">: Workload compatibility will be the reason for consideration because Graviton instances are optimized for various types of workloads, so it gives us the flexibility to choose wisely. It is compatible with several types of applications, databases, etc.<\/span><\/p>\n<p><b>\u25cf x86<\/b><span style=\"font-weight: 400;\"> : Traditionally, x86 is also better optimized for some applications due to dominant market share from the last few years.<\/span><\/p>\n<h2><b>\u25cf Software Ecosystem<\/b><span style=\"font-weight: 400;\">:\u00a0<\/span><\/h2>\n<p><b>\u25cf Graviton<\/b><span style=\"font-weight: 400;\">: Since Graviton is quite new in the market nowadays, a lot of libraries and packages are built that support Graviton, but there are still a few packages and libraries that might not have native support for ARM chipsets.<\/span><\/p>\n<p><b>\u25cf x86<\/b><span style=\"font-weight: 400;\">: Traditional instances have a well-established software ecosystem due to its long market shares. It provides better software packages compared to Graviton.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here is the quick comparison table of the above parameters to get the context of both instances according to their specific workloads.<\/span><\/p>\n<p>&nbsp;<\/p>\n<table style=\"height: 224px;\" width=\"791\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Categories<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Graviton<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">x86<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Remarks<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">vCPU<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b07\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">In Context of Multithreading workload<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Price to Performance<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b07\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">CPU bound workloads<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Memory &amp; Storage<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\"> Both are good<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Workload Compatibility<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Optimized for different workloads<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">Software Ecosystem<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b07\ufe0f<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u2b06\ufe0f<\/span><\/td>\n<td>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Libraries &amp; Packages not supported in <\/span><span style=\"font-weight: 400;\">few cases<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2><b>Conclusion:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Graviton instances are significant in performance and cost-effectiveness, challenging the traditional x86 instances in certain scenarios. It also provides a wide range of optimization for several workloads, which helps us to reduce the cost of our resources along with good performance and compatibility. It has a good price-performance ratio compared to traditional x86 processor-based instances according to the industry&#8217;s workloads. We can keep the above few aspects while analyzing the performance of conventional x86 and Graviton instances.<\/span><\/p>\n<h2><b>References:\u00a0<\/b><\/h2>\n<p><a href=\"https:\/\/aws.amazon.com\/ec2\/graviton\/\"><span style=\"font-weight: 400;\">https:\/\/aws.amazon.com\/ec2\/graviton\/<\/span><\/a><\/p>\n<p><a href=\"https:\/\/attriab.medium.com\/why-aws-graviton-is-a-game-changer-for-cost-effective-computing-80e8dcbfa71c\"><span style=\"font-weight: 400;\">https:\/\/attriab.medium.com\/why-aws-graviton-is-a-game-changer-for-cost-effective-computing-80e8dcbfa71c<\/span><\/a><\/p>\n<p><a href=\"https:\/\/www.percona.com\/blog\/comparing-graviton-performance-to-arm-and-intel-for-mysql\/\"><span style=\"font-weight: 400;\">https:\/\/www.percona.com\/blog\/comparing-graviton-performance-to-arm-and-intel-for-mysql\/<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>AWS Graviton is a 64-bit ARM-based CPU designed by AWS for their cloud instances\/resources and launched first at Re-invent 2018. Graviton CPUs are not available outside of the world as it is used within the AWS Data centers only. Traditionally, we used x86 AMD-based CPU for our workloads, which is designed and developed by Intel [&hellip;]<\/p>\n","protected":false},"author":1597,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":576},"categories":[2348],"tags":[1892,5320],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58406"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1597"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=58406"}],"version-history":[{"count":7,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58406\/revisions"}],"predecessor-version":[{"id":58938,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58406\/revisions\/58938"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=58406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=58406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=58406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}