arXiv:2610.36347cs.OSOct 2026

Manuscript Offprint

arXiv:2610.36347

Callosal: Rethinking the Kernel Page Cache for Disaggregated Storage and Memory

James McMahon, Amit Samanta, Seung-seob Lee, Ryan Stutsman, Anurag Khandelwal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Classic distributed filesystems like NFS centralize filesystem operations on a server and use custom, filesystem-specific approaches for managing cache consistency across client nodes. This limits scalability, and it leads to weak consistency, ruling out applications that concurrently access and mutate shared files. Our key insight is that these legacy designs are now too storage-centric; with today's large memories, OS page caches do most of the "heavy lifting" in accessing data, not the filesystem and block storage layers.

In response to this, we present Callosal, a page cache for a cluster of machines that is centered on shared disaggregated memory. Rather than serializing operations through a filesystem server and using ad hoc caching like NFS, Callosal is built around the existing Linux page cache paths and is accelerated by RDMA and programmable switches. Callosal delivers the strong consistency that programs expect with local filesystems (like in ext4 and tmpfs) while avoiding the additional network access delays and bottlenecks that host-based solutions incur. We compare Callosal against NFS, CephFS, and local filesystems; often Callosal can provide caching performance similar to local filesystems while also scaling across nodes. For mixed read/write workloads, on average Callosal has 4.6×4.6\times higher throughput than NFS when contention is not extreme, and it offers strong consistency guarantees like CephFS, while outperforming it. For a file-backed key-value store with 1% writes and uniform access, Callosal scales 1.7×1.7\times across 4 nodes, while CephFS collapses across nodes.

1 Introduction

Cloud systems disaggregate storage from compute to improve utilization, elasticity, and capacity sharing [25, 33, 42, 46, 52, 54]. Fast networks make remote block storage practical for elastic cloud volumes [17, 21, 22], where a remote block device can be attached, migrated, or remapped. However, this architecture does not keep file caches coherent across compute nodes, since it does not order the cached reads and writes that applications rely on when multiple machines cache and mutate the same files. The absence of a coherent file cache complicates applications that maintain shared mutable state in files. For example, a distributed, file-backed key-value store could divide ownership of keys

Anurag Khandelwal

Yale University

Figure

Fig. 1. NFS centralizes filesystem operations and uses ad hoc cache coordination to provide weak guarantees.

across workers while still allowing any worker to read keys updated by remote workers. Without coherence, such an application must build its own solution.

In recent years, growing DRAM capacities mean that the kernel page cache absorbs the vast majority of file reads and writes, even for workloads backed by remote storage. In Linux, data is first brought into the page cache and then accessed, modified, and synchronized there. Hence, for many workloads, the page cache is the primary focus of performance and consistency for I/O, not filesystems themselves.

However, distributed storage systems continue to treat the filesystem or storage layer as the central point of coordination. Traditional networked filesystems such as NFS (Figure 1) serialize operations through a server and rely on ad hoc client caching [2], resulting in weak consistency guarantees for cached file data. This can improve performance when clients mostly operate independently, but it is not sufficient for applications that require reads to observe completed writes from other machines. For example, the Linux open() manpage states:

O_APPEND may lead to corrupted files on NFS filesystems if more than one process appends data to a file at once.

More recent systems like CephFS provide stronger, POSIX-like semantics [3, 48], but do so by introducing substantial coordination overheads that limit performance when files are concurrently accessed and modified. In either approach, workloads that mix reads and writes to shared files suffer, either via frequent, high-cost application-level coordination of caches or via weakened consistency.

Figure

Fig. 2. Callosal creates a shared page cache in Linux, building atop a network-accelerated DSM.

