| |

NVIDIA H100 & L40S GPU Bare-Metal Servers for AI & LLM Inference

NVIDIA H100 & L40S GPU Bare-Metal Servers for AI technical architecture and dedicated infrastructure diagram
Verified Technical Answer

NVIDIA H100 and L40S GPU bare-metal servers for AI eliminate hypervisor PCIe/IOMMU overhead while maximizing VRAM bandwidth and interconnect speed for LLM inference. H100 SXM5 (3.35 TB/s HBM3, 900 GB/s NVLink) dominates multi-GPU 70B+ parameter low-latency decode and high-batch serving, whereas L40S (48 GB GDDR6, PCIe Gen4) delivers superior price-performance for 7B–32B models, FP8 inference, and multimodal generation.

Large language model (LLM) inference stresses infrastructure completely differently than traditional web workloads or even distributed model training. Prompt prefill saturates tensor-core FLOPS, while autoregressive token decode is bottlenecked almost entirely by how fast weights and KV cache stream from GPU memory. Designing GPU bare-metal servers for AI around NVIDIA H100 and L40S accelerators removes virtualization penalties—described in our bare-metal vs. cloud VPS performance analysis—and gives inference engines like vLLM and TensorRT-LLM direct, predictable control over PCIe lanes, NUMA memory channels, and high-speed NVMe model storage.

Memory Bandwidth Wins

Token decode latency tracks HBM3 (3.35 TB/s) vs GDDR6 (864 GB/s) memory bandwidth far more closely than peak FP8 TFLOPS.

Zero Virtualization Tax

Direct bare-metal PCIe attachment avoids vGPU licensing fees, IOMMU translation latency, and noisy-neighbor power throttling.

FP8 & Continuous Batching

Combining FP8 quantization with PagedAttention batching multiplies concurrent user throughput without dropping output quality.

NVIDIA H100 SXM/PCIe vs. L40S Architecture for LLM Inference Workloads

Although both Ada Lovelace (L40S) and Hopper (H100) GPUs feature fourth-generation Tensor Cores with native FP8 Transformer Engine support, their memory subsystems and multi-GPU interconnects target distinct production tiers.

Architectural Specification NVIDIA H100 SXM5 (80 GB) NVIDIA H100 NVL / PCIe (94 GB) NVIDIA L40S (48 GB)
GPU Architecture Hopper (GH100) Hopper (GH100) Ada Lovelace (AD102)
VRAM Capacity & Type 80 GB HBM3 94 GB HBM3 48 GB GDDR6 with ECC
Memory Bandwidth 3.35 TB/s 3.9 TB/s (NVL) 864 GB/s
FP8 Tensor (w/ sparsity) 3,958 TFLOPS 3,341 TFLOPS 1,466 TFLOPS
Interconnect 900 GB/s NVLink (4th Gen) 600 GB/s NVLink bridge (2-GPU) / PCIe Gen5 PCIe Gen4 x16 (no NVLink)
Max TDP 700 W 350–400 W 350 W
Optimal Inference Fit 70B–405B models, ultra-low TPOT, high concurrency Dual-GPU 70B FP16/FP8 in standard 2U/4U chassis 7B–32B LLMs, embeddings, vision/diffusion, cost-sensitive APIs

Because H100 SXM5 delivers nearly 4x the memory bandwidth of L40S, single-stream time-per-output-token (TPOT) on a Llama-3 70B model runs substantially faster on H100. However, at moderate batch sizes serving 8B–32B models (especially quantized to FP8), dual or quad L40S bare-metal nodes often yield higher tokens-per-dollar because you avoid HGX SXM baseboard premiums.

VRAM Sizing, KV Cache Memory & Precision Quantization (FP16, FP8, AWQ)

Engineers routinely underestimate inference memory because they budget only for model weights. An 8B model in BF16 requires ~16 GB for weights alone, while a 70B model requires ~140 GB in BF16 or ~70 GB in FP8. On top of weights, every active concurrent request consumes Key-Value (KV) cache proportional to context length. Serving 64 concurrent users with 8,192-token contexts on a 70B model without Grouped-Query Attention (GQA) or FP8 KV-cache quantization can easily demand another 40–80 GB of VRAM.

Calculating Per-Token KV Cache & Selecting FP8 vs. INT4 AWQ

You can approximate KV-cache VRAM consumption per token using 2 * num_layers * num_kv_heads * head_dim * dtype_bytes. Models with Grouped-Query Attention (such as Llama-3 70B with 8 KV heads instead of 64) shrink KV memory by 8x compared to multi-head attention, allowing far higher batch concurrency inside an 80 GB H100 or dual 48 GB L40S configuration. On H100 and L40S hardware, native FP8 execution preserves virtually identical perplexity and reasoning benchmarks to BF16 while cutting weight memory in half and doubling Tensor Core throughput. Reserve 4-bit quantization (AWQ or Marlin-kernel GPTQ) for fitting 70B-class models onto a single 48 GB L40S or 80 GB H100 when concurrency is modest and you want to avoid multi-GPU communication.

PCIe Gen5 Topology, NUMA Affinity & IOMMU Overhead on Bare Metal

Multi-GPU tensor parallelism depends critically on host motherboard topology. In PCIe servers (such as quad L40S or H100 PCIe nodes), verify whether peer-to-peer (P2P) DMA traffic stays behind a single PCIe switch or crosses the CPU’s inter-socket link. Balancing GPU affinity with your Intel Xeon vs. AMD EPYC CPU architecture ensures tokenizers, preprocessing workers, and NIC RDMA queues sit on the same NUMA node as their assigned GPUs. Follow the NVIDIA Data Center Driver installation notes to match kernel headers, open-kernel-modules, and Fabric Manager versions cleanly.

