arXiv:2610.20578cs.IROct 2026

Manuscript Offprint

arXiv:2610.20578

Creating SquashFS Images to Support HPC and AI Datasets

Julie Mullen, Albert Reuther, LaToya Anderson, Michael Jones, William Arcand, William Bergeron, David Bestor, Alex Bonn, Daniel Burrill, Chansup Byun, Vijay Gadepally, Michael Houle, Matthew Hubbell, Hayden Jananthan, Piotr Luszczek, Peter Michaleas, Guillermo Morales, Andrew Prout, Antonio Rosa, Chuck Yee, Jeremy Kepner

Julie Mullen, Albert Reuther, LaToya Anderson, Michael Jones, William Arcand, William Bergeron, David Bestor, Alex Bonn, Daniel Burrill, Chansup Byun, Vijay Gadepally, Michael Houle, Matthew Hubbell, Hayden Jananthan, Piotr Luszczek, Peter Michaleas, Guillermo Morales, Andrew Prout, Antonio Rosa, Chuck Yee, and Jeremy Kepner

MIT Lincoln Laboratory Supercomputing Center

Abstract—HPC users often download datasets on HPC systems for analysis and processing. When these datasets are comprised of hundreds of thousands (or more) of small files, accessing them in parallel can put a tremendous burden on the metadata servers of central parallel file systems. If the dataset is read-only, an effective solution is to compress the dataset into a SquashFS image. There are, however, a number of workflows that can be used to create such a dataset image, and we observed that some were more efficient than others.

To provide more effective guidance for our userbase, we benchmarked eleven different workflows for creating SquashFS dataset image files of datasets with thousands to millions of very small files. We took into account whether the data arrived as tar.gz, zip, or files-and-directories downloads, whether the image creation was on the central file system or local compute node storage, and the number of SquashFS file compression threads used. This paper shares the results of these benchmarks and provides recommendations to HPC system users toward the best workflows to use for SquashFS image creation.

Index Terms—compressed datasets, SquashFS, dataset images, HPC datasets, AI training datasets

I. INTRODUCTION

Modern high performance computing (HPC) systems require high performance parallel storage arrays to process large datasets effectively. These parallel storage arrays are designed to read and write tens to hundreds of gigabytes or more of data per second in order to keep up with the processing capabilities of the compute nodes. They work best for reasonably large files (> 10s of megabytes per file). With the growth of data science and machine learning applications on HPC systems it is not unusual to see input datasets that are comprised of hundreds of thousands to millions of small files. For such datasets, where files are in the 10s of kilobytes each, the metadata lookups in the parallel array metadata server dominate the file access time. The instances, where there are hundreds of thousands to millions of small file accesses coming from many compute nodes, generate tremendous load on the metadata servers of the parallel storage array, adversely affecting all of the users on the HPC system.

In general, data science and machine learning workflows involve downloading these datasets to a local system because accessing them over the Internet as the workflow is executing incurs far too much latency to be effective. The datasets are made available in one of a number of formats including tar.gz, zip, tfrecords, HDF5, and/or direct files-and-directories. (The latter is particularly prevalent when the dataset is assembled from data files being downloaded from across the Internet.) As researchers, scientists, and engineers, the first inclination is to uncompress the downloaded file and work with the dataset as directories and files on the central file system. However, while the dataset may be far below the capacity quota for an individual account on the central storage, it could easily be above into the inode quota for a user account. In such cases, what guidance needs to be provided so that the data processing is efficient for the researcher while not adversely impacting the rest of the computing community?

Over the past several years, members of the Lincoln Laboratory Supercomputing Center have been encouraging users with high-inode-count, read-only datasets to compact them into SquashFS images, which are subsequently mounted on a local loopback device for read-only access. The SquashFS images have some inherent advantages over FUSE-mounted compressed file system images and they solve the issue of storing multimillion-inode datasets as files and directories natively on disk.

In this paper, we present the results of a benchmark study that compares numerous workflows for creating SquashFS images from a downloaded dataset. This paper makes the following contributions to the HPC research community:

DISTRIBUTION STATEMENT A. Approved for public release. Distribution is unlimited.

This material is based upon work supported by the Department of the Air Force under Air Force Contract No. FA8702-15-D-0001 or FA8702-25-D-B002. Any opinions, findings, conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the Department of the Air Force.

• Enumerates eleven common workflows with which SquashFS images are created,

© 2026 Massachusetts Institute of Technology.

Delivered to the U.S. Government with Unlimited Rights, as defined in DFARS Part 252.227-7013 or 7014 (Feb 2014). Notwithstanding any copyright notice, U.S. Government rights in this work are defined by DFARS 252.227-7013 or DFARS 252.227-7014 as detailed above. Use of this work other than as specifically authorized by the U.S. Government may violate any copyrights that exist in this work.

• Introduces a workflow for measuring the execution time of those eleven common workflows,

  • Benchmarks the execution time of those eleven workflows on both a central parallel file system and compute node local drives, and

• Articulates several best practices for users on creating SquashFS images for their high-inode-count, read-only datasets.

We motivate the work and provide background in Section II. The design of the experiments, the data collection and analysis is described in Section III followed by a discussion of the results and researcher guidance in Section IV. Section V summarizes the work and discusses next steps.

References (32)