# Hermes is complete

https://akougkas.io/journal/2024/hermes-is-complete/

Author: Anthony Kougkas

Published: 2024-08-16

[Hermes v1.2.1](https://github.com/HDFGroup/hermes/releases/tag/v1.2.1) is out, and it is the last release of the project. The NSF award that funded it, [OAC-1835764](https://www.nsf.gov/awardsearch/show-award/?AWD_ID=1835764), ran from 2018 through 2023, and the project record closes at the end of this month. [Hermes](https://akougkas.io/work/hermes/) started as the center of my PhD, became a collaborative Frameworks project with [The HDF Group](https://www.hdfgroup.org/) in September 2018, and I have led its technical work from the first design to this tag. I want to mark the ending properly rather than let it fade. Most research software dies by neglect, and I would rather this one had a date.

At a glance

Anchor

Hermes v1.2.1, tagged August 16, 2024, closing NSF award OAC-1835764

Systems

[Hermes](https://akougkas.io/work/hermes/), [IOWarp](https://akougkas.io/work/iowarp/)

The claim

Middleware can present memory, NVMe, burst buffers, and the parallel file system as one hierarchy and place data on the application's behalf.

Code

[HDFGroup/hermes](https://github.com/HDFGroup/hermes)

## What changed

The bet in the [HPDC 2018 paper](https://akougkas.io/publications/kougkas2018hermes/) was that middleware could present a machine’s storage tiers, memory, local NVMe, burst buffers, and the parallel file system, as one buffering hierarchy, and make placement decisions on the application’s behalf from workload behavior, device capability, capacity, and intent. The application would keep writing POSIX, [HDF5](https://www.hdfgroup.org/solutions/hdf5/), or MPI-IO. Hermes would intercept the calls and decide where the bytes went.

Diagram: The Hermes placement engine sits above four storage tiers, memory, NVMe, burst buffer, and parallel file system, and decides where each request lands.

Hermes intercepts POSIX, HDF5, and MPI-IO calls and places each request across memory, NVMe, burst buffers, and the parallel file system from workload behavior, device capability, capacity, and intent, so the application sees one buffering hierarchy.

That bet held, which I say with some relief, since I made it as a student. Policy-driven placement works, the adapters intercept real applications without code changes, and the distributed metadata and RDMA-capable runtime that coordinate placement across nodes ran on [Argonne](https://www.anl.gov/)’s [Theta](https://www.alcf.anl.gov/alcf-resources/theta) and [Oak Ridge](https://www.ornl.gov/)’s [Summit](https://www.olcf.ornl.gov/summit/) as well as our own cluster. In this site’s bibliography, nineteen papers name Hermes as a project, which is a fair measure of how much research the architecture carried, and the [project record at GRC](https://grc.iit.edu/research/projects/hermes/) lists them with the team.

[Hariharan Devarajan](https://grc.iit.edu/center/team/hariharan-devarajan/)’s [HFetch](https://akougkas.io/publications/devarajan2020hfetch/), [HCompress](https://akougkas.io/publications/devarajan2020hcompress/), and [HReplica](https://akougkas.io/publications/devarajan2020hreplica/) each had to fit inside the same placement model, and the fact that they did is the strongest evidence that the model was right.

What did not hold was my sense of how much of the work was the algorithm. I was wrong in the direction every systems student is wrong. The placement engine was a small fraction of the final system.

Most of the five years went into the things a paper lets you skip: distributed metadata that survives node failure, adapters that behave under every I/O pattern a real application produces, packaging and documentation that let a stranger install it, and the runtime [Luke Logan](https://grc.iit.edu/center/team/luke-logan/) built to keep all of it coordinated. That runtime outgrew Hermes and is now a thing of its own.

The partnership mattered. [Gerd Heber](https://www.hdfgroup.org/team/gerd-heber/) was the HDF Group’s co-PI, and the software lives under [their organization](https://github.com/HDFGroup/hermes), which is why it has a home that outlasts the grant. A research group’s GitHub is a poor archive. An organization whose business is keeping a format alive for decades is a better one.

Most research software dies by neglect, and I would rather this one had a date.

## Boundary and next step

Complete means complete. There will not be a v1.3. I have been asked, and a clear no is a kindness to anyone deciding whether to build on it. Issues will be answered when someone has time, which is an honest description of most research software after its funding ends. The v1.2.1 tag is the state I would point anyone at, and I have written elsewhere about why a named final state is worth more than a quietly abandoned main branch.

Two things I would do differently, and I would tell any student starting a five-year system the same. I would make observability first-class from the start. Placement decisions are easy to trust when a user can see why they happened and hard to trust when they cannot, and we added the seeing late. And I would design the packaging and upgrade path alongside the runtime from day one instead of treating it as the work after the interesting work.

The ideas do not stop. Earlier this month NSF funded [IOWarp](https://akougkas.io/work/iowarp/), and its transfer engine is Hermes’s direct descendant: the same separation between interface, runtime, and heterogeneous storage, the same attention to placement, with a much larger question attached about what moves through the hierarchy when the consumer is an AI workflow rather than a simulation. Hermes has a last release. The architecture is just getting started.
