Large Scale Studies of Memory, Storage, and Network Failures in a Modern Data Center

2019-01-18T21:45:20Z (GMT) by Justin Meza
The workloads running in the modern data centers of large scale Internet service providers (such as<br>Alibaba, Amazon, Baidu, Facebook, Google, and Microsoft) support billions of users and span globally<br>distributed infrastructure. Yet, the devices used in modern data centers fail due to a variety of causes, from<br>faulty components to bugs to misconfiguration. Faulty devices make operating large scale data centers<br>challenging because the workloads running in modern data centers consist of interdependent programs<br>distributed across many servers, so failures that are isolated to a single device can still have a widespread<br>effect on a workload.<br>In this dissertation, we measure and model the device failures in a large scale Internet service company,<br>Facebook. We focus on three device types that form the foundation of Internet service data center<br>infrastructure: DRAM for main memory, SSDs for persistent storage, and switches and backbone links<br>for network connectivity. For each of these device types, we analyze long term device failure data broken<br>down by important device attributes and operating conditions, such as age, vendor, and workload. We<br>also build and release statistical models of the failure trends for the devices we analyze.<br>For DRAM devices, we analyze the memory errors in the entire fleet of servers at Facebook over the<br>course of fourteen months, representing billions of device days of operation. The systems we examine<br>cover a wide range of devices commonly used in modern servers, with DIMMs that use the modern<br>DDR3 communication protocol, manufactured by 4 vendors in capacities ranging from 2GB to 24GB.<br>We observe several new reliability trends for memory systems that have not been discussed before in<br>literature, develop a model for memory reliability, show how system design choices such as using lower<br>density DIMMs and fewer cores per chip can reduce failure rates of a baseline server by up to 57.7%.<br>We perform the first implementation and real-system analysis of page offlining at scale, on a cluster of<br>thousands of servers, identify several real-world impediments to the technique, and show that it can<br>reduce memory error rate by 67%. We also examine the efficacy of a new technique to reduce DRAM<br>faults, physical page randomization, and examine its potential for improving reliability and its overheads.<br>For SSD devices, we perform a large scale study of flash-based SSD reliability at Facebook. We analyze<br>data collected across a majority of flash-based solid state drives over nearly four years and many<br>millions of operational hours in order to understand failure properties and trends of flash-based SSDs.<br>Our study considers a variety of SSD characteristics, including: the amount of data written to and read<br>from flash chips; how data is mapped within the SSD address space; the amount of data copied, erased,<br>and discarded by the flash controller; and flash board temperature and bus power. Based on our field<br>analysis of how flash memory errors manifest when running modern workloads on modern SSDs, we make several major observations and find that SSD failure rates do not increase monotonically with flash<br>chip wear, but instead they go through several distinct periods corresponding to how failures emerge and<br>are subsequently detected.<br>For network devices, we perform a large scale, longitudinal study of data center network reliability<br>based on operational data collected from the production network infrastructure at Facebook. Our study<br>covers reliability characteristics of both intra and inter data center networks. For intra data center networks,<br>we study seven years of operation data comprising thousands of network incidents across two<br>different data center network designs, a cluster network design and a state-of-the-art fabric network design.<br>For inter data center networks, we study eighteen months of recent repair tickets from the field to<br>understand the reliability of Wide Area Network (WAN) backbones. In contrast to prior work, we study<br>the effects of network reliability on software systems, and how these reliability characteristics evolve over<br>time. We discuss the implications of network reliability on the design, implementation, and operation of<br>large scale data center systems and how the network affects highly-available web services.<br>Our key conclusion in this dissertation is that we can gain a deep understanding of why devices<br>fail—and how to predict their failure—using measurement and modeling. We hope that the analysis,<br>techniques, and models we present in this dissertation will enable the community to better measure,<br><div>understand, and prepare for the hardware reliability challenges we face in the future.</div><div><br> </div>