arXiv Science⌕ Search

arXiv · 2611.29335

CXL Coherence Writes Back What Surviving Hosts See, Leaving Flushes Only for Ordering

Abstract

Hosts that share memory over Compute Express Link (CXL) cache its lines, and a host that crashes loses the lines it has modified and not written back. Designs for such memory stop every host when one crashes, assume stored energy, or flush after each operation. We show that when a crashing host's clients die with it, the flushes a host crash requires are those that keep one line from reaching the memory device before a line it depends on, and not those that make a finished operation durable. The reason is a property that CXL requires of the fabric: a modified line is written back before another host accesses it. Whatever a surviving host has seen is then on the device, and our crash condition lets a crash drop operations that only the crashed host observed. We prove the claim for operations that take effect in a single store, and test it on small instances of models of three published designs, whose operations store several times. A lock table needs no flush to keep the locks of surviving hosts. A persistent hash index keeps every operation a survivor has observed, and in two workloads it writes fewer than half as many lines to the device as its published code does. An allocator's flush of each new reference is neither sufficient nor necessary for the survivors' safety: the allocator lacks ordering flushes, one of them when a reference changes hands.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Harvey Dam, Ganesh Gopalakrishnan. 2026-11-22. CXL Coherence Writes Back What Surviving Hosts See, Leaving Flushes Only for Ordering. https://arxiv.science/abs/2611.29335

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Gutenberg: Taming Latency-Critical Online Datacenter Services with Near-Data-Processing

Latency-critical online datacenter services place growing pressure on memory while requiring isolation, fairness, and predictable QoS. Servers that pair a host CPU with near-data processing (NDP) units can relieve this pressure by executing requests next to memory, but three problems stand in the way. First, prior NDP schedulers often optimize solely for throughput, ignoring tail-latency SLOs. Second, uneven and shifting compute and memory traffic can overload a few NDP units and increase tail latency. Third, when the CPU and an NDP unit share writable hot data, keeping these data coherent on every write significantly increases service times on both sides. We present Gutenberg, a management system that combines the complementary strengths of the host CPU and the NDP units. A lightweight sketch tracks how often each group of co-accessed data is requested and written, and Gutenberg uses these statistics at two levels. At the request level, SLO-aware routing sends each request to the CPU or to an NDP unit according to its remaining deadline. At the memory level, Gutenberg manages data at the granularity of hot groups: it balances work across the NDP units and the CPU, keeps write-heavy data on a single side, and guards against shifts in the read/write mix, the data placement, and the bottleneck. Per-tenant pacing isolates co-located tenants. Cycle-accurate simulation results show that Gutenberg improves service capacity--throughput while meeting tail-latency SLO--by up to 65% (28% on geometric mean) over the best baselines across five services and three NDP hardware regimes. Under a shifting workload it misses the SLO for only 0.04% of requests, compared to at least 1.85% for baselines, and it sustains two co-located services at 50% of their standalone load, versus 30% for the baselines.

cs.DC↗

A Match Made in Hell: Perpetual Exploration with a Gray Hole and Byzantine Agents

Mobile agents can monitor a network by revisiting its nodes to assess changing local conditions. We study how a team of such agents can monitor a ring with at most $f$ \emph{Byzantine} agents, which are controlled by an adversary and may deviate arbitrarily from the algorithm; the other agents are honest. The agents act in common rounds, agree on a clockwise direction, and start together at a safe home node. The ring has one \emph{gray hole}, a node that the same adversary may activate in any round to destroy every honest agent on it; all other nodes are safe. The goal of \emph{perpetual exploration} is that every safe node is visited infinitely often by at least one honest agent. A Byzantine agent can deliberately fail to return, and its absence is then indistinguishable from the destruction of an honest agent. We consider the \emph{whiteboard} model, in which agents communicate through whiteboards at the nodes, and the \emph{face-to-face} model, in which agents communicate only when they meet. In the whiteboard model, $2f+3$ agents are necessary and sufficient when the ring size $n\ge4$ is known. On a triangle ($n=3$), $2f+2$ agents are necessary and sufficient. When $n$ is unknown, $3f+3$ or fewer agents do not suffice, whereas $3f+5$ agents suffice. In the face-to-face model, $2f+2$ or fewer agents do not suffice for $n\ge4$, whereas $3f+3$ agents suffice when $n$ is known. For $f=0$ and known $n\ge4$, three agents are necessary and sufficient, improving the upper bound of four agents of Bhattacharya et al.\ [DISC~2025]. On known rings of four or five nodes, five agents tolerate one Byzantine agent, which is optimal. When $n$ is unknown and all agents are honest, five agents are necessary and sufficient - two more than for known $n\ge4$. Finally, with up to $f$ Byzantine agents and unknown $n$, $3f+3$ or fewer agents do not suffice, whereas $5f+5$ agents suffice.

cs.DC↗

SmartIntent: A Serverless Edge Intelligence Architecture with Local LLMs for Building Automation

Building automation increasingly requires edge systems that can interpret ambiguous, multilingual, and context-dependent requests while checking structured outputs before device dispatch. We present SmartIntent, a serverless edge-intelligence architecture combining local large language model (LLM) intent services, device-state aggregation, a context-grounded JSON interface, deterministic pre-dispatch checks, orchestration, and device microservices. We adapt two compact LLMs with LoRA and evaluate them against compact, medium, and large local models and remote API baselines on a 2,000-instance Chinese-English-French test set. We distinguish offline structured-intent metrics from deployment-level validity, latency, and energy. The strongest adapted model, Qwen3.5-4B+LoRA, improves over its base model by 22.8, 20.9, and 13.1 percentage points in clarification handling, device identification, and action-parameter correctness, respectively. It matches or exceeds Qwen3.6-27B in format compliance and clarification handling and remains 1.0 and 1.9 percentage points below it in device and action-parameter correctness, respectively. In a local K3s/Knative deployment, it improves valid-output rate over its base model by 10.0--14.9 percentage points and reduces baseline-adjusted run-level energy by 5.2--18.4%, with a latency increase of 10.9--16.6%. For Qwen3.5-4B+LoRA, thinking mode adds at most 1.6 percentage points to output validity but increases latency by 58.2--118.2% and energy by 78.5--152.2%. These results show that compact local LLM services with deterministic output checks can support structured intent generation for execution-oriented building automation under controlled edge-deployment conditions while exposing clear validity-latency-energy trade-offs.

cs.DC↗