AI Data Center Storage & Networking: How to Choose
In this article
This guide walks you through selecting servers, storage, and networking for an AI data center. It covers the key hardware decisions, performance trade-offs, and common pitfalls, so you can build a system that balances cost, scalability, and training/inference efficiency.
What You'll Need
- An estimated AI workload profile (training vs. inference, model size, data volume)
- A budget range (hardware costs dominate, but power and cooling matter too)
- Knowledge of your data growth rate (how much new data per month/year)
- Power and cooling capacity at your facility
- Familiarity with your AI framework (PyTorch, TensorFlow, etc.) and its communication patterns
Step-by-Step
- Define your AI workload type and scale. Training large models requires high compute density and low-latency interconnect. Inference (serving) may be more tolerant of lower-end networking but needs high throughput for many concurrent requests. Estimate the model size (parameters) and dataset size (TB/PB) to determine the scale.
- Choose server form factor and GPU configuration. For training, select servers with 4 or 8 GPUs per node (e.g., NVIDIA HGX or similar). For inference, 1-2 GPUs per node might suffice. Ensure the CPU, RAM (at least 1-2 GB per GPU for training, more for data loading), and PCIe lanes match the GPU count. Consider NVLink/NVSwitch for multi-GPU communication within a node.
- Select storage type: capacity vs. performance. AI data centers need a tiered storage approach. Use NVMe SSDs for hot data (active training datasets, checkpoints) because of low latency and high IOPS. Use HDDs or object storage (S3-compatible) for cold data (archived datasets, logs). For large-scale training, parallel file systems like Lustre or GPFS are common, but they require dedicated metadata servers.
- Size storage capacity and throughput. Estimate total raw capacity: dataset size × replication factor (usually 2-3 for redundancy) + model checkpoints + scratch space. Throughput: read/write speed needed to keep GPUs busy. For example, a training cluster with 100 GPUs may need 100+ GB/s of aggregated read bandwidth. Use the formula: Required throughput = (dataset size / training time) × 2 (for overhead).
- Design the storage network. Separate storage traffic from compute traffic. Use a dedicated storage network (e.g., 25/100/200GbE) with RDMA (RoCEv2 or InfiniBand) to reduce latency and CPU overhead. For parallel file systems, ensure the network supports high message rates and low jitter.
- Choose the compute fabric. For multi-node training, the compute network is the backbone. Options: InfiniBand (EDR/HDR/NDR) for lowest latency and highest bandwidth, or Ethernet with RoCE (200/400GbE) for cost savings. Match the fabric speed to the GPU interconnect (e.g., 400GbE for 8-GPU nodes). Consider the number of nodes: scale-out with a fat-tree topology or a dragonfly for thousands of GPUs.
- Plan for management and storage access. Add a separate management network (1/10GbE) for out-of-band management (IPMI). For storage access, use NVMe-oF (NVMe over Fabrics) to extend NVMe performance over the network. Ensure the storage controllers can handle the expected IOPS and bandwidth.
- Consider power and cooling. Each GPU can draw 300-700W. A full rack with 8-GPU servers can exceed 30kW. Plan for liquid cooling for high-density racks, or reduce density to stay within air-cooling limits. Calculate total power: Total power = (GPU power + CPU + memory + storage) × number of nodes × PUE.
- Validate with benchmarking. Before full deployment, run a small pilot (e.g., 4-8 nodes) and measure: training throughput (images/sec or tokens/sec), storage bandwidth (fio), and network latency (perf test). Compare against your requirements and adjust.
- Plan for scalability. Choose hardware that can scale: switches with enough ports for future expansion, storage that can add capacity without downtime, and servers that support the same GPU model for homogeneous clusters. Avoid proprietary lock-in where possible.
Common Mistakes
- Underestimating storage bandwidth. GPUs can consume data faster than traditional storage can supply. Always test with real workloads.
- Mixing storage and compute traffic on the same network. This causes congestion and latency spikes, harming training performance.
- Choosing InfiniBand without checking software compatibility. Some cloud and AI frameworks have limited support for InfiniBand; RoCE Ethernet may be more portable.
- Ignoring metadata performance. Parallel file systems struggle with millions of small files. Use a separate metadata server or a different storage for small files.
- Oversizing the network. For inference-only workloads, 100GbE might be overkill; 25GbE could suffice and save cost.
- Forgetting about power and cooling. A rack that draws 50kW needs liquid cooling; air cooling cannot handle that density.
Tips
- Use a tiered storage strategy: NVMe for hot, SSD for warm, HDD/object for cold.
- For multi-node training, invest in a low-latency fabric (InfiniBand or RoCE) to reduce communication overhead.
- Use NVMe-oF to extend NVMe performance across the network without sacrificing latency.
- Monitor your storage and network utilization during training to identify bottlenecks.
- Consider using a managed service or reference architecture from your hardware vendor to reduce design risk.
- Plan for checkpointing: store checkpoints frequently on fast storage to avoid losing hours of training.
Troubleshooting
- Training is slow but GPU utilization is low. Check storage read bandwidth and network latency. Use
perf statto see if GPUs are waiting for data. Increase storage parallelism or reduce dataset size. - Network congestion errors (e.g., packet drops). Ensure flow control and PFC (Priority Flow Control) are enabled on RoCE networks. Check for cable/connector issues.
- Storage performance degrades over time. This is often due to fragmentation or metadata server bottlenecks. Optimize file layouts and consider defragmentation.
- Nodes fail to communicate after adding new switches. Verify VLANs, subnet masks, and routing. Check for firmware mismatches.
- Power circuit trips. Recalculate power draw and ensure you have proper phase balancing. Consider reducing GPU clock or using power capping.
- NVMe-oF latency is higher than expected. Check the network MTU (should be 9000 for jumbo frames). Ensure the NIC and switch support RoCEv2.
Frequently Asked Questions
What is the recommended storage for AI training?
Use NVMe SSDs for active datasets and checkpoints, with a parallel file system like Lustre or GPFS for large-scale clusters. For smaller setups, a simple NFS over 25GbE may work.
Should I use InfiniBand or Ethernet for AI networking?
InfiniBand offers lower latency and higher bandwidth (up to 400Gb/s), but is more expensive and less compatible with some software. Ethernet with RoCE (200/400GbE) is cheaper and more flexible, suitable for most workloads.
How much storage capacity do I need?
Calculate: dataset size × replication factor (2-3) + model checkpoints (can be 10x model size) + scratch space. For a 10TB dataset with 3x replication, you need at least 30TB raw, plus overhead.
Can I use cloud storage like S3 for AI training?
Yes, but latency and bandwidth may be insufficient for large-scale training. Use S3 for cold storage or data staging, and keep hot data on local NVMe or a parallel file system.
What is the role of NVMe-oF in AI data centers?
NVMe-oF (NVMe over Fabrics) allows you to access remote NVMe drives with near-local performance, enabling a shared, high-performance storage pool that can be scaled independently.
How do I choose the number of GPUs per server?
For training, 8 GPUs per node is common (to match NVLink domains). For inference, 1-4 GPUs per node may be enough. More GPUs per node reduces network traffic between nodes but increases power density.