﻿# Ginex: SSD-backed GNN training needs more than a bigger drive

Ginex samples ahead to plan feature caching for out-of-core GNN training. Its optimality, hardware and temporary-storage costs have specific boundaries.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/ginex-ssd-gnn-belady-superbatch-cache-boundaries/
Language: en

## SSD capacity changes the GNN bottleneck

[Ginex](https://www.vldb.org/pvldb/vol15/p2626-park.pdf) is a published system for graph-neural-network training when the graph exceeds host DRAM. It uses SSD storage for graph data and application-managed memory caches to reduce expensive feature reads. Its reported average throughput improvement of 2.11 times is against a specifically modified disk-backed PyG baseline, not against arbitrary in-memory training.

The important contribution is a changed data-preparation schedule. Buying an NVMe drive alone does not provide that schedule, nor turn storage into DRAM with equivalent access behavior.

## Sampling ahead makes future accesses visible

Ginex separates sampling for a group of minibatches, called a superbatch, from later feature gathering. Once sampling is complete, the system knows which feature vectors those upcoming batches will require. It can then plan cache replacement using future reuse distance.

The paper applies Belady's optimal replacement policy to that known feature-access sequence. The scope of optimality matters: this does not claim an optimal training algorithm, globally minimum wall time or an oracle for arbitrary future requests. The separate neighbor cache uses its own policy. Sampling and feature caching solve related but different access problems.

The existing [GraphSAGE mapping guide](/journal/fg2-graphsage-sampled-local-global-node-mapping/) supplies an essential correctness boundary: gathered features must remain aligned with sampled global node identities, even when preparation is moved ahead of execution.

## The published machine and datasets are explicit

The paper's system table identifies an Intel Xeon Gold 6244, a V100 with 16 GB, 64 GB host memory and a Samsung PM1725b with 8 TB capacity. Its large datasets range from 326 GB to 569 GB and are expanded from source graphs using a graph-generation procedure. They are not simply untouched private graphs with a billion independently observed nodes.

These details resolve the hardware uncertainty left by a short abstract. They also limit transferability. Storage access concurrency, feature width, graph structure and available cache space affect the balance. A smaller workstation or a different SSD may move the bottleneck, even when its nominal storage capacity is sufficient.

## The runnable example is a separate experiment

The [official repository](https://github.com/SNU-ARC/Ginex) offers a toy papers100M example that restricts available memory using a cgroup. That emulates a dataset exceeding the memory allowance; it does not mean the physical server itself contains only the restricted amount of RAM. The repository separately lists the underlying machine.

The example also requires preprocessing and native extensions. A comparison should identify prepared neighbor caches and generated intermediate files before timing. The [NVMe model-serving guide](/journal/nvme-for-model-serving/) explains the broader distinction between storage capacity and the actual application data path; here that path serves graph preparation rather than loading language-model weights.

## Budget the inspection work and temporary storage

Sampling ahead creates runtime files and cache-planning work. The paper reports approximately 145 GB of additional runtime and neighbor-cache storage in its evaluated setup. A larger superbatch can amortize switching costs, but increases temporary storage and can eventually encounter other resource limits.

A useful reproduction measures the complete epoch, including inspection, switching, gathering and cache updates. It preserves sampling and model computation so that a speed change does not silently redefine the learning task. Ginex supports a specific single-machine out-of-core training design; its cache optimality and historical throughput are meaningful within their documented access sequence, baseline and storage configuration.
