NVMe Protocol Introduction
Basic concepts
| | |
| | |
| | |
| | |
| | |
| | |
Use Scenarios
NVMe Cloud Disk
NVMe shared disk
data sharing The simplest application scenario of NVMe is data sharing. When the data is written to the cloud disk, other nodes can access the data, thus effectively saving costs and improving read and write performance. For example, in the cloud container image scenario, images of the same system are usually similar, so that a single image can be read and loaded by multiple different instances. High availability failover Business high availability is one of the most common application scenarios for shared disks. Traditional SAN based databases, such as Oracle RAC, SAP HANA, and cloud native high availability databases, are examples. A single point of failure is normal during actual business use. Ensuring business continuity in the event of a failure is the core capability of a highly available system. Storage and network on the cloud have extremely high availability. The computing node is often affected by power failure, downtime, hardware failure, and so on. Therefore, the business usually builds the active/standby mode to solve the high availability problem of computing. For example, in the database scenario, when the primary database fails, it quickly switches to the standby database to provide external services. After the instance switch, you can release the write permission of the old instance through the NVMe PR command, so as to ensure that the old instance no longer writes data to affect data consistency. As shown in the figure, the failover process is described as follows: Database primary instance 1 is down, and the business stops. Issue the NVMe PR command to prohibit database instance 1 from continuing to write data and allow database instance 2 to write data. Database instance 2 is restored to the same state as database instance 1 through log playback. Switch database instance 2 as the primary instance and continue to provide external services.
Distributed cache acceleration The NVMe shared cloud disk has high performance, IOPS and throughput, and can provide performance acceleration for other low-speed storage systems. For example, in the data lake scenario, the data lake is usually built based on OSS and can be accessed by multiple clients at the same time. It also has high sequential read throughput and append write throughput, but its sequential read/write throughput and latency are poor, and its random read/write performance is poor. By accelerating NVMe shared cloud disks between computing and storage as cache acceleration, you can greatly improve the access performance of data lakes and other scenarios. machine learning Machine learning is another typical application scenario of shared disks. After the sample labels are written, the data will be split to multiple nodes for distributed computing of neural networks. Especially in the high-performance machine learning scenario where GPU is the computing resource, slow storage is likely to become the bottleneck of the entire system. At this time, the high-performance NVMe shared cloud disk will be used, It can effectively accelerate the performance of the whole machine model training.
-
Introduction to this page (1)