arXiv Science⌕ Search

arXiv · 2611.35986

(Near-)Pareto-Optimal Synthesized OS-Level Scheduling for Serverless Systems

Abstract

Serverless cloud platforms typically rely on operating-system schedulers such as the Completely Fair Scheduler (CFS) and Earliest Eligible Virtual Deadline First (EEVDF) to schedule function executions across CPU cores. Prior work has shown that existing schedulers either minimize task latency at the expense of runtime efficiency or improve runtime efficiency while increasing latency. Although hybrid approaches partially mitigate this trade-off, each scheduler remains confined to a narrow region of the latency-runtime trade-off space, leaving much of the design space unexplored. We present a class of synthesized schedulers that expose configurable latency-runtime trade-offs. Rather than hand-designing heuristics, we use reinforcement learning to synthesize policies for core assignment, preemption, and load balancing under different reward objectives. We implement the synthesized schedulers using Linux sched_ext, train them on representative serverless workloads, and evaluate them on a multi-core server. Synthesized schedulers are competitive with both general-purpose Linux schedulers (CFS, EEVDF, and FIFO) and state-of-the-art serverless-aware schedulers. More importantly, they can be tuned at deployment time to span a near-continuous set of latency-runtime operating points. Several of these operating points reduce both latency and runtime cost, improving profitability for both cloud users and providers.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yuxuan Zhao, Zhao Yang, Weikang Weng, Vincent François-Lavet, Rob van Nieuwpoort, Alexandru Uta. 2026-11-26. (Near-)Pareto-Optimal Synthesized OS-Level Scheduling for Serverless Systems. https://doi.org/10.1145/3828161.3857877. https://arxiv.science/abs/2611.35986

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↗