# Inspect GPU-to-GPU & NUMA topology (verify NVLink 'NV#' or PCIe switch 'PIX' vs 'SYS')
nvidia-smi topo -m

# Enable Persistence Mode to eliminate CUDA context re-initialization latency
sudo nvidia-smi -pm 1

# Verify PCIe negotiated link speed & width (e.g., Gen5 x16 = 32 GT/s, Gen4 x16 = 16 GT/s)
nvidia-smi --query-gpu=index,name,pcie.link.gen.current,pcie.link.width.current,temperature.gpu,power.draw --format=csv

# Check NUMA node CPU core & RAM distribution
numactl --hardware

High-Throughput Serving Engines: vLLM, TensorRT-LLM & Continuous Batching

Static request batching wastes GPU cycles waiting for the longest output sequence in a batch to finish. Production inference engines—including vLLM (with PagedAttention), SGLang (with RadixAttention prefix caching), and NVIDIA TensorRT-LLM—use iteration-level continuous batching to insert new prompts immediately as other sequences emit EOS tokens.

# Launch vLLM OpenAI-compatible server across 2x H100 or 2x L40S with FP8 KV cache
python3 -m vllm.entrypoints.openai.api_server \
    --model /mnt/nvme-models/Meta-Llama-3.1-70B-Instruct-FP8 \
    --tensor-parallel-size 2 \
    --dtype auto \
    --kv-cache-dtype fp8 \
    --max-model-len 16384 \
    --gpu-memory-utilization 0.92 \
    --enable-chunked-prefill \
    --port 8000

Rollback & Safety Precaution: Before upgrading Linux kernels on bare-metal GPU hosts, hold NVIDIA driver and Fabric Manager packages (apt-mark hold nvidia-driver-* nvidia-fabricmanager-* on Debian/Ubuntu) or test DKMS module compilation in staging. A mismatch between the running kernel, nvidia.ko, and nvidia-fabricmanager on multi-GPU SXM servers causes NVLink initialization failures and takes all GPUs offline until rolled back.

Power, Thermal Envelopes & NVMe Model Weight Staging

An 8x H100 SXM server draws up to 10.2 kW under sustained prefill load, while quad L40S nodes require robust 2U/4U front-to-back airflow to stay below 80°C GPU core thresholds. Monitor power throttling flags via nvidia-smi -q -d PERFORMANCE during soak tests so chassis fan curves ramp ahead of thermal slowdown. Equally overlooked is storage bandwidth: loading a 140 GB checkpoint from slow SATA drives takes several minutes during container autoscaling or service restarts, whereas local enterprise NVMe storage saturates 7–14 GB/s and cuts cold-start weight loading under 15 seconds.

Chunked Prefill & Prefix Caching for Interactive Latency

Long system prompts or RAG documents (8K–32K tokens) cause severe time-between-tokens (TBT) jitter when a massive prefill batch stalls active decode streams. Enabling --enable-chunked-prefill in vLLM slices large prefill computations into bounded chunks interleaved with decode steps, while automatic prefix caching reuses shared system-prompt KV blocks across requests—cutting time-to-first-token (TTFT) by up to 70% on repetitive agentic workflows.

Frequently Asked Questions

When should I choose NVIDIA L40S instead of H100 for LLM inference?

Choose L40S for 7B–32B parameter models, embedding pipelines, Whisper/multimodal workloads, and FP8 inference where 48 GB VRAM per card fits the model cleanly and cost-per-token matters more than extreme single-user decode speed.

Why is bare metal noticeably faster than virtualized GPUs for multi-GPU inference?

Bare metal removes hypervisor IOMMU address translation overhead, eliminates vGPU scheduling jitter, and exposes native NVLink or PCIe switch peer-to-peer DMA directly to NCCL all-reduce operations used in tensor parallelism.

What does 'SYS' vs 'PIX' vs 'NV8' mean in nvidia-smi topo -m?

‘NV#’ indicates high-speed NVLink bridges between GPUs, ‘PIX’ means GPUs share a single PCIe switch, and ‘SYS’ means traffic must traverse CPU interconnects across NUMA sockets, which degrades tensor-parallel latency.

Is nvidia-fabricmanager required on L40S PCIe servers?

No. NVIDIA Fabric Manager is required on NVSwitch/SXM multi-GPU platforms (such as 8x H100 HGX systems) to initialize NVLink memory fabric routing, whereas standard PCIe L40S servers operate directly via the CUDA driver.

How much system RAM should a bare-metal GPU inference server have?

Provision at least 1.5x to 2x total GPU VRAM in host DDR5/DDR4 RAM so CPU-side Safetensors loading, KV-cache offloading, tokenization workers, and Linux page caching never swap.

Does enabling –kv-cache-dtype fp8 hurt LLM accuracy?

On Hopper and Ada GPUs, FP8 KV-cache quantization typically preserves >99% of baseline evaluation accuracy while freeing up to 50% more VRAM for longer context windows and larger continuous batches.

Deploy Bare-Metal GPU Servers Engineered for AI Inference

Provision dedicated single-tenant GPU bare-metal servers with low-latency NVMe storage, high-bandwidth uplinks, and full CUDA kernel control.

Explore USA Dedicated Servers

NR
Naveen Rajput — Infrastructure & Cloud Systems Architect

Reviewed by Onlive Server Infrastructure Engineering for technical accuracy, kernel/network safety, and global bare-metal operations.