The key insight of this paper is that distributed file access can be made both efficient and strongly consistent by using RDMA and in-network coherence to directly coordinate the kernel page cache across machines. Rather than treating each node's page cache as private and optimizing separately, we argue that cached file-backed pages should be treated as shared, first-class objects whose coherence is enforced explicitly. This aligns coordination with the dominant execution path of file I/O and avoids the need for heavyweight filesystem-level protocols. Tightly integrating distributed coherence into the page cache affords other scalability optimizations and simplifications. For example, safely coordinating writes to shared block storage is simplified by building on the page ownership invariants enforced by distributed coherence, admitting a simple filesystem design that avoids centralization.

In this paper, we present Callosal, which extends the Linux kernel page cache with cross-machine coherence. Callosal allows nodes to cache, read, and modify file-backed pages independently while maintaining real-time ordering through page-granular coordination (Figure 2). To achieve this, Callosal builds on recent advances in network-accelerated distributed shared memory (DSM) using RDMA and an in-network coherence directory to efficiently track page ownership and propagate invalidations across nodes [26]. Callosal interposes at the page cache layer rather than rearchitecting the filesystem or block storage stack. It integrates with the Linux VFS and preserves the interface that the page cache exposes to filesystems, allowing unmodified applications to access shared files using standard POSIX system calls. Most read and write operations are satisfied locally from cached pages, while coordination is invoked only when nodes concurrently access overlapping regions of a file. As a result, nodes can operate independently in the common case while still providing strong consistency when sharing occurs.

This page-cache-centric design contrasts with conventional distributed filesystems that centralize ordering or metadata management. By using DSM and shifting distributed coordination directly to the page cache, Callosal avoids single-node bottlenecks and reduces unnecessary communication for disjoint accesses. However, designing a page cache that leverages DSM requires solving several challenges. Foremost, directly moving VFS page cache data structures into DSM does not work, since many generic kernel data structures would need to be moved to DSM, which would require sweeping changes to the kernel and its existing filesystem structures (e.g., to move page struts, address_space struts, etc.). Even if this approach worked, it would not perform well; contention on updating file metadata fields, long lock acquisition times, and false sharing would render it ineffective. To be efficient, it is essential that remote DSM operations only be invoked when necessary (for consistency) and when the semantics of metadata operations cannot be exploited to avoid remote communication. This leads to a design in Callosal that ensures DSM operations are generally not triggered when a node reads or writes cached data locally. Callosal also uses DSM in a stylized fashion to synchronize inodes on updates efficiently, and, in cases where coordination is necessary, it uses its in-network coherence directory to target communication precisely to active sharers at line-rate without additional network delays or server-based bottlenecks.

Overall, this paper makes the following contributions:

  1. Page-cache-centric coherence abstraction. We present a design that extends the Linux kernel page cache into a coherent, cross-machine abstraction using network-accelerated DSM.

  2. A decentralized design for strongly consistent shared file data. We build on DSM coherence invariants to coordinate file-backed pages and metadata without centralizing operations, enabling transparent, strongly consistent access to shared files coordinated via RDMA and an in-network coherence directory.

  3. A practical Linux integration. We implement this design in the Linux kernel as Callosal and evaluate it through CallosalFS, a prototype filesystem supported by Callosal's coherent page cache, showing how to interpose at the page cache layer while preserving VFS interfaces and standard file operations.

We evaluate Callosal and CallosalFS across four nodes connected by a Barefoot Tofino switch running the MIND coherence protocol. On controlled page-sharing benchmarks, Callosal matches or exceeds NFS for a read-heavy workload with stronger consistency guarantees than NFS. For a mixed read/write sharing workload, Callosal outperforms NFS by 4.6×4.6\times on average for the DRWOM benchmark with 5% writes. Against CephFS, which provides stronger filesystem semantics than NFS, Callosal improves throughput by an order of magnitude on multiple workloads. Finally, on a file-backed key-value store where workers share access to mutable state, CallosalFS demonstrates the benefit of coherent file caching by providing correct behavior unlike NFS and dramatically higher throughput than CephFS.

References (43)