Cloud Service >> Knowledgebase >> Artificial Intelligence >> Faster AI Training Recovery-NVMe vs Network Storage for Checkpoint Performance
submit query

Cut Hosting Costs! Submit Query Today!

Faster AI Training Recovery-NVMe vs Network Storage for Checkpoint Performance

NVMe and network storage

NVMe is usually the fastest tier for checkpoint save and recovery because it provides low-latency, high-throughput local storage close to the GPU node. Network storage is essential for durability, sharing checkpoints across nodes, and disaster recovery, but it generally adds network latency and can become a bottleneck during large, frequent checkpoint writes. For Cyfuture Cloud AI workloads, the strongest design is a tiered approach: write or stage the active checkpoint on NVMe, asynchronously replicate it to durable network/object storage, and restore from the fastest available verified copy after a failure. Cyfuture Cloud offers NVMe SSD storage alongside distributed object storage, making this hybrid pattern practical for GPU-based training.

Why checkpoint performance matters

A checkpoint preserves model weights, optimizer state, learning-rate state, data-loader position, and sometimes distributed-training metadata. When a GPU node, network link, job scheduler, or training process fails, the system must reload that state before training can resume.

The cost is not only the checkpoint write time. It also includes recovery read time, job restart time, and the GPU idle time while workers wait for data. If checkpointing blocks compute, large models can lose substantial GPU utilization; if recovery is slow, an outage can waste hours of training progress. Storage systems that cannot keep up with checkpoint demand can slow training and reduce GPU utilization.

NVMe vs network storage

Factor

Local NVMe

Network storage

Typical role

Fast checkpoint staging, recovery cache, hot datasets

Durable shared repository, cross-node access, long-term retention

Latency

Very low, because data is local to the GPU server

Higher, because data crosses the network and storage fabric

Checkpoint write

Excellent for frequent, large local writes

Good for centralized, durable copies, but can be slower under contention

Recovery speed

Fastest when the checkpoint is already on the replacement or same node

Depends on network bandwidth, parallelism, and storage backend

Data sharing

Limited to the node unless replicated

Designed for multi-node access

Failure protection

Vulnerable if the node fails

Better protection through replication or erasure coding

Cost model

Usually higher per GB and node-bound

Often more economical at scale and easier to expand

Cyfuture Cloud positions NVMe SSDs for machine-learning training workloads that need rapid data access, while distributed object storage handles larger, scalable datasets and pipelines. Its NVIDIA infrastructure combines GPUs with NVMe storage, low-latency networking, and object storage for data-intensive AI workflows.

Where NVMe wins

NVMe is the preferred first tier for checkpoint performance because it reduces both the time to collect and store checkpoint data from GPUs and the time to restore it. High-speed flash is specifically recommended for checkpointing because it performs well during training.

NVMe is most valuable when:

Checkpoints are large, such as multi-billion-parameter model weights plus optimizer states.

Training uses frequent checkpoint intervals to limit the amount of work lost after a failure.

The job needs fast restart after a node replacement or process crash.

The training framework supports asynchronous checkpointing or GPU-direct storage paths.

Multiple workers need to read shards quickly during recovery.

Industry guidance commonly cites local NVMe as sustaining roughly 15–50+ GB/s with GPUDirect Storage, compared with about 2–10 GB/s for shared network file systems, although real results depend heavily on hardware, file size, parallelism, and checkpoint format. Cyfuture’s GPU cluster documentation lists primary NVMe SSD storage with 7 GB/s read/write performance and 10–100 TB scalable capacity per node, so actual achievable checkpoint throughput should be validated against the selected instance, checkpoint format, and concurrency.

Where network storage wins

Network storage remains indispensable because local NVMe is tied to a particular server. If that server fails, a checkpoint stored only on its local disk may be unavailable. Network-based shared storage, parallel file systems, and object storage provide a durable, centralized copy that surviving or replacement nodes can access.

Network storage is the right choice when:

Checkpoints must be available to every node in a distributed training cluster.

Jobs may be rescheduled to a different GPU node after failure.

The team needs retention policies, versioning, replication, or cross-region protection.

Checkpoints must be preserved after spot-instance termination or hardware replacement.

Multiple training runs need access to the same pretrained weights or datasets.

The trade-off is that network storage performance depends on both the storage system and the storage network. NVMe over Fabrics can extend NVMe-like performance across TCP, RDMA, or Fibre Channel fabrics, helping scale-out AI environments retain low latency and high throughput while adding external storage capacity.

Best architecture: tiered checkpointing

The best answer is not “NVMe versus network storage,” but NVMe plus network storage.

Write the active checkpoint to local NVMe. This minimizes GPU stall time and enables a fast restart if the same node remains healthy.

Asynchronously replicate the checkpoint to shared network or object storage. This protects against node loss and makes the checkpoint available cluster-wide.

Keep a small number of recent checkpoints on NVMe. This provides rapid rollback and recovery without filling local disk.

Retain older checkpoints in durable object storage. This supports auditability, experiment lineage, and recovery from broader failures.

Restore from the fastest verified copy. If the replacement node has the checkpoint locally, use it; otherwise, restore from shared storage using parallel reads.

This tiered approach—local NVMe to parallel file system to object storage—is recommended for masking I/O and computation latency while enabling more asynchronous checkpointing. A practical pattern is to retain a few recent checkpoints on the parallel file system for fast local recovery and copy periodic checkpoints to cloud object storage for long-term lineage.

Cyfuture Cloud implementation guidance

For a Cyfuture Cloud GPU training environment, use NVMe as the performance tier and object or shared storage as the durability tier. Cyfuture Cloud describes NVMe SSDs as suitable for ML training because of ultra-high IOPS, while object storage is designed for scalable dataset and pipeline needs.

Recommended configuration:

Put the training framework’s checkpoint directory on NVMe-backed local storage.

Use a background replication job or storage lifecycle policy to copy completed checkpoints to object storage.

Store sharded checkpoints in a format that supports parallel read and write.

Enable asynchronous or non-blocking checkpointing where the framework supports it.

Validate recovery time with a failure test: terminate a worker, provision a replacement, restore the latest checkpoint, and measure time to the next training step.

Monitor GPU idle time, checkpoint write duration, restore duration, disk utilization, and network throughput.

The objective is to keep storage wait states low: one benchmark target for AI training storage is less than 2% GPU idle time attributable to storage waits, along with sub-five-second checkpoint writes for models up to 500 GB in optimized configurations.

Conclusion

For faster AI training recovery, NVMe delivers the best checkpoint save and restore performance, especially for frequent checkpoints and rapid node-level recovery. Network storage provides the durability, shared access, and scale that NVMe alone cannot. The optimal Cyfuture Cloud architecture uses local NVMe as a fast checkpoint buffer and network/object storage as the durable system of record. This design reduces GPU idle time during checkpoint writes, accelerates recovery, and ensures that a node failure does not erase the latest training progress.

Follow-up questions

1. Should every checkpoint be written to NVMe?

Yes, write the active or most recent checkpoints to NVMe, but do not retain every checkpoint there indefinitely. Keep a limited rolling window locally and replicate selected checkpoints to durable network or object storage.

2. Can network storage ever be faster than NVMe?

For a single small checkpoint, a well-tuned high-bandwidth network storage system can be competitive. However, for frequent large checkpoints and immediate local recovery, NVMe generally has the latency and throughput advantage. NVMe-oF can narrow the gap by extending NVMe performance over network fabrics.

3. What checkpoint frequency should I use?

Choose a frequency based on the acceptable loss of training work, checkpoint size, and storage capacity. More frequent checkpoints reduce potential lost progress but consume more I/O and storage; asynchronous checkpointing helps reduce the compute impact.

4. Does NVMe eliminate the need for backups?

No. NVMe is a performance tier, not a complete durability strategy. A node or disk failure can make local checkpoints unavailable, so replicated network or object storage is still necessary.

5. How can I reduce checkpoint size?

Use mixed-precision or quantized optimizer states where appropriate, save only necessary training state, shard checkpoints across ranks, compress data if the framework supports it, and avoid saving redundant intermediate activations. Always validate that a reduced checkpoint can restore training exactly as expected.

6. What should I measure after implementing this design?

Measure checkpoint write time, checkpoint restore time, time from failure to the next completed training step, GPU utilization, NVMe IOPS and throughput, network throughput, and object-storage replication lag. These metrics reveal whether checkpointing is protecting training progress without hurting throughput.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!