{"id":6464,"date":"2021-03-23T14:05:58","date_gmt":"2021-03-23T12:05:58","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=6464"},"modified":"2021-03-23T14:11:11","modified_gmt":"2021-03-23T12:11:11","slug":"choosing-the-right-ssds-for-your-cloud-datacenter-ssds-vs-consumer-ssds","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/choosing-the-right-ssds-for-your-cloud-datacenter-ssds-vs-consumer-ssds\/","title":{"rendered":"Choosing the right SSDs for your cloud: Datacenter SSDs vs. Consumer SSDs"},"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\"> 6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"6464\" class=\"elementor elementor-6464\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-573e8361 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"573e8361\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-45e7c150\" data-id=\"45e7c150\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-217509a elementor-widget elementor-widget-image\" data-id=\"217509a\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs-1024x341.png\" class=\"attachment-large size-large wp-image-6466\" alt=\"\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs-1024x341.png 1024w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs-300x100.png 300w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs-768x256.png 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs-800x267.png 800w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/03\/Datacenter-SSDs-vs-Consumer-SSDs.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-55da0d77 elementor-widget elementor-widget-text-editor\" data-id=\"55da0d77\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<h1 class=\"wp-block-heading\"><strong>Datacenter SSDs are not just higher performance and more expensive versions of desktop-grade devices. They have unique features that are critical for storage systems.&nbsp;<\/strong><\/h1>\n\n\n\n<p>Guest Post<\/p>\n\n\n\n<p>There are a number of companies who use consumer-grade SSDs for powering their business. Usually, the story goes along the lines of \u201cconsumer SSDs are just as good as Datacenter SSDs, and they are cheaper\u201d or \u201cwe opened both SSDs, and the flash chips are the same\u201d or \u201cwe\u2019ve been using consumer-grade SSDs for X years now, and nothing has happened.\u201d<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>SSDs account for the majority of the hardware cost of a new storage solution. So it comes as no surprise that some companies may try to cut costs. This is OK for consumer users, but a wrong move for your business. Cutting corners on the devices which store one of your most precious resources \u2013 your data (or your customer\u2019s data) is the wrong thing to be \u201ccheaper\u201d on.<\/p><\/blockquote>\n\n\n\n<p>Picking the right Datacenter\/Enterprise SSDs for your case is also a science by itself, as their technical characteristics and price also vary significantly. But you should definitely avoid desktop SSDs to store business data on. Unless you do not need that data all that much, or the risk of losing your business due to data loss is a gamble you fancy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>The differences between Datacenter SSDs and Consumer SSDs<\/strong><\/h3>\n\n\n\n<p>Desktop\/consumer SSDs differ from Datacenter\/Enterprise SSDs in several ways.&nbsp; To name the usual ones: endurance, throttling, latency, power-loss protection and price (duh, you get what you pay for!).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">SSD endurance<\/h4>\n\n\n\n<p>SSD endurance is a relatively well-covered topic. NAND flash used in the SSD drives has a finite number of writes before it can\u2019t be used anymore. Desktop-grade SSD are designed for light loads of the typical desktop applications. With such loads, desktop-grade SSD can operate for many years. Storage systems concentrate load from many applications and the load on the devices is much higher. With such high load desktop-grade SSD will fail in several months instead of years.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>SSD throttling<\/strong><\/h4>\n\n\n\n<p>SSD throttling is a rather unpleasant behavior, but not an availability\/reliability issue. To optimize the cost, desktop SSDs are designed with some constraints. At low loads, they have very good throughput, but this throughput can not be maintained for prolonged periods of time. After a few minutes of continuous load, the throughput of desktop SSD drops drastically. This doesn\u2019t usually happen in normal desktop use, but in highly utilized storage systems, some desktop-grade SSDs may start performing even worse than spinning HDD.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>SSD latency<\/strong><\/h4>\n\n\n\n<p>Low latency is among&nbsp;the most important determinants of application performance, yet better have slow applications, than data loss. Which leads us to the one feature of datacenter SSDs which is not well understood, yet critical: power-loss protection.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>History of power-loss protected write-back cache\/buffering<\/strong><\/h3>\n\n\n\n<p>Standard HDDs don\u2019t have a power-loss protected (PLP) write buffer. RAID controllers with a <strong>Backup Battery Unit (BBU<\/strong>) or supercap are commonly used to get low write latency on HDDs. With a RAID controller (+BBU or supercap) when a write operation completes, it is stored in a&nbsp;DRAM&nbsp;buffer on the controller. Performance difference between an HDD and the same HDD behind a RAID controller is substantial, mainly due to low latency of writes in the RAID controller case.<\/p>\n\n\n\n<p>SAN and NAS appliances all have a power-loss protected buffer, usually in a specialized hardware component (NVRAM), and sometimes at system level (UPS in the rack with tight integration with the storage controllers).<\/p>\n\n\n\n<p>Later in hyperscale design, Google used an integrated on-board battery in each server. This is the same concept as the system-level power-loss protection used by SANs, but integrated at the level of any single server. This architecture, essentially a UPS for each server, is not popular outside of very specialized hyper-scale designs.<\/p>\n\n\n\n<p>At present, flash SSDs come in two main flavors:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u201cConsumer\u201d, \u201cDesktop\u201d or \u201cClient\u201d-grade SSDs, which don\u2019t have a power-loss protected buffer<\/li><li>\u201cDatacenter\u201d, \u201cServer\u201d or \u201cEnterprise\u201d-grade SSDs, with power-loss protected write-buffer<\/li><\/ol>\n\n\n\n<p>There is a marketing distinction between \u201cdatacenter\u201d (aka server) grade and \u201centerprise\u201d grade SSDs, which is not relevant for the power-loss protection discussion.<\/p>\n\n\n\n<p>The presence of power-loss protection functionality in an SSD is completely independent from the media type (MLC, 3D TLC, QLC, etc). There are QLC drives with power-loss protection. It is also independent from the interface of the SSD \u2013 SATA or SAS or NVMe. There are NVMe drives without power-loss protection.<\/p>\n\n\n\n<p>The components in a desktop SSD vs. datacenter SSD are different. The datacenter SSD has an SSD controller chip with a PLP (power-loss protected) functionality, a DRAM buffer (usually a separate chip) and a large capacitor bank. The large capacitor bank is required so that in case of a power failure all data in flight in the DRAM buffer can make its way onto stable (NAND) media.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Requirements of various systems towards power-loss protection in SSDs<\/strong><\/h3>\n\n\n\n<p>The discussion on whether saving cost is worth it in the area of SSDs is mostly meaningful in software-defined stacks: software-defined datacenter (SDDC), software-defined storage (SDS), converged and hyper-converged systems\/infrastructure (HCI). This is so, because as we mentioned above, traditional SAN\/NAS disk arrays have power-loss protection. As the IT industry moves towards newer, software-defined storage technologies, it is the software which manages standard, off-the shelf components, including SSDs. So it is becoming increasingly important that the software uses the right hardware platform for the given use case.<\/p>\n\n\n\n<p>Unsurprisingly, most products, which deal with mission-critical data understand this and require PLP. Here are several examples, from databases and file-systems to storage software solutions.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Databases + SSD<\/strong><\/h4>\n\n\n\n<p>An example with PostgreSQL:<\/p>\n\n\n\n<p>&gt; One aspect of reliable operation is that all data recorded by a committed transaction should be stored in a nonvolatile area that is safe from power loss, operating system failure, and hardware failure (except failure of the nonvolatile area itself, of course).<\/p>\n\n\n\n<p>&gt; Consumer-grade IDE and SATA drives are particularly likely to have write-back caches that will not survive a power failure. Many solid-state drives (SSD) also have volatile write-back caches.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Filesystems + SSD<\/strong><\/h4>\n\n\n\n<p>Widely used journaling file systems such as EXT4 and XFS also require persistence of writes to the journal. If a committed write to the journal is not persistent across power failure they will lose\/corrupt data.<\/p>\n\n\n\n<p>ZFS SLOG (ZIL device) requires every single committed write to be persisted. If it isn\u2019t, ZFS will lose data.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>VM<\/strong>WARE vSAN + SSD<\/h4>\n\n\n\n<p>&gt; Storage Device Requirements<br>&gt; All capacity devices, drivers, and firmware versions in your vSAN configuration must be certified and listed in the vSAN section of the VMware Compatibility Guide.<br>&gt; Compatibility. The model of the PCIe or SSD devices must be listed in the vSAN section of the VMware Compatibility Guide.<br>&gt; Flash device model that is listed in the VMware Compatibility Guide.<\/p>\n\n\n\n<p>To get an SSD on VMWare\u2019s the list of validated models it needs to have the following mandatory features: \u201cDrive Performance,Drive Reliability,Queue Depth,SAS Log Pages,<strong>Surprise Power Removal Protection<\/strong>,Write Cache,Write Failure Notification.\u201d<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Ceph + SSD<\/strong><\/h4>\n\n\n\n<p>&gt; Lack of proper power-loss protection will either result in extremely poor performance or not ensure proper data consistency Ceph assumes persistent writes on the journal device in both filestore and bluestore. If committed writes are lost this may lead to a cluster-wide data loss event, and judging by blog posts it has happened to a number of people.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>StorPool + SSD<\/strong><\/h4>\n\n\n\n<p>StorPool requires SSDs to have full power-loss protection and to pass a validation test, consisting of a long duration sustained write without significant performance degradation. Desktop SSDs usually fail both points.<\/p>\n\n\n\n<p>Following are supported and typical SSDs in new StorPool systems:<\/p>\n\n\n\n<p>\u2013 Samsung PM883 SATA \u2013 ~$120 per raw TB<\/p>\n\n\n\n<p>\u2013 Samsung PM983 NVMe \u2013 ~$120 per raw TB<\/p>\n\n\n\n<p>\u2013 Intel S4510 SATA \u2013 ~$160 per raw TB<\/p>\n\n\n\n<p>\u2013 Intel P4510 NVMe \u2013 ~$180 per raw TB<\/p>\n\n\n\n<p>\u2013 Micron 5200 PRO SATA&nbsp; \u2013 ~$140 per raw TB<\/p>\n\n\n\n<p>\u2013 Micron 9300 PRO NVMe \u2013 ~$166 per raw TB<\/p>\n\n\n\n<p>(price references are as of August 2019)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Power-loss protection functionality in SSDs is required for correct operation of many storage systems. If you don\u2019t have it, many systems will silently lose data, because they assume you have it. Alternatively some of these systems may be configured to work safely on desktop SSDs, but will do so very slowly and will also heavily wear the SSD device.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Obviously there is a&nbsp;performance&nbsp;vs. cost vs. reliability balance (trade-off). Some niche workloads may be OK running on desktop SSDs. For example, there may be very light workload which is perfectly OK with waiting for 10s of milliseconds for writes to the NAND media. Or there may be a dataset which doesn\u2019t care about data availability or data integrity, so it doesn\u2019t flush writes to the NAND media at all. But mixed workload from a virtualized environment, must use the appropriate datacenter\/enterprise grade SSDs.<\/p><\/blockquote>\n\n\n\n<p>The best in class software-defined storage solutions (SDS) can leverage the most cost-effective Datacenter grade SATA SSDs with endurance of about 1 DWPD (Drive Writes Per Day). Less capable SDS solutions require SAS SSDs with 3+DWPD. In either case \u2013 consult with your storage (software) vendor on what type of hardware would fit to your needs and will deliver the expected results according to your business case.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","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\"> 6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Datacenter SSDs are not just higher performance and more expensive versions of desktop-grade devices. They have unique features that are critical for storage systems.&nbsp; Guest Post There are a number of companies who use consumer-grade SSDs for powering their business. Usually, the story goes along the lines of \u201cconsumer SSDs are just as good as Datacenter SSDs, and they are<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/choosing-the-right-ssds-for-your-cloud-datacenter-ssds-vs-consumer-ssds\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,30,3,28,133,124,12],"tags":[],"class_list":["post-6464","post","type-post","status-publish","format-standard","hentry","category-datacenter-news","category-expert-advise-and-opinion","category-industry-news-and-expert-advise","category-partner-content","category-sas-ssd-serial-attached-scsi-solid-state-drive","category-solid-state-storage","category-tekmart-enterprise-hardware-tips"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6464","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=6464"}],"version-history":[{"count":5,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6464\/revisions"}],"predecessor-version":[{"id":6470,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6464\/revisions\/6470"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=6464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=6464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=6464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}