Ambar: Memory Management for Agentic AI Sandboxes at Scale
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Ambar: Memory Management for Agentic AI Sandboxes at Scale Yigit Kemal Can1 Pratyush Patel2 Neha Gholkar2 Hasan Maruf2 Apostolos Kokolis2 Jovan Stojkovic1,2 The University of Texas at Austin1 , Meta2
arXiv:2611.35212v1 [cs.OS] 25 Nov 2026
Abstract
However, due to their fragmented execution, agentic workloads do not use CPUs efficiently [77, 83]. A sandbox executes a tool invoked by the LLM, returns the result, and waits for the next LLM response. After the request completes, it remains idle until the next user input. We observe these long pauses between tool invocations in both open-source frameworks and our eight additional sandbox workloads. Across workloads, tools execute for fractions of a second, LLM calls take several seconds, and user idle times are minutes to hours. Hence, a typical sandbox has very low CPU utilization. To improve CPU utilization, a server can colocate more agents. While an agent waits, another executes tools on the available cores. This allows the datacenter to support more agents with fewer servers. However, idle sandboxes retain their memory as next tool calls depend on the state from earlier steps [7, 26]. Hence, memory capacity limits the number of agents that a server can support [83]. We observe that servers exhaust memory capacity before they fully utilize their CPUs. On the most densely packed hosts that we measure, memory reservations approach full capacity while more than 90% of CPU cores remain idle. To use these available cores for additional agents, we must reclaim local memory from idle sandboxes. A simple solution would follow the approach of traditional datacenter workloads, such as stateless serverless functions [56, 65]. As function invocations are independent, platforms can remove idle sandboxes and recreate them on demand. This approach creates two issues for agentic workloads. First, sandbox initialization is on the tool’s critical path [6, 17, 25, 67]. A request can have tens of tool– LLM transitions, so repeated initialization adds substantial overhead to short tool executions. Second, agentic sandboxes preserve state across steps. Tools may depend on files, loaded datasets, or live processes from earlier invocations [7, 69]. Recreating a clean sandbox loses this state. Hence, we need memory reclamation that preserves sandbox state and lets tools resume without re-initialization. A promising approach is to increase server’s effective memory capacity via memory tiering [40, 52, 70] and compression [30, 34]. During idle periods, a memory manager can move sandbox memory to slower tiers, such as CXL-attached memory or SSDs, or compress it to free local capacity. Then, it must restore the necessary state before tool execution resumes. To understand the opportunities and challenges of this approach, we characterize open-source coding and data-analytics agents and our eight additional sandbox workloads, which cover interactive user sessions, reinforcement learning, and automated evaluation. Our characterization provides three insights. First, the duration of an idle period determines which memory-management operations can finish before tool execution resumes. LLM inference often provides enough time to move sandbox memory to CXL and bring it back, or to compress and decompress it. On the other hand, agents can wait minutes to hours for user input. These longer pauses make even slower operations practical, e.g., offload to SSDs and subsequent restoration. Second, the system has an opportunity to reduce
Agentic AI creates growing demand for datacenter CPUs to execute tools inside sandboxes, e.g., VMs or containers. Our characterization of open-source agentic AI benchmarks and our sandbox workloads shows that memory capacity prevents servers from fully utilizing these CPUs. The cause is a mismatch between CPU and memory demand: sandboxes execute tools in short bursts, then wait for LLM responses or user input while their memory remains stranded. Servers can use these idle periods to colocate more agents and improve datacenter efficiency, but server memory capacity limits the number of agents each can support. To increase effective memory capacity, idle sandboxes can be compressed or moved to slower memory tiers, such as CXL memory or SSDs. However, these operations and subsequent memory restoration consume CPU cycles and delay tool execution. Hence, memory management must increase effective memory capacity while preserving CPU cycles for new agents and avoiding delays when idle agents resume execution. Guided by our insights, we propose Ambar, an agent-aware memory manager that jointly manages memory tiering and compression to support more concurrent agents per server while limiting execution overhead. Under memory pressure, Ambar decides which sandboxes to move to a slower memory tier, compress, or both. To do that, it predicts each sandbox’s idle time and weighs the local memory it frees against the time needed to reclaim and restore its memory before tool execution resumes. To make reclamation practical even during short idle periods, Ambar introduces three optimizations. It combines (i) efficient snapshotting with (ii) hot-page tracking to reduce state-preservation work and eagerly restore only the memory that the next tool needs. To reduce the CPU overhead of these operations, (iii) Ambar offloads data movement and compression to hardware accelerators. Compared to conventional agentic sandbox frameworks, Ambar increases the number of agents per server by 5.9× and CPU utilization by 5.0×, while limiting agent P50 and P99 latency increases by up to 5.6% and 6.3%, respectively.
1
Introduction
Agentic AI is becoming an important workload in datacenters [7, 46, 77]. It automates multi-step tasks such as software development [31, 76], data analytics [20, 23], and scientific research [49]. Unlike standalone LLM inference, agentic AI combines model reasoning with software tools that execute commands and process data [68, 71, 78]. For example, a coding agent can modify a program, run tests, and use the results to determine its next action. Platforms typically execute these tools inside sandboxes, such as VMs or containers, to isolate each agent from the host and other agents [58, 69]. While standalone LLM inference has focused attention on accelerator performance, agentic AI brings CPUs back to the forefront of AI system design. CPUs execute the tools that turn model decisions into actions, making CPU server efficiency essential to the overall performance of agentic AI services [64, 77]. 1
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
these overheads. The median tool invocation accesses only 4%–6% of the sandbox footprint, so the system only needs to bring those pages back before the tool starts. This hot working set is predictable, as tools reuse 90% of their accessed pages from the latest invocations of the same tool. Additionally, hardware accelerators can reduce compression overhead. For instance, Intel’s IAA [29] speeds up compression by 2.5×, on average, over software and reduces the CPU work required. Finally, memory-management operations can severely slow tools if they occur on the critical path. For example, an 800 ms CXL round trip would add overhead equal to 8× the execution time of a typical 100 ms tool. Hence, the system must match reclamation to the available idle time and prepare the next tool’s working set before execution resumes. We use these insights to design Ambar, an agent-aware memory manager that coordinates memory tiering and compression to support more concurrent agents per server while limiting execution overhead. Under memory pressure, Ambar decides which sandboxes to move to a slower memory tier, compress, or both. For each sandbox, it predicts the time until the next tool invocation. It estimates how much local memory migration or compression would free and the time needed to reclaim and restore that memory. Ambar compares these estimates to select operations that fit within the predicted idle period. To correct its predictions, Ambar uses LLM hints about upcoming tool calls. If the LLM signals that a tool invocation is imminent, Ambar starts restoration sooner. To make reclamation practical even during short idle periods, Ambar introduces three optimizations. First, its efficient snapshot mechanism tracks state changes across tool invocations and updates only modified memory, avoiding repeated snapshots of the full sandbox. Second, Ambar tracks page reuse to predict which pages the next tool will access. It prefetches those pages before the tool starts and fetches other pages only if the tool accesses them. Third, Ambar coordinates hardware accelerator use across sandboxes to speed up memory operations and reduce CPU overhead. We evaluate Ambar with widely used coding [31, 76] and dataanalytics [20] agentic AI workloads. Compared to conventional sandbox management, Ambar increases the number of agents per server by 5.9× and CPU utilization by 5.0×, while limiting agent P50 and P99 latency increases by up to 5.6% and 6.3%, respectively. This paper makes the following contributions: • We characterize open-source agentic workloads and our sandbox workloads and show that memory capacity is the primary constraint on the number of concurrent agents per server. • We analyze the implications of increasing effective server memory capacity through sandbox memory tiering and compression. • We design and evaluate Ambar, an agent-aware memory manager that jointly and efficiently manages memory tiering and compression to support more concurrent agents per server.
2
servers accessed through API calls, whereas tool execution primarily runs on CPUs. In these workloads, a step is an LLM invocation and any associated tool execution, while a turn is a task initiated by a user or an automated prompt and may involve multiple steps. A session consists of multiple turns that share the same execution environment [46, 57, 87]. Since each step depends on the results of preceding steps, execution alternates between LLM inference and tools, resulting in fragmented CPU activity [36, 46, 64, 77, 81, 87]. Sandboxes for agents. Agent tools run in isolated sandboxes. This provides a controlled environment with tools, libraries, and files needed for task execution while isolating agents from one another [56, 58, 64, 69, 69, 83]. They are stateful and persist across steps and turns, preserving running processes, installed dependencies, and workspace changes [7, 46, 69]. Different sandbox mechanisms: containers [16, 61], virtual machines (VMs) [5, 38], or lightweight microVMs [2, 14], have trade-offs in performance and isolation. Memory hierarchy in datacenters. An approach to address memory capacity constraints is to increase effective capacity through memory tiering. Datacenter memory hierarchies combine local DRAM with higher-capacity, lower-performance memory and storage tiers that offer different characteristics [18, 19, 43, 70, 73, 85]. Solid-state drives (SSDs) provide a high-capacity storage tier. However, accessing data from SSDs requires explicit I/O operations, causing higher access latency [10, 15, 24, 27, 60, 70]. Between the local DRAM and SSDs, Compute Express Link (CXL) protocol can be used to attach additional DRAM DIMMs. Such additional memory preserves a byte-addressable load/store interface, offers lower latency than SSDs, but still has higher latency and lower bandwidth than local DRAM [4, 11, 35, 37, 44, 47, 82]. Memory compression in datacenters. Another approach to increase effective memory capacity is memory compression, which reduces the memory footprint by storing data in a compressed representation [12, 30, 40, 70]. Software compression algorithms, such as LZ4 [51] and Zstandard (zstd) [53], offer trade-offs between compression ratio and computational overhead. These algorithms consume CPU cycles that could otherwise be used for application execution. Dedicated hardware accelerators can reduce this overhead by offloading (de)compression operations from CPU cores. Examples include Intel’s In-Memory Analytics Accelerator (IAA) [29, 33], Intel QuickAssist Technology (QAT) [28, 72], and IBM’s Nest Accelerator (NX) [1]. Alternatively, inline hardware compression engines can be integrated into memory subsystems, including CXL memory expanders, to (de)compress directly in the memory subsystem [9].
3
Opportunities and Challenges of Memory Management for Agentic Sandboxes
To understand the opportunities and challenges of managing memory of agentic sandboxes, we characterize open-source agentic benchmarks on our servers and our eight additional sandbox workloads. We first analyze how sandboxes execute and use resources (§ 3.1). Then, we quantify the overhead of memory tiering (§ 3.2) and memory compression (§ 3.3). Here, we describe our setup and present our main observations. Open-source workloads. We run two widely used agentic workloads. For coding, we run mini-SWE-agent [76] on 100 tasks from
Background
Agentic AI workloads. Agentic AI applications perform multistep tasks by interleaving LLM inference with external tool execution [22, 54, 71, 78]. Tools allow agents to interact with their execution environment by reading files, modifying code, and executing tests [68, 69, 76]. LLM inference typically runs on remote GPU 2
Ambar: Memory Management for Agentic AI Sandboxes at Scale
DABStep
10−4 10−2 100 102 Time per tool call (s, log scale)
(a) Tool time
10−1
Azure Copilot
100 101 102 Time per LLM call (s, log scale)
(b) LLM inference time
Tools running
FreeInference
0
5
10
15
Our sandbox workloads
CDF (%)
SWE-agent 100 80 60 40 20 0
20
Idle time between turns (min)
User or harness wait
A
A
C
C
D
D 16% 17%
E
E
H
H
0.01
0.1 1 10 Time per call (s, log scale)
(c) Idle time
100
(a) Tool and LLM call times
Figure 1: Tool time, LLM inference time, and user idle time distributions across open-source workloads and public traces.
90% 39%
57% 66%
72%
24%
81%
0
25 50 75 Share of task time (%)
14%
100
(b) Breakdown of task time
Figure 2: Tool and LLM call times of workloads A–H (median, line to P90) and breakdown of task time.
SWE-bench Verified [31]. In each task, the agent resolves a GitHub issue by editing a Python repository and running its tests. For data analytics, we run the official DABStep agent [20] on 100 tasks. In each task, the agent writes and executes Python code to answer a question about a set of payment datasets. Both agents use Qwen3235B-A22B-Instruct [63], which we serve with vLLM [39] on 8 NVIDIA A100 GPUs. Each task runs in its own sandbox: either a Docker container [16] or a Cloud Hypervisor microVM [14]. We run the sandboxes on a server with a 96-core AMD Turin processor, 128 GB of local DRAM, and 128 GB CXL-attached memory. For compression experiments, we also use an Intel Xeon Gold 6550C server with on-chip DSA and IAA accelerators. We record the duration of every LLM call and tool call, and sample the CPU utilization and memory usage of each sandbox at sub-second granularity. As our setup has no human users, we take the idle time distributions between user turns from two public production traces: GitHub Copilot traces from Azure [46] and FreeInference [55]. Our sandbox workloads. We also analyze our eight additional sandbox workloads, which we call A–H. Four workloads are interactive, i.e., a human drives the work: VMs that execute code (A), VMs that run a code interpreter (B), development containers for coding agents (C), and containers for data-analysis agents (D). The other four run reinforcement learning (RL) and evaluation jobs: VMs shared by many RL and evaluation tenants (E), VMs that each execute a single piece of code (F), VMs for browsing agents (G), and containers for RL and evaluation (H). Hence, the workloads cover both VMs and containers, and both human-driven and machine-driven agents. For each workload, we collect one day of measurements: per-sandbox CPU and memory usage, sandbox lifetimes, and logs of tool and LLM calls. We report CPU and memory usage relative to the sandbox’s allocation, i.e., the resources that the scheduler reserves for the sandbox on its host.
3.1
LLM call in flight
CDF (%)
SWE-agent container SWE-agent VM 100 80 60 40 20 0
0
DABStep container DABStep VM
20 40 60 80 100 CPU utilization, task average (% of one core)
300 400 500 600 700 800 900 Sandbox memory usage at end of task (MiB)
(a) Average CPU utilization
(b) End-of-task memory usage
Figure 3: CPU utilization and memory usage distributions. the task completes, the sandbox remains idle until the next user turn, which takes even longer: the median idle time is 2.4 min in the Azure Copilot traces and 1.6 min in FreeInference. Workloads A–H show the same trend. Figure 2a shows the median and P90 tool and LLM call times of each workload. The median tool call takes between 0.03 s and 2.1 s, while the median LLM call takes between 1.5 s and 6.1 s. Figure 2b breaks down the task time. Tools run for less than 5% of the task time in A, E, and H, and for 17% in D. Interactive sandboxes spend most of their time waiting for the user: 90% in A and 66% in D. Sandboxes that run RL and evaluation jobs spend most of their time waiting for the LLM: 72% in E and 81% in H. Both the open-source sandboxes and sandboxes A–H execute tools in bursts and then remain idle for seconds during LLM calls and for minutes to hours between user turns. CPU and memory utilization. In agentic workloads, CPU utilization spikes when a tool executes and drops to nearly zero while the agent waits for the LLM. In contrast, memory usage grows as tools read files and start processes, and stays high for the rest of the task. Figure 3 shows the distributions of the average CPU utilization of each task and of the sandbox memory usage at the end of each task. CPU utilization is low: half of the tasks use <10.5% and 38% of a core in SWE-agent and DABStep, respectively. However, at the end of the task, the median container holds 396 MB in SWE-agent and 635 MB in DABStep. About half of this memory is the page cache of the files that tools accessed, and the rest is process memory. Figure 4 shows the CPU and memory usage of sandboxes A–H relative to their allocation. In a typical minute, the median sandbox uses only 0.9–4.6% of its CPU allocation. B and F, which run short-lived VMs, use a larger fraction (28% and 12%), yet still far less than they reserve. Memory usage is much higher: the median sandbox uses 32–108% of its memory allocation. VMs hold the most memory. For example, the median VM in A uses its whole allocation.
Workload Properties
Tool, LLM, and idle times. Figure 1 shows the distributions of tool time, LLM inference time, and idle time between user turns in the open-source workloads and public traces. Tool calls are short: the median tool call takes 119 ms in SWE-agent and only 1.0 ms in DABStep, and 99% of the tool calls in both agents finish within 1 s. LLM calls are an order of magnitude longer: the median LLM call takes 2.6 s in SWE-agent and 5.8 s in DABStep, and the P90 call takes 12.9 s and 17.7 s, respectively. Since a task has many steps (32 and 5 for median SWE-agent and DABStep tasks, respectively), the sandbox waits for the LLM many times within each task. After 3
A
B
C
SWE-agent container SWE-agent VM
Memory
D
E
F
Interactive
G
H
RL and evaluation
4
4
3
3
2 1 0
200
Figure 4: CPU and memory usage of workloads A–H as a share of the sandbox allocation (median, whisker to P90). CPU 80
0
400 600 800 1000 Sandbox memory at end of task (MiB)
200
20 5
10
15
20
25 30 Time (min)
35
40
45
50
1.2 1.0 0.8 0.6 0.4 0.2 0
200
400 600 800 1000 Memory moved (MiB)
(a) Demotion to CXL Memory requested Memory in use
CPU requested CPU in use
DABStep container DABStep VM
Time (s)
40
0
400 600 800 1000 Sandbox memory at end of task (MiB)
(b) Promotion from disk
SWE-agent container SWE-agent VM
60
Time (s)
Server capacity used (%)
1
Figure 7: Disk offload times for containers and VMs.
Figure 5: CPU utilization and memory usage when scaling agent density in the server.
Host capacity (%)
2
(a) Demotion to disk
Memory
100
0
DABStep container DABStep VM Time (s)
CPU
150 125 100 75 50 25 0
Time (s)
Usage (% of alloc.)
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
1.2 1.0 0.8 0.6 0.4 0.2 0
200
400 600 800 1000 Memory moved (MiB)
(b) Promotion from CXL
Figure 8: CXL offload times for containers and VMs.
100
off only if the memory moves within the idle period and the next tool invocation does not slow down. Offload times to disk and CXL. To understand whether tiering fits within the sandboxes’ idle periods, we demote the memory of each sandbox at its peak memory and then promote it back. For disk, a container’s process memory goes to swap, and the page cache of its files goes to a snapshot file. A VM’s guest memory is a single region, so we write its resident pages to a snapshot file sequentially, and read the file back in one sequential read. For CXL, we migrate the sandbox’s pages between the DRAM and the CXL. Figure 7 shows the time to demote a sandbox to disk and to promote it back, as a function of the sandbox’s memory size. Each point is one task. At the median, containers take 1.5–2.1 s to demote and 2.0–2.7 s to promote. VMs are faster even though they hold more memory: the median VM demotes in 0.77–0.97 s and promotes in 0.29–0.36 s. The difference comes from the access pattern. A container’s memory returns from swap one page at a time from scattered locations, at about 200–240 MB/s. In contrast, a VM’s memory returns in one sequential read, at about 2.2–2.3 GB/s. Hence, a disk round trip takes 3.5–4.9 s for a container, which is comparable to a median LLM call, but only 1.1–1.3 s for a VM. Figure 8 shows the same measurements for CXL memory. Migration to and from CXL is symmetric and faster than disk: at the median, a container moves in 0.47–0.73 s in each direction, and a VM in 0.36–0.44 s. Again, VMs move memory faster, at about 1.9 GB/s against 0.7–0.8 GB/s for containers. Overall, a CXL round trip takes 0.7–1.4 s, which fits within a median LLM call. In both tiers, the time grows with the memory moved. For a given mechanism and sandbox type, the rates of SWE-agent and DABStep differ by <10%, with one exception: containers on disk, whose rates differ by 20%. The reason is how a container’s memory is split between process (anonymous) memory and page cache. When we promote a container from disk, its process memory returns from
75 50 25 0
0
20 40 60 Sandboxes per host (hour mean)
(a) Host type X
0
10 20 30 Sandboxes per host (hour mean)
(b) Host type Y
Figure 6: Host memory and CPU, requested and in use, as hosts pack more sandboxes. Hence, the CPU and memory demands of agentic sandboxes are mismatched: sandboxes reserve CPUs that they rarely use, while they occupy memory for their whole lifetime. Scaling the number of concurrent agents. Figure 5 shows the CPU utilization and memory usage of our server as we launch more concurrent SWE agents. We set each agent to continuously run the same task back-to-back, i.e., without user-wait time. We can see that memory utilization grows with each new agent and reaches 87.5% of the server’s memory. At that point, CPU utilization is only 18%. Hence, the server cannot admit more agents, even though most of its cores are idle. Figure 6 shows the memory and CPU that our sandboxes request and use, as a fraction of the host’s capacity, as hosts pack more sandboxes. We show two host types. In both host types, requested memory grows quickly with the number of sandboxes. On the most densely packed hosts, sandboxes request 93% and 96% of the host memory, and use 68% and 57%, respectively. In contrast, they request 41% and 48% of the cores, and use only 5.6% and 9.1%. Overall, we can see that memory capacity limits the number of sandboxes per host.
3.2
Memory Tiering
Memory tiering can free local DRAM for additional agents by moving the memory of idle sandboxes to a slower tier. However, it pays 4
100 80 60 40 20 0
1.0
1.5 2.0 2.5 Slowdown per tool call (lazy / regular time)
3.0
1.0
1.1 1.2 1.3 1.4 Slowdown per tool call (CXL / DRAM time)
(a) Disk (lazy promotion)
1.5
SWE-agent
Reused
First use
Agent heap
Agent runtime
Tools and system
60 40 20
15 10 5
Per-VM host processes A
100 80 60 40 20
0 20 40 60 80 100 Pages reused from earlier steps (%)
1
4 16 64 256 Reuse distance (steps, log scale)
(a) Reused pages
(b) Reuse distance
0
Task data
Figure 11: Pages used per step by source, split into pages reused from earlier steps and pages used for the first time.
DABStep
100 98 96 94 92 90
80
20
0
Our sandbox workloads
100 CDF (%)
DABStep
(b) CXL memory
Figure 9: SWE-agent slowdown relative to DRAM with lazy promotion from disk and with execution from CXL memory.
0
SWE-agent 25 Pages used per step (MB)
CDF (%)
Ambar: Memory Management for Agentic AI Sandboxes at Scale
0 20 40 60 80 100 Pages changed in the step (%)
59%
F 25
Platform
0
41% 78%
0
C D
Guest pages 71%
E
(c) Changed pages
Figure 10: Fraction of each step’s pages reused from earlier steps, reuse distance in steps, and fraction of dirty pages.
29%
24% 27%
22%
50 Share of VM slot memory (%)
Agent harness 27% 28%
75
Environment
100
Task
46% 40%
25 50 75 Share of container process memory (%)
100
Figure 12: Sandbox memory breakdown: per-VM host and guest pages in VMs, and process roles in containers.
swap at 100 MB/s, while its page cache returns from the snapshot file at close to 1 GB/s. Thus, process memory takes 92–94% of the promotion time, although it is only 45–53% of the memory moved, and DABStep, which has a larger share of page cache, moves faster. VMs do not show this effect, as the guest’s page cache is part of guest memory. A memory manager can estimate the time to demote and promote a sandbox from its size, its type, and the split of its memory, and select a mechanism that fits the expected idle period. Tool slowdown with lazy promotion and remote memory access. A memory manager can promote pages lazily, on first access, or leave them in CXL memory, which the CPU accesses directly. Figure 9a shows the slowdown of SWE-agent tool calls when their memory is promoted lazily from disk. Since each first access to a page faults and reads the page from swap, the median tool call runs 1.9× slower than from DRAM. Figure 9b shows the slowdown of each tool call when the sandbox runs from CXL memory. The median tool call slows down by only 1%. However, a few tool calls slow down by up to 1.5×. Hence, lazy promotion from disk puts page faults on the critical path, while CXL memory slows down some tools. To avoid both overheads, a memory manager needs to promote the pages that the next tool needs before the tool starts. Page reuse across steps. To learn whether the next tool’s memory is predictable, we record the pages that each step of a task accesses and modifies. Figure 10a shows the distribution of the fraction of each step’s pages that earlier steps already used. Reuse is high: the median step reuses 99.8% of its pages in SWE-agent and 96.1% in DABStep. Figure 10b shows the reuse distance, i.e., the steps since the page’s previous use. 90% of the reused pages were used in the previous step, and more than 99% within the last 16 steps. Figure 10c shows that a step also modifies few pages: the median step modifies 9% of its pages in SWE-agent and 25% in DABStep. Hence, the most recent steps predict the pages that the next tool needs, and a snapshot only needs to save the modified pages.
Page type breakdown. Figure 11 breaks down the pages that a step uses by their source: the agent’s heap, the agent’s runtime (its interpreter and libraries), the tools and system software, and the task’s data. Each bar is split into pages reused from earlier steps and pages used for the first time. On average, a step uses 25 MB in both agents, i.e., only 4–6% of the sandbox memory. In SWE-agent, most of these pages are tools and system software (56%) and the agent heap (31%), which repeat in every step: 96% of them are reused. In DABStep, the agent heap dominates (81%), as the agent executes its Python code in its own interpreter, and 63% of the heap pages are reused. Task data is the only source dominated by first uses: only 49% and 11% of its pages are reused in SWE-agent and DABStep, respectively. Hence, most of the next tool’s working set is known in advance, and only the task data needs to be fetched on demand. Figure 12 shows that, in our sandbox workloads, the task also holds only a small part of the memory. In VMs, the per-VM host processes that run beside the guest take 29–78% of the sandbox memory, and the guest’s pages take the rest. In containers, the task’s own processes hold only 2.5–6% of the memory, while the environment (40–46%), the agent harness (28%), and the platform (24–27%) hold the rest. These components stay resident through every idle period, and they are largely the same across steps. Hence, they offer a large and predictable opportunity for memory tiering.
3.3
Memory Compression
Memory compression reduces the size of idle sandboxes, which could create space for additional agents. However, it consumes CPU cycles and adds decompression latency when the sandbox resumes. To understand how much memory is freed by compression, we compress the sandbox at its peak memory utilization. We run with compression algorithms commonly used in datacenters [30, 34]: zstd and lz4. We run zstd with levels 1, 3, and 9. Higher levels achieve higher compression ratios but are more compute-heavy. 5
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
2.5 2.0 1.5 1.0 0.5 200
400
600 Sandbox memory size (MB)
800
1000
0
lz4
zstd-1
zstd-3
200 400 600 800 1000 Sandbox memory size (MB)
1.2 1.0 0.8 0.6 0.4 0.2 0
200 400 600 800 1000 Sandbox memory size (MB)
(a) Compression
Figure 13: Compression ratios across workloads and sandbox types with the zstd-1 algorithm.
(b) Decompression
Figure 15: Compression and decompression times across workloads and sandbox types with the zstd-1 algorithm.
zstd-9
6
SWE-agent container SWE-agent VM
4
DABStep container DABStep VM
15
1.5
10
1.0
DABStep container
SWE-agent VM
DABStep VM
5 0
Figure 14: Median and P99 compression ratios of different algorithms across workloads and sandbox types.
lz4
zstd-1
zstd-3
zstd-9
(a) Compression
0.5 0.0
lz4
zstd-1
zstd-3
zstd-9
(b) Decompression
Figure 16: Median and P99 (de)compression times of different algorithms across workloads and sandbox types.
Compression ratios. Figure 13 shows the compression ratio of sandboxes with the zstd-1 algorithm across workloads and sandbox types, as a function of the sandbox’s memory size. The median ratio is 3.2 and 3.5 for SWE-agent and DABStep containers, and 4.1 and 3.9 for the VMs. Hence, compression frees 69–76% of the sandbox memory. Figure 14 shows the compression ratio with different algorithms across workloads and sandbox types. With lz4, the ratio is 25–31% lower than with zstd-1, while zstd-3 and zstd-9 raise it by 9–13% and 19–25%. This shows that stronger algorithms free more memory, but, as we show next, they take longer to compress. (De)compression times. Figure 15 shows the time to compress and decompress the memory of sandboxes with the zstd-1 algorithm across workloads and sandbox types. Both times grow linearly with the memory size. At the median, compression takes 0.96–1.85 s, at 400–450 MB/s, and decompression takes 0.54–0.90 s, at 0.7–1.1 GB/s. Hence, a compression round trip takes 1.5–2.6 s, which is slower than a CXL round trip but still fits within a median LLM call. However, the CPU executes all of this work, so compression consumes the cores that the additional agents need. Figure 16 shows the time to compress and decompress the memory across workloads and sandbox types with different algorithms. Compared to zstd-1, lz4 compresses in 18–35% less time and decompresses 1.9–2.5× faster. In contrast, zstd-9 compresses 6.2–6.9× slower, which is longer than the median LLM call of every workload we study. Decompression time barely changes across zstd levels. Overall, no single algorithm fits all idle periods: a fast algorithm fits LLM calls, while a strong one fits the long waits for the user. Opportunities with hardware (de)compression accelerators. Figure 17 shows the compression ratio and (de)compression times when using the IAA accelerator on our Intel server. IAA compresses a sandbox in 0.37–0.76 s and decompresses it in 0.12–0.21 s. Compared to zstd-1 in software, compression is 2.4–2.7× faster and decompression 3.5–4.7× faster. The ratio is 9–17% lower than with zstd-1 (2.9–3.5), but still 17–24% higher than with lz4. Hence, an
SWE-agent container SWE-agent VM Compression ratio
4 3 2 1 0
1.0 0.8 0.6 0.4 0.2 0
DABStep container DABStep VM Decompression time (s)
SWE-agent container
Compression time (s)
0
Time (s)
2 Time (s)
Compression ratio
DABStep container DABStep VM
Time (s)
5 4 3 2 1 0
SWE-agent container SWE-agent VM
DABStep container DABStep VM
Time (s)
Compression ratio
SWE-agent container SWE-agent VM
0.3 0.2 0.1 0
Figure 17: Compression ratio and (de)compression times with the IAA accelerator across workloads and sandbox types. IAA round trip takes 0.5–1.0 s, which is comparable to a CXL round trip, and the cores remain free for agents. However, all sandboxes on a socket share only a few accelerator engines (e.g., 8–24), so a memory manager needs to coordinate its use across sandboxes.
4
Ambar: Efficient Memory Management for Agentic AI Sandboxes
Based on our insights, we propose Ambar, an agent-aware memory manager that increases the effective memory capacity of a server. Ambar reclaims the memory of idle sandboxes when the server needs more space, and it restores that memory when the agent needs its state again. Figure 18 shows a host with Ambar. Sandboxes execute tools on CPU cores. Their memory is in local DRAM, CXL memory, or an NVMe SSD, either plain or compressed. Compression runs either in software on the cores or on a hardware accelerator, such as Intel IAA [29] or QAT [28]. Ambar’s agent-aware controller tracks the state of each sandbox: running a tool, waiting for an LLM call, or waiting for the user. It uses this state to manage memory as agents arrive and idle sandboxes resume. When an agent arrives and local DRAM has enough free space, the controller admits the agent directly. Otherwise, it tries to free space by moving or compressing 6
Ambar: Memory Management for Agentic AI Sandboxes at Scale
Agent-aware controller
Host CPU Cores
A sandbox that waits for the user moves to the SSD. Its idle period hides even the slowest round trip, and it leaves the faster CXL memory to sandboxes that return within seconds. A sandbox that waits for an LLM call tries three placements in order. First, it moves to CXL memory, which frees all of its DRAM without any compression work. If CXL memory is short of space, it moves to CXL memory in compressed form, which takes about a third of the space. If neither placement fits, it is compressed in local DRAM, which frees about 70% of its memory with the shortest round trip. If no placement fits, the sandbox stays in local DRAM. The controller stops as soon as it frees enough memory. If it visits all idle sandboxes without freeing enough memory, it rejects the arriving agent, and the cluster scheduler places the agent on another host. The same policy manages CXL memory. When CXL usage crosses its own high watermark, the controller moves the sandboxes in CXL memory that wait for the user to the SSD. Restoration policy. Ambar starts to promote a sandbox ahead of its predicted next tool, by the predicted promotion time, so that its memory is back in local DRAM when the tool starts. If local DRAM has no room, the controller frees it with the same rules. A returning sandbox has priority over a new arriving agent. Hence, the space between the high watermark and the DRAM capacity is reserved for returning sandboxes, and the controller rejects arriving agents before it delays a returning sandbox. There are three exceptions. First, if a sandbox resides in CXL memory and its next tool is insensitive to remote memory accesses, the sandbox stays in CXL memory and the tool runs on the local cores. Ambar records the slowdown of each tool when it runs from CXL memory, and treats a tool as insensitive if that slowdown is below a threshold (e.g., 5%). Second, if a tool starts before its sandbox is fully promoted, the remaining pages are promoted on first access. Therefore, a misprediction slows the tool down but never stalls it. Third, if a sandbox becomes active while it is being demoted, the controller cancels the demotion and promotes the pages that already moved. Predicting overheads and idle times. The policy needs two predictions. First, it needs the time to reclaim and restore a sandbox. As § 3.2 shows, this time depends on the mechanism, the sandbox type, the sandbox memory, and its split between process memory and page cache, and it grows linearly with the memory moved. Hence, Ambar profiles each mechanism offline and fits a linear regression model per mechanism and sandbox type, with the sandbox memory and its split as inputs. Ambar then refines each prediction with the history of the same task: the times that it measured when it moved the sandbox in prior steps and turns. The history also gives the compression ratio of the sandbox, which determines how much memory compression frees. Second, the policy needs the remaining idle time of a sandbox, which Ambar predicts from the cause of the wait. For an LLM call, Ambar can use any of the LLM output length predictors proposed by prior work [62, 66, 74, 84]. In our prototype, Ambar relies on the hidden states of the serving LLM [74]. A lightweight head pools the hidden states of the prompt tokens, weighted by their entropy, and predicts the expected output length. Then, analytical models estimate the time to first token (TTFT) from the input length and the time between tokens (TBT) from the load of the inference server. The predicted wait is the TTFT plus the expected output length
Compression accelerators (CA) CA
CA
CA
CA
CA
CA
CA
CA
Compress
DRAM Agent sandboxes
Plain or compressed
CXL memory
Running a tool
When CXL fills
Idle:
Offload or compress
Free
Arriving agents
Plain or compressed
Let in when there is room
Compressed
LLM call Move out
NVMe SSD
User turn
Compressed
Move back
Figure 18: High-level architecture of Ambar. the memory of idle sandboxes, and admits the agent only if it frees enough. Later, before an idle sandbox resumes, the controller restores its memory to local DRAM using the same procedure. Ambar has two components. First, a decision policy determines how to make enough space for new and returning agents (§ 4.1). For each idle sandbox, it weighs the local memory that each operation would free against the time that the operation needs to reclaim and restore the memory, and against the estimated time until the sandbox needs its memory again. Second, three optimizations reduce the overhead of these operations (§ 4.2): (i) efficient snapshotting writes a container’s scattered memory sequentially and moves only dirty pages, (ii) hot-page tracking restores only the pages that the next tool needs, and (iii) hardware accelerators perform data movement and compression.
4.1
Ambar Reclamation and Restoration Policy
Ambar uses the insight that the state of an agent reveals when its sandbox will need its memory again. A sandbox that runs a tool needs its memory now, one that waits for an LLM call needs it within seconds, and one that waits for the user needs it within minutes or hours. Conventional memory managers, such as TMO [70] and TPP [52], select individual pages based on recent accesses. Ambar manages memory per sandbox, and uses the agent’s state to determine how much time it has to reclaim and restore each sandbox’s memory. To make deployment practical, the policy is deliberately simple. It visits idle sandboxes from the longest to the shortest predicted idle time, and places each one in the first memory tier that it can return from in time. It needs no solver and no per-page profiling, and it relies only on signals available from the agent harness, host, and inference interface. Reclamation policy. Ambar admits arriving agents if local DRAM usage is below a high watermark. When a new agent exceeds it, the controller reclaims memory from idle agents until the usage drops below a low watermark. Sandboxes that run a tool are never reclaimed. The controller visits the idle agents in decreasing order of predicted remaining idle time, so that it first reclaims the memory that will be needed last. Hence, it visits those that wait for the user before sandboxes that wait for an LLM call. For each visited sandbox, the controller selects a placement that fits: the target has room, and the predicted time to reclaim and restore the sandbox, plus a safety margin, is shorter than its predicted remaining idle time. 7
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
times the TBT. For a user turn, Ambar uses the idle times between the prior turns of the same session, and falls back to the distribution of idle times across sessions [46] for the first turns. It conditions the prediction on the time that has already elapsed, since a user who has been idle for long is likely to stay idle. In both cases, Ambar uses a conservative estimate, so that errors favor promoting early. Finally, Ambar corrects its predictions with two early signals of the next tool. The first signal is an LLM hint. When the inference server decodes the start of a tool call, it notifies the controller before the rest of the response is generated and returned. The second signal is the arrival of the user’s next turn. Before the next tool can run, an LLM call must process the turn. On either signal, the controller starts to promote the sandbox if it has not started yet. Hence, the rest of the LLM call hides part of the promotion.
4.2
Agent 1 memory 1
Page P0 P1 P2 P3 P4 P5 ...
Working sets Reply
2
Access history 0 0 0 1 1 1 0 0 0 1 1 0 0 1 1 0 0 0 ...
Agent Hot 0 1 0 1 1 0 ...
LLM call: agent waits
Case 1
Tool
Keep in DRAM
Hot set Regroup
P1 P3 P4
Case 2
Decompress early
Case 3
CXL or SSD Promote early
3
Cold set P0 P2 P5 ...
Working-set tracker
DRAM
Tool
Agent 1
Hot page
Agent 2
Agent 3
Cold page
Out of DRAM in every case
...
Agent N
Compressed
Figure 19: Hot set tracker overview. pages are predictable: the median step reuses 96–99.8% of its pages from earlier steps, and 90% of the reused pages were used in the previous step. Ambar uses this predictability to track the hot pages of each sandbox, as Figure 19 shows. A working-set tracker keeps the access history of each page over the last few steps (1). After each tool, Ambar scans the page table of the sandbox, records the accessed bit of each page, and clears it. The same scan also collects the dirty bits for snapshotting. A page that was accessed in any of the recent steps is hot (2). At reclamation, Ambar regroups the pages of the sandbox into a hot set and a cold set, and stores the hot set contiguously in its snapshot (3). Then, the restoration depends on the placement of the sandbox. If the sandbox stays in local DRAM, nothing moves (Case 1). If the sandbox is compressed in local DRAM, Ambar decompresses the hot set before the next tool (Case 2). If the sandbox resides in CXL memory or on the SSD, Ambar promotes the hot set before the next tool (Case 3). In all cases, the cold set stays out of local DRAM, and its pages are promoted on first access. Hence, a restoration moves a few percent of the sandbox instead of all of it. Further, when the controller checks whether a placement fits (§ 4.1), it uses the time to restore only the hot set. As a result, more sandboxes fit in the slower tiers. Hardware acceleration. (De)compression and page copies consume CPU cycles that agents need. Ambar offloads this work to accelerators that are already present in modern servers. For example, it (de)compresses memory with Intel’s IAA [29]. On average, IAA compresses 2.5× faster and decompresses 4.1× faster than software (§ 3.3). Ambar could also copy pages between local DRAM and CXL memory with a data movement accelerator, e.g., Intel DSA [48]. However, a server has only a few accelerator engines, and many sandboxes can reclaim and restore memory at the same time, e.g., when several LLM calls complete together. To avoid contention, the Ambar controller schedules all operations on the accelerators. It gives restorations priority over reclamations, since a late restoration delays the next tool, and it orders restorations by the predicted start time of the next tool. Further, when the controller selects a tier for an idle sandbox (§ 4.1), it checks that the sandbox can return before its next tool. In this check, it adds the current queueing delay of the accelerators to the predicted time to reclaim and restore the sandbox. If the accelerators are busy and a restoration would not complete before the next tool, Ambar falls back to software and parallelizes the work across the idle cores of the server. Hence, Ambar reclaims and restores memory quickly, with few CPU cycles, and without delaying the tools.
Reducing the Overhead of Sandbox Memory Reclamation and Restoration
The faster Ambar reclaims and restores memory, the more sandboxes fit in the slower tiers, and the more local DRAM it frees. Thus, Ambar introduces three optimizations to minimize these overheads. Efficient snapshotting. § 3.2 shows that containers move their memory slower than VMs. A VM’s guest memory is a single region, which Ambar writes and reads sequentially. In contrast, a container’s memory is scattered across the address spaces of its processes and the page cache of its files. To reclaim it, the kernel must find each page through several levels of indirection and write it to a scattered swap slot. To restore it, the kernel reads the pages back one at a time. Hence, process memory takes 91–94% of the promotion time of a container, although it is less than half of its memory. Further, every reclamation writes the whole sandbox again, even though most of its pages have not changed. To address these issues, Ambar keeps a snapshot table for each sandbox. Each entry records a resident page, its owner (a process and virtual address, or a file and offset), its offset in the snapshot, and whether it is dirty. Ambar builds the table at the first reclamation of the sandbox, and then maintains it incrementally. With the table, Ambar gathers the scattered pages of a container and writes them to one contiguous snapshot in the target tier. On restoration, it reads the snapshot sequentially and scatters each page back to its owner, without searching for it. Hence, a container moves its memory with the same sequential access pattern as a VM. In addition, Ambar keeps the snapshot in the slower tier after it restores the sandbox, and tracks the pages that the sandbox writes while it runs. It uses soft-dirty bits for containers and the KVM dirty log for VMs. At the next reclamation, Ambar drops the clean pages from local DRAM without writing them, since the snapshot already holds them. It writes only the dirty and new pages, as a delta to the snapshot. Hence, after the first reclamation, each reclamation writes at most a few percent of the sandbox. When a slower tier runs short of space, Ambar discards the snapshots of running sandboxes first, and writes their next reclamation in full. Hot-page tracking. A full restoration moves the whole sandbox, although the next tool accesses only a small part of it. In contrast, lazy restoration puts a page fault on the critical path of every first access. Ambar avoids both overheads by restoring early only the pages that the next tool is likely to access. § 3.2 shows that these 8
Ambar: Memory Management for Agentic AI Sandboxes at Scale
600 400 200 0
(a) SWE-agent
1000 800 600 400 200 0
(b) DABStep
150 100 50 0
(a) SWE-agent
Figure 20: Number of agents admitted per server with each configuration across workloads.
5
200
Offload disk Offload CXL Compress zstd-1 Compress IAA p50 task completion time (s)
800
Baseline Oversub. 1.2× Oversub. 1.5× Oversub. 2×
TMO+TPP Ambar-unaware Ambar p50 task completion time (s)
1000
Offload disk Offload CXL Compress zstd-1 Compress IAA Number of agents admitted
Number of agents admitted
Baseline Oversub. 1.2× Oversub. 1.5× Oversub. 2×
TMO+TPP Ambar-unaware Ambar
60 40 20
0
(b) DABStep
Figure 21: P50 task completion time with each configuration across workloads.
Evaluation
reservation for its whole lifetime. Oversub. 𝑘× admits agents against 𝑘× the DRAM capacity, for 𝑘 = 1.2, 1.5, and 2. Single-mechanism configurations reclaim the memory of an agent during LLM calls and idle periods. Offload disk and Offload CXL move sandboxes to the SSD and to CXL memory, respectively. Compress zstd-1 and Compress IAA compress sandboxes with zstd-1 and with IAA, respectively. These configurations restore an agent reactively, when its wait ends. TMO+TPP is the Linux tiering stack: TMO-style proactive reclaim [70], TPP demotion to CXL [52], and zswap in front of SSD swap. Ambar-unaware uses all mechanisms of Ambar, but places sandboxes by their idle time and restores them reactively. Ambar is our full system.
Experimental setup. We run experiments on an AMD Turin server with 96 cores, 128 GB of local DRAM, a 128 GB CXL memory, and a 2.7 TB NVMe SSD. Local DRAM and CXL use DDR5 at 3200 MT/s and DDR4 at 2400 MT/s, respectively. For LLM serving, we use servers with 8 NVIDIA A100-80GB GPUs. Since AMD host lacks on-die compression and our Intel host lacks CXL, we emulate IAA using per-sandbox ratios and latencies profiled on Intel IAA (§ 3.3): we reserve the compressed footprint in DRAM/CXL, issue matching cache-bypassing memory reads and writes (retaining raw pages in uncounted memory), and model 6-IAA (8-engine per accelerator) queueing delays and CPU submission cycles. Agentic workloads. We evaluate two agentic workloads, as in § 3: (i) mini-SWE-agent [76] solving tasks from SWE-bench Verified [31] and (ii) DABStep agent [20], a smolagents CodeAgent, solving data-analysis tasks. Both agents use Qwen3-235B-A22BInstruct [63], served by vLLM [39]. Each agent runs in its own sandbox. To evaluate isolated sandboxes without cross-sandbox page sharing, we give each agent a private copy of its files. As a result, the memory of each agent, including its page cache, is charged to its own cgroup, as it would be in a separate VM. To keep LLM behavior consistent, we use trace replay. We first run each benchmark and record every LLM call, with its reply and inference latency, and every tool call. Then, during the evaluation, each agent replays its trace. It receives the recorded LLM replies after the recorded inference latencies, and executes the tools in its sandbox. LLM replies and their timing are fixed across configurations, the CPU and memory behavior of the sandboxes is real.
5.1
Evaluation Results
1. Agent density. Figure 20 shows the number of agents that each configuration admits in SWE-agent and DABStep. Baseline admits only 163 agents, as the reservations of the agents fill local DRAM. The Oversub. configurations admit more agents, but only up to 327 with Oversub. 2× in SWE-agent. In DABStep, Oversub. 2× runs out of memory. The single-mechanism configurations admit many more agents, as they reclaim memory of idle sandboxes. However, each of them is limited by its mechanism. For example, Offload CXL admits only 430 agents in DABStep, since CXL memory fills up. TMO+TPP and Ambar-unaware use several tiers, and admit 703 and 844 agents in SWE-agent, respectively. However, neither knows what an agent waits for, so both keep the sandboxes that wait for the user in the fast tiers for too long. In contrast, Ambar combines all tiers: it moves the sandboxes that wait for the user to the SSD, and keeps the faster tiers for the sandboxes that wait for an LLM call. Hence, Ambar admits the most agents in both workloads: 965 agents. Compared to Baseline, Ambar admits 5.9× more agents. In SWE-agent, it admits 14% more agents than Ambar-unaware and 22% more than the best single-mechanism configuration (Compress IAA). In DABStep, TMO+TPP and Ambar-unaware admit 921 and 939 agents. 2. Agent latency. Figures 21 and 22 show the P50 and P99 task completion times, respectively. Baseline reclaims no memory, and its P50 task takes 98 s in SWE-agent and 40 s in DABStep. The single-mechanism configurations put the restoration on the critical path of the next tool, which increases the task time. Offload disk has the highest overhead: it increases the P50 by 95% in SWE-agent and 41% in DABStep, as the SSD restores a sandbox slowly. Compress
Agent arrivals. Agents arrive with inter-arrival times drawn from the GitHub Copilot traces from Azure [46] (in total, there are 965 agents). After an agent finishes a task, it stays idle for a time drawn from the same traces, which emulates a user who reviews the result before issuing the next request. Then, the agent starts a new task, and repeats this cycle until the end of the experiment. An experiment lasts 2 hours. Each agent reserves 800 MB of memory, which covers the peak memory of an agent that we measure. When a system reclaims the memory of an agent, the agent releases its reservation. The freed memory goes first to the agents that wait to be restored, in FIFO order, and then to new agents, which wait in an admission queue. Evaluated configurations. We evaluate eleven systems. Baseline is conventional sandbox management, where each agent holds its 9
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
500 0
Reclamation
200
10 5 0
40 0
5
0.1 0.2 0.5 1 2 Time (s, log scale)
(a) SWE-agent
5
(b) DABStep
Figure 24: Distributions of the reclamation and restoration times of a sandbox with Ambar across workloads. Disk
TMO+TPP Ambar-unaware Ambar
4 3 2
CXL
91,463
100
17,284
10
7,839 1,658
1 0.1
(a) SWE-agent
1 0
(a) SWE-agent
0.1 0.2 0.5 1 2 Time (s, log scale)
0
Offload disk Offload CXL Compress zstd-1 Compress IAA
60 20
50
Number of operations (thousands, log scale)
15
40
100
(b) DABStep
Useful CPU utilization (%)
Useful CPU utilization (%)
20
80
60
0
Figure 22: P99 task completion time with each configuration across workloads.
25
80
20
150
(a) SWE-agent
Baseline Oversub. 1.2× Oversub. 1.5× Oversub. 2×
100 CDF (%)
250
Restoration
100
CXL → disk Number of operations (thousands, log scale)
1000
TMO+TPP Ambar-unaware Ambar CDF (%)
1500
Offload disk Offload CXL Compress zstd-1 Compress IAA p99 task completion time (s)
p99 task completion time (s)
Baseline Oversub. 1.2× Oversub. 1.5× Oversub. 2×
IAA
100 10 1
10,725
10,725
721 0
0.1
(b) DABStep
Figure 25: Number of memory-management operations per mechanism with Ambar across workloads.
(b) DABStep
Figure 23: Useful CPU usage, without memory-management overhead, with each configuration across workloads.
further (§ 5.3). For such workloads, next-generation servers may need a higher ratio of memory capacity to cores.
zstd-1 and Compress IAA increase the P50 task time by 18–43%. Offload CXL has a lower overhead, but admits fewer agents. TMO+TPP increases the P50 task time by 24% in SWE-agent and 18% in DABStep, as tools fault their pages back from swap. Ambar-unaware increases it by 16% and 13%, as it restores sandboxes reactively. In contrast, Ambar keeps the task time close to Baseline. It increases the P50 task time by only 5.5% in SWE-agent and 3.3% in DABStep. It increases the P99 task time by only 6.3% in SWE-agent, and does not increase it in DABStep, where TMO+TPP increases it by 24%. Ambar places each sandbox in a tier that it can return from in time, and restores the hot pages before the next tool starts. 3. CPU utilization. Figure 23 shows the useful CPU utilization of the server, i.e., the CPU time that agents spend on their tools, excluding the overhead of memory management. Baseline uses only 4.7% of the CPU in SWE-agent and 0.5% in DABStep, as memory limits the number of agents. Oversub. increases the utilization only slightly. The single-mechanism configurations increase it further, but their overheads slow agents down. For example, in SWE-agent, Compress zstd-1 admits nearly as many agents as Compress IAA, but its useful utilization is 24% lower, due to software compression. Ambar reaches 22.8% in SWE-agent and 3.3% in DABStep, which is 4.9× and 6.6× higher than Baseline, respectively. In SWE-agent, Ambar achieves 28% and 75% higher useful utilization than Ambar-unaware and TMO+TPP, respectively. In DABStep, Offload disk reaches the same utilization as Ambar, but with a 36% longer P50 task time. Hence, Ambar packs more agents, while keeping their tasks fast. Utilization in DABStep is low in all configurations, as its median tool call takes 1.0 ms, while its median LLM call takes 5.8 s (§ 3.1). Hence, a server needs many agents, and thus much memory, to keep its cores busy. With a higher load, Ambar increases the utilization
5.2
Characterizing Ambar Operations
1. Distribution of memory reclamation or restoration times. Figure 24 shows the distributions of the time that Ambar takes to reclaim and to restore the memory of a sandbox. Most operations are short. In SWE-agent, the median reclamation and restoration take 0.17 s and 0.19 s, respectively. In DABStep, the median reclamation takes 0.29 s. However, the restoration times in DABStep are bimodal: half of the restorations take about 0.3 s, and the other half take about 2 s. The slow restorations bring sandboxes back from the SSD. Ambar places only the sandboxes that wait for the user on the SSD, as their idle periods last minutes. 2. Frequency of memory management operations. Figure 25 shows the number of operations that Ambar performs with each mechanism during an experiment. In SWE-agent, most operations move sandboxes to CXL memory, followed by IAA compression and SSD offload. When CXL memory fills up, Ambar also moves sandboxes that wait for the user from CXL memory to the SSD. In DABStep, Ambar rarely uses CXL memory, and instead compresses sandboxes with IAA and moves them to the SSD. Overall, Ambar uses all mechanisms, and adapts their mix to each workload. 3. Reactive vs. proactive sandbox management. Figure 26 compares the single-mechanism configurations with reactive and proactive restoration, which starts early to complete when the wait ends. Proactive restoration reduces the P50 task time by up to 13% in SWE-agent and 26% in DABStep. However, in SWE-agent, proactive Offload disk still takes 70% longer than Baseline, since an SSD restoration often outlasts the LLM call (§ 3.2). Ambar moves a sandbox to the SSD only when its idle period hides the restoration. 10
Offload disk, proactive Offload CXL, proactive Compress zstd-1, proactive Compress IAA, proactive
100 50 0
40
(b) DABStep
1000 600 400 200 0
User time / 4
40
800
SWE-agent
DABStep
30 20
10 0
SWE-agent
0
SWE-agent
30 20 10 0
DABStep
250
214.0
200 150
118.2
119.1
135.7
100 50 0
(a) SWE-agent
10
SWE-agent
DABStep
90%
80%
50%
30 22.2
23.0
23.1
23.3
20 10 0
(b) DABStep
Figure 29: Total number of memory-management operations under different accuracies of the LLM wait time predictor.
DABStep
Figure 27: Number of agents admitted and useful CPU utilization with Ambar under different user idle times.
5.3
20
Accuracy 100% Number of operations (thousands)
User time / 3 Useful CPU utilization (%)
Number of agents admitted
User time / 2
30
Figure 28: P99 tool execution time per task and useful CPU utilization with Ambar under different LLM inference times.
0
Figure 26: P50 task completion time of the single-mechanism configurations with reactive and proactive restoration. Regular
LLM time / 2.5
40
20
(a) SWE-agent
LLM time / 2 Useful CPU utilization (%)
60
LLM time / 1.5
40
Number of operations (thousands)
150
Regular p99 tool execution time per task (s)
200
Offload disk, reactive Offload CXL, reactive Compress zstd-1, reactive Compress IAA, reactive
p50 task completion time (s)
p50 task completion time (s)
Ambar: Memory Management for Agentic AI Sandboxes at Scale
by a factor uniformly sampled from [1 − 2𝑎/100, 1 + 2𝑎/100]. In all setups, the number of admitted agents, useful CPU utilization, and task times stay within 1% of the 100% accurate predictor. However, mispredictions increase the work of memory management. Figure 29 shows the total number of memory-management operations, across all the mechanisms of Figure 25, with each accuracy. As the accuracy decreases, Ambar moves and (de)compresses sandbox memory more often. For example, a sandbox that Ambar restores too early may need to be reclaimed again. With 50% accuracy, Ambar performs 81.0% and 5.0% more operations than with the 100% accurate predictor in SWE-agent and DABStep, respectively. Hence, an accurate predictor keeps the memory-management overhead of Ambar low, but has a negligible effect on task performance.
Sensitivity Analyses
1. User idle time. When users respond faster, load on the server increases. Figure 27 shows the number of agents that Ambar admits and the useful CPU utilization when we reduce the user idle times of the traces by 2, 3, and 4×. In DABStep, Ambar admits the same number of agents with all idle times. In SWE-agent, it admits 965 agents with half of the idle time, and 827 agents with a quarter of it. However, each agent executes its tools more often. Hence, the useful CPU utilization increases. With a quarter of the user idle time, it increases from 22.8% to 33.8% in SWE-agent, and from 3.3% to 7.5% in DABStep. The other metrics, e.g., tool execution times, remain constant. Hence, under higher load, Ambar continues to admit many agents and uses the cores of the server effectively. 2. LLM inference time. Faster LLM inference shortens the idle periods in a task. Hence, Ambar has less time to reclaim and restore sandbox memory. Figure 28 shows P99 total tool execution time per task and useful CPU utilization when we divide the LLM inference times by 1.5, 2, and 2.5. We can see that P99 tool execution time stays nearly constant. The reason is that Ambar places a sandbox in a tier only if the sandbox can return from it before its next tool, i.e., it adapts its placement to the shorter idle periods. Further, Ambar admits the same number of agents with all inference times. However, as agents spend less time waiting for the LLM, the useful CPU utilization increases. With 2.5× faster inference, it increases from 22.8% to 32.6% in SWE-agent, and from 3.3% to 4.5% in DABStep. Hence, Ambar remains effective as LLM inference becomes faster, and converts the faster inference into higher CPU utilization. 3. Predictor accuracy. Ambar uses its prediction of LLM wait time to select the placement of each sandbox and the start of its restoration. To evaluate the effect of mispredictions, we emulate predictors with 100%, 90%, 80%, and 50% accuracy. We emulate a mean absolute percentage error of 𝑎% by multiplying each actual LLM wait time
6
Related Work
Agentic AI characterization. Prior work characterized the execution patterns and resource needs of agentic workloads [36, 46, 81, 87]. CPU-centric studies identify substantial host-side overhead [64], while others showed fragmented CPU–GPU execution, bursty resource utilization, and inefficiencies in conventional server architectures [77]. Our work focuses on the memory behavior of agentic sandboxes, characterizing memory reuse across tool invocations and the overhead of tiering, compression, and restoration. We use these insights to develop a coordinated memory manager that increases agent density while limiting execution overhead. Systems for agentic AI. Recent works improved efficiency of agentic AI by exploiting workflow dependencies and application knowledge to optimize LLM serving and scheduling [3, 32, 45, 50, 80]. Others optimized resource allocation and workflow orchestration [8], or used parallelism and speculative execution to reduce the latency of multi-step agentic workflows [75, 79]. These systems primarily optimize agent serving efficiency. Our work focuses on reclaiming CPU memory retained by stateful agentic sandboxes during idle intervals through coordinated memory tiering and compression. 11
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
Memory tiering. Systems explored software-defined far memory and transparent memory offloading to reduce DRAM consumption while controlling application performance degradation [40, 70]. CXL-enabled systems improve page placement across heterogeneous memory tiers through OS-level policies [52] and hardwareassisted memory access profiling [86]. Others use dynamic page classification and page-size selection [43], while reducing migration overhead through asynchronous migration and hardware acceleration [48, 73]. Conventional datacenters use memory tiering [85] and memory harvesting [21] in virtualized environments. Our work exploits idle intervals in agentic workloads to coordinate memory reclamation (tiering plus compression) and next tool execution. Memory compression. Researchers characterized compression opportunities in datacenters [30] and explored hardware acceleration to reduce compression overhead [1, 34]. Others improve hardware-compressed memory via efficient data access, address translation, and memory allocation [13, 41, 59]. Prior systems reduced serverless VM memory and restoration overheads via hardwareaccelerated snapshot compression [42], snapshot-based initialization and working-set prefetching [67], and OS-assisted snapshot restoration [25]. Our work coordinates memory tiering and compression with agent idle times, selecting mechanisms based on expected idle duration, memory characteristics, and restoration latency to increase memory efficiency while limiting overheads.
7
[6] Marc Brooker, Mike Danilov, Chris Greenwood, and Phil Piwonka. 2023. Ondemand Container Loading in AWS Lambda. In 2023 USENIX Annual Technical Conference (USENIX ATC 23). USENIX Association, 315–328. https://www.usenix. org/conference/atc23/presentation/brooker [7] Chaokun Chang, Yukun Zhou, Kaihua Fu, Dakai An, Tianyu Feng, Hanfeng Lu, Sheng Yao, Pu Guo, Yinghao Yu, Yizhou Shan, Bo Li, Binhang Yuan, and Wei Wang. 2026. From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems. arXiv:2608.15127 https://arxiv.org/abs/2608. 15127 [8] Gohar Irfan Chaudhry, Esha Choukse, Haoran Qiu, Inigo Goiri, Rodrigo Fonseca, Adam Belay, and Ricardo Bianchini. 2026. Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platforms. In 20th USENIX Symposium on Operating Systems Design and Implementation (OSDI 26). USENIX Association, 567–587. https://www.usenix.org/conference/osdi26/presentation/chaudhry [9] Prakash Chauhan, Chris Petersen, Brian Morris, and Jerome Glisse. 2023. Hyperscale Tiered Memory Expander Specification for Compute Express Link (CXL). Open Compute Project (OCP) Specification, Version 1.0. https://www.opencompute.org/documents/hyperscale-tiered-memoryexpander-specification-for-compute-express-link-cxl-1-pdf [10] Feng Chen, David A. Koufaty, and Xiaodong Zhang. 2009. Understanding Intrinsic Characteristics and System Implications of Flash Memory Based Solid State Drives. In ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS). 181–192. doi:10.1145/1555349.1555371 [11] Albert Cho, Anish Saxena, Moinuddin Qureshi, and Alexandros Daglis. 2024. COAXIAL: A CXL-Centric Memory System for Scalable Servers. In Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis (SC). doi:10.1109/SC41406.2024.00101 [12] Esha Choukse, Mattan Erez, and Alaa R. Alameldeen. 2018. Compresso: Pragmatic Main Memory Compression. In IEEE/ACM International Symposium on Microarchitecture (MICRO). 546–558. doi:10.1109/MICRO.2018.00051 [13] Nolan Chu, Yoon Lee, Gagandeep Panwar, and Xun Jian. 2026. Random-Access Hardware Sequence Compression. In Proceedings of the 53rd Annual International Symposium on Computer Architecture (ISCA). 1432–1447. doi:10.1109/ISCA66397. 2026.00107 [14] Cloud Hypervisor Project. 2026. Cloud Hypervisor. https://www.cloudhypervisor. org/. Accessed: October 29, 2026. [15] Cagdas Dirik and Bruce Jacob. 2009. The Performance of PC Solid-State Disks (SSDs) as a Function of Bandwidth, Concurrency, Device Architecture, and System Organization. In International Symposium on Computer Architecture (ISCA). 279–289. doi:10.1145/1555754.1555790 [16] Docker. 2026. What is Docker? https://docs.docker.com/get-started/dockeroverview/. Accessed: October 29, 2026. [17] Dong Du, Tianyi Yu, Yubin Xia, Binyu Zang, Guanglu Yan, Chenggang Qin, Qixuan Wu, and Haibo Chen. 2020. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting. In Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). ACM. doi:10.1145/3373376.3378512 [18] Subramanya R. Dulloor, Amitabha Roy, Zheguang Zhao, Narayanan Sundaram, Nadathur Satish, Rajesh Sankaran, Jeff Jackson, and Karsten Schwan. 2016. Data Tiering in Heterogeneous Memory Systems. In Proceedings of the Eleventh European Conference on Computer Systems (EuroSys). 15:1–15:16. doi:10.1145/2901318. 2901344 [19] Padmapriya Duraisamy, Wei Xu, Scott Hare, Ravi Rajwar, David Culler, Zhiyi Xu, Jianing Fan, Christopher Kennelly, Bill McCloskey, Danijela Mijailovic, Brian Morris, Chiranjit Mukherjee, Jingliang Ren, Greg Thelen, Paul Turner, Carlos Villavieja, Parthasarathy Ranganathan, and Amin Vahdat. 2023. Towards an Adaptable Systems Architecture for Memory Tiering at Warehouse-Scale. In Architectural Support for Programming Languages and Operating Systems (ASPLOS). 727–741. doi:10.1145/3582016.3582031 [20] Alex Egg, Martin Iglesias Goyanes, Friso Kingma, Andreu Mora, Leandro von Werra, and Thomas Wolf. 2025. DABstep: Data Agent Benchmark for Multi-step Reasoning. arXiv:2506.23719 https://arxiv.org/abs/2506.23719 [21] Alexander Fuerst, Stanko Novakovic, Inigo Goiri, Gohar Irfan Chaudhry, Prateek Sharma, Kapil Arya, Kevin Broas, Eugene Bak, Mehmet Iyigun, and Ricardo Bianchini. 2022. Memory-Harvesting VMs in Cloud Platforms. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). 583–594. doi:10.1145/3503222.3507725 [22] Google Cloud. 2026. What Is Agentic AI? https://cloud.google.com/discover/ what-is-agentic-ai. [23] Siyuan Guo, Cheng Deng, Ying Wen, Hechang Chen, Yi Chang, and Jun Wang. 2024. DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning. In International Conference on Machine Learning (ICML), Vol. 235. 16813–16848. https://proceedings.mlr.press/v235/ guo24b.html [24] Gabriel Haas and Viktor Leis. 2023. What Modern NVMe Storage Can Do, and How to Exploit It: High-Performance I/O for High-Performance Storage Engines. Proceedings of the VLDB Endowment (PVLDB) 16, 9 (2023), 2090–2102. doi:10.14778/3598581.3598584
Conclusion
As idle agent sandboxes keep their memory while they wait for an LLM call or the user, datacenter servers run out of memory before they fully use their cores. We presented Ambar, an agent-aware memory manager that places each idle sandbox in a local, CXL, or SSD tier, plain or compressed, that it can return from in time. Ambar reduces the overheads with efficient snapshotting, hot-page tracking, and hardware acceleration. Compared to conventional sandbox management, Ambar increases the number of agents per server by 5.9× and CPU utilization by 5.0×, while increasing P50 and P99 latency by up to 5.6% and 6.3%, respectively.
References [1] Bulent Abali, Bart Blaner, John Reilly, Matthias Klein, Ashutosh Mishra, Craig B. Agricola, Bedri Sendir, Alper Buyuktosunoglu, Christian Jacobi, William J. Starke, Haren Myneni, and Charlie Wang. 2020. Data Compression Accelerator on IBM POWER9 and z15 Processors: Industrial Product. In Proceedings of the 47th Annual International Symposium on Computer Architecture (ISCA). 1–14. doi:10.1109/ISCA45697.2020.00012 [2] Alexandru Agache, Marc Brooker, Andreea Florescu, Alexandra Iordache, Anthony Liguori, Rolf Neugebauer, Phil Piwonka, and Diana-Maria Popa. 2020. Firecracker: Lightweight Virtualization for Serverless Applications. In 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI). USENIX Association, 419–434. https://www.usenix.org/conference/nsdi20/presentation/ agache [3] Saurabh Agarwal, Marco Laju, Jayanth Srinivasa, Myungjin Lee, and Aditya Akella. 2026. Software-Defined Agentic Serving. arXiv:2601.03197 https://arxiv. org/abs/2601.03197 [4] Chloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal, Tianyin Xu, and Josep Torrellas. 2025. CXLfork: Fast Remote Fork over CXL Fabrics. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). doi:10.1145/3676641. 3715988 [5] Fabrice Bellard. 2005. QEMU, a Fast and Portable Dynamic Translator. In USENIX Annual Technical Conference (USENIX ATC), FREENIX Track. USENIX Association, 41–46. https://www.usenix.org/conference/2005-usenix-annual-technicalconference/qemu-fast-and-portable-dynamic-translator 12
Ambar: Memory Management for Agentic AI Sandboxes at Scale
[43] Taehyung Lee, Sumit Kumar Monga, Changwoo Min, and Young Ik Eom. 2023. MEMTIS: Efficient Memory Tiering with Dynamic Page Classification and Page Size Determination. In Proceedings of the 29th ACM Symposium on Operating Systems Principles (SOSP). 17–34. doi:10.1145/3600006.3613167 [44] Huaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst, Pantea Zardoshti, Stanko Novakovic, Monish Shah, Samir Rajadnya, Scott Lee, Ishwar Agarwal, Mark D. Hill, Marcus Fontoura, and Ricardo Bianchini. 2023. Pond: CXL-Based Memory Pooling Systems for Cloud Platforms. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). doi:10.1145/3575693.3578835 [45] Chaofan Lin, Zhenhua Han, Chengruidong Zhang, Yuqing Yang, Fan Yang, Chen Chen, and Lili Qiu. 2024. Parrot: Efficient Serving of LLM-based Applications with Semantic Variable. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). USENIX Association, 929–945. https://www. usenix.org/conference/osdi24/presentation/lin-chaofan [46] Banruo Liu, Haoran Qiu, Íñigo Goiri, Rodrigo Fonseca, Ricardo Bianchini, and Esha Choukse. 2026. Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale. arXiv:2608.00101 https://arxiv.org/abs/2608.00101 [47] Haifeng Liu, Long Zheng, Yu Huang, Jingyi Zhou, Chaoqiang Liu, Runze Wang, Xiaofei Liao, Hai Jin, and Jingling Xue. 2024. Enabling Efficient Large Recommendation Model Training with Near CXL Memory Processing. In Proceedings of the ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA). doi:10.1109/ISCA59077.2024.00036 [48] Ruili Liu, Teng Ma, Mingxing Zhang, Jialiang Huang, Yingdi Shan, Zheng Liu, Lingfeng Xiang, Zhen Lin, Hui Lu, Jia Rao, Kang Chen, and Yongwei Wu. 2025. DSA-2LM: A CPU-Free Tiered Memory Architecture with Intel DSA. In 2025 USENIX Annual Technical Conference (USENIX ATC 25). USENIX Association, 1213–1222. https://www.usenix.org/conference/atc25/presentation/liu-ruili [49] Chris Lu, Cong Lu, Robert Tjarko Lange, Jakob Foerster, Jeff Clune, and David Ha. 2024. The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery. arXiv:2408.06292 https://arxiv.org/abs/2408.06292 [50] Michael Luo, Xiaoxiang Shi, Colin Cai, Tianjun Zhang, Justin Wong, Yichuan Wang, Chi Wang, Yanping Huang, Zhifeng Chen, Joseph E. Gonzalez, and Ion Stoica. 2026. Agentix: An Efficient Serving Engine for LLM Agents as General Programs. In 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI 26). USENIX Association, 2443–2459. https://www.usenix.org/ conference/nsdi26/presentation/luo [51] LZ4 Project. 2026. LZ4: Extremely Fast Compression. https://lz4.org/ Accessed: 2026-10-27. [52] Hasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner, Niket Agarwal, Pallab Bhattacharya, Chris Petersen, Mosharaf Chowdhury, Shobhit Kanaujia, and Prakash Chauhan. 2023. TPP: Transparent Page Placement for CXLEnabled Tiered-Memory. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (ASPLOS). 742–755. doi:10.1145/3582016.3582063 [53] Meta. 2026. Zstandard: Fast Real-Time Compression Algorithm. https://github. com/meta/zstd. Accessed: October 29, 2026. [54] Microsoft. 2026. What Is Agentic AI? https://www.microsoft.com/en-us/ software-development-companies/resources/articles/what-is-agentic-ai. Accessed: October 29, 2026. [55] William Nixon, Muxin Tian, Yunjia Zheng, Haryadi S. Gunawi, and Juncheng Yang. 2026. From Requests to Sessions: A Large-Scale Characterization of HumanDriven Agentic Workloads. doi:10.5281/zenodo.23903440 Preprint. [56] Edward Oakes, Leon Yang, Dennis Zhou, Kevin Houck, Tyler Harter, Andrea Arpaci-Dusseau, and Remzi Arpaci-Dusseau. 2018. SOCK: Rapid Task Provisioning with Serverless-Optimized Containers. In 2018 USENIX Annual Technical Conference (USENIX ATC 18). USENIX Association, 57–70. https: //www.usenix.org/conference/atc18/presentation/oakes [57] OpenAI. 2026. Run and Continue Sessions. https://developers.openai.com/api/ docs/guides/agents-api/sessions. Accessed: October 29, 2026. [58] OpenAI. 2026. Sandbox Agents. https://developers.openai.com/api/docs/guides/ agents/sandboxes. Accessed: October 29, 2026. [59] Gagandeep Panwar, Muhammad Laghari, Esha Choukse, and Xun Jian. 2024. DyLeCT: Achieving Huge-page-like Translation Performance for Hardwarecompressed Memory. In Proceedings of the 51st Annual International Symposium on Computer Architecture (ISCA). 1129–1143. doi:10.1109/ISCA59077.2024.00085 [60] Dwight Pavlovic. 2024. What Is an SSD? The Ultimate Guide to Solid-State Drives. https://www.hp.com/us-en/tech-takes/components/explainer/what-isan-ssd.html. HP Tech Takes. Accessed: October 29, 2026. [61] Podman Project. 2026. Getting Started with Podman. https://podman.io/docs. Accessed: October 29, 2026. [62] Haoran Qiu, Weichao Mao, Archit Patke, Shengkun Cui, Saurabh Jha, Chen Wang, Hubertus Franke, Zbigniew T. Kalbarczyk, Tamer Başar, and Ravishankar K. Iyer. 2024. Efficient Interactive LLM Serving with Proxy Model-based Sequence Length Prediction. In The 5th International Workshop on Cloud Intelligence / AIOps at ASPLOS 2024. arXiv:2404.08509 https://arxiv.org/abs/2404.08509
[25] Ben Holmes, Baltasar Dinis, Lana Honcharuk, Adam Belay, and Joshua Fried. 2026. Rethinking Process Snapshots for Near-Warm Serverless Cold Starts. In 20th USENIX Symposium on Operating Systems Design and Implementation (OSDI 26). USENIX Association, 2007–2025. https://www.usenix.org/conference/osdi26/ presentation/holmes [26] Jialiang Huang, Hongxuan Tang, Jingchang Chen, et al. 2026. DeepSeek Elastic Compute (DSec): A Sandbox Infrastructure for Effective Agentic Training at Scale. arXiv:2609.22978 https://arxiv.org/abs/2609.22978 [27] IBM. 2026. What Is a Solid-State Drive? https://www.ibm.com/think/topics/solidstate-drives. Accessed: October 29, 2026. [28] Intel. 2026. Accelerate Compression with Intel QuickAssist Technology (Intel QAT). https://www.intel.com/content/www/us/en/products/docs/acceleratorengines/what-is-intel-qat.html. Accessed: October 29, 2026. [29] Intel. 2026. Intel In-Memory Analytics Accelerator (Intel IAA). https://www.intel.com/content/www/us/en/products/details/processors/ xeon/features/in-memory-analytics-accelerator.html. Accessed: October 29, 2026. [30] Geonhwa Jeong, Bikash Sharma, Nick Terrell, Abhishek Dhanotia, Zhiwei Zhao, Niket Agarwal, Arun Kejariwal, and Tushar Krishna. 2023. Characterization of Data Compression in Datacenters. In IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). 1–12. doi:10.1109/ISPASS57527. 2023.00010 [31] Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R. Narasimhan. 2024. SWE-bench: Can Language Models Resolve Real-world GitHub Issues?. In International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=VTF8yNQM66 [32] Hao Kang, Ziyang Li, Weili Xu, Xinyu Yang, Yinfang Chen, Junxiong Wang, Beidi Chen, Tushar Krishna, Chenfeng Xu, and Simran Arora. 2026. ThunderAgent: A Fast, Simple, and Program-Aware Agentic Inference System. In Proceedings of the 43rd International Conference on Machine Learning (ICML) (Proceedings of Machine Learning Research, Vol. 306). PMLR, 55630–55657. https://proceedings. mlr.press/v306/kang26j.html [33] Jaeyoung Kang, Qirong Xia, Ipoom Jeong, Yongjoo Park, and Nam Sung Kim. 2025. Intel In-Memory Analytics Accelerator: Performance Characterization and Guidelines. In IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). 1–13. doi:10.1109/ISPASS64960.2025.00021 [34] Sagar Karandikar, Aniruddha N. Udipi, Junsun Choi, Joonho Whangbo, Jerry Zhao, Svilen Kanev, Edwin Lim, Jyrki Alakuijala, Vrishab Madduri, Yakun Sophia Shao, Borivoje Nikolic, Krste Asanovic, and Parthasarathy Ranganathan. 2023. CDPU: Co-designing Compression and Decompression Processing Units for Hyperscale Systems. In Proceedings of the 50th Annual International Symposium on Computer Architecture (ISCA). doi:10.1145/3579371.3589074 [35] Honggyu Kim, Hyeongtak Ji, and Rakie Kim. 2024. DAMON based 2-tier memory management for CXL memory. https://lore.kernel.org/linux-mm/ 20240226140555.1615-1-honggyu.kim@sk.com/ [36] Jiin Kim, Byeongjun Shin, Jinha Chung, and Minsoo Rhu. 2026. The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspective. In Proceedings of the 2026 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE. doi:10.1109/HPCA68181.2026.11408569 [37] Kyungsan Kim, Hyunseok Kim, Jinin So, Wonjae Lee, Junhyuk Im, Sungjoo Park, Jeonghyeon Cho, and Hoyoung Song. 2023. SMT: Software-Defined Memory Tiering for Heterogeneous Computing Systems With CXL Memory Expander. IEEE Micro 43, 2 (2023), 20–29. doi:10.1109/MM.2023.3240774 [38] Avi Kivity, Yaniv Kamay, Dor Laor, Uri Lublin, and Anthony Liguori. 2007. KVM: The Linux Virtual Machine Monitor. In Proceedings of the Linux Symposium, Vol. 1. 225–230. https://www.kernel.org/doc/ols/2007/ols2007v1-pages-225-230.pdf [39] Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the 29th Symposium on Operating Systems Principles (SOSP ’23). doi:10.1145/3600006.3613165 [40] H. Andrés Lagar-Cavilla, Junwhan Ahn, Suleiman Souhlal, Neha Agarwal, Radoslaw Burny, Shakeel Butt, Jichuan Chang, Ashwin Chaugule, Nan Deng, Junaid Shahid, Greg Thelen, Kamil Adam Yurtsever, Yu Zhao, and Parthasarathy Ranganathan. 2019. Software-Defined Far Memory in Warehouse-Scale Computers. In ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). 317–330. doi:10.1145/3297858.3304053 [41] Muhammad Laghari, Yuqing Liu, Gagandeep Panwar, David Bears, Chandler Jearls, Raghavendra Srinivas, Esha Choukse, Kirk W. Cameron, Ali R. Butt, and Xun Jian. 2024. Memory Allocation Under Hardware Compression. In Proceedings of the 57th IEEE/ACM International Symposium on Microarchitecture (MICRO). 966–982. doi:10.1109/MICRO61859.2024.00075 [42] Nikita Lazarev, Varun Gohil, James Tsai, Andy Anderson, Bhushan Chitlur, Zhiru Zhang, and Christina Delimitrou. 2024. Sabre: Hardware-Accelerated Snapshot Compression for Serverless MicroVMs. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). USENIX Association, 1–18. https://www.usenix.org/conference/osdi24/presentation/lazarev 13
Y. Can, P. Patel, N. Gholkar, H. Maruf, A. Kokolis, J. Stojkovic
[63] Qwen Team. 2025. Qwen3-235B-A22B-Instruct-2507. https://huggingface.co/ Qwen/Qwen3-235B-A22B-Instruct-2507. [64] Ritik Raj, Souvik Kundu, Ishita Vohra, Hong Wang, and Tushar Krishna. 2025. Towards Understanding, Analyzing, and Optimizing Agentic AI Execution: A CPU-Centric Perspective. arXiv:2511.00739 https://arxiv.org/abs/2511.00739 [65] Mohammad Shahrad, Rodrigo Fonseca, Inigo Goiri, Gohar Chaudhry, Paul Batum, Jason Cooke, Eduardo Laureano, Colby Tresness, Mark Russinovich, and Ricardo Bianchini. 2020. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider. In 2020 USENIX Annual Technical Conference (USENIX ATC 20). USENIX Association, 205–218. https://www.usenix. org/conference/atc20/presentation/shahrad [66] Jovan Stojkovic, Chaojie Zhang, Íñigo Goiri, Josep Torrellas, and Esha Choukse. 2025. DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency. In Proceedings of the 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE, 1348–1362. doi:10.1109/ HPCA61900.2025.00102 [67] Dmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion, and Boris Grot. 2021. Benchmarking, Analysis, and Optimization of Serverless Function Snapshots. In Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). 559–572. doi:10.1145/3445814.3446714 [68] Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, and Heng Ji. 2024. Executable Code Actions Elicit Better LLM Agents. In International Conference on Machine Learning (ICML), Vol. 235. 50208–50232. https://proceedings.mlr.press/v235/wang24h.html [69] Xingyao Wang, Boxuan Li, Yufan Song, Frank F. Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, Hoang H. Tran, Fuqiang Li, Ren Ma, Mingzhang Zheng, Bill Qian, Yanjun Shao, Niklas Muennighoff, Yizhe Zhang, Binyuan Hui, Junyang Lin, Robert Brennan, Hao Peng, Heng Ji, and Graham Neubig. 2025. OpenHands: An Open Platform for AI Software Developers as Generalist Agents. In International Conference on Learning Representations (ICLR). https://openreview.net/forum?id=OJd3ayDDoF [70] Johannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang, Hao Wang, Blaise Sanouillet, Bikash Sharma, Tejun Heo, Mayank Jain, Chunqiang Tang, and Dimitrios Skarlatos. 2022. TMO: Transparent Memory Offloading in Datacenters. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). 609–621. doi:10.1145/3503222.3507731 [71] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W. White, Doug Burger, and Chi Wang. 2024. AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversations. In Conference on Language Modeling (COLM). https://openreview.net/forum?id=BAakY1hNKS [72] Qirong Xia, Houxiang Ji, Yang Zhou, and Nam Sung Kim. 2025. HardwareAccelerated Kernel-Space Memory Compression Using Intel QAT. IEEE Computer Architecture Letters 24, 1 (2025), 57–60. doi:10.1109/LCA.2025.3534831 [73] Lingfeng Xiang, Zhen Lin, Weishu Deng, Hui Lu, Jia Rao, Yifan Yuan, and Ren Wang. 2024. Nomad: Non-Exclusive Memory Tiering via Transactional Page Migration. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). USENIX Association, 19–35. https://www.usenix.org/ conference/osdi24/presentation/xiang [74] Huanyi Xie, Yubin Chen, Liangyu Wang, Lijie Hu, and Di Wang. 2026. Predicting LLM Output Length via Entropy-Guided Representations. In International Conference on Learning Representations (ICLR). https://openreview.net/forum? id=3loQDtveWI [75] Zhiqiang Xie, Hao Kang, Ying Sheng, Tushar Krishna, Kayvon Fatahalian, and Christos Kozyrakis. 2025. AI Metropolis: Scaling Large Language Model-based Multi-Agent Simulation with Out-of-order Execution. In Proceedings of Machine Learning and Systems (MLSys), Vol. 7. https://proceedings.mlsys.org/paper_files/paper/2025/hash/ 4f31327e046913c7238d5b671f5d820e-Abstract-Conference.html [76] John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. In Advances in Neural Information Processing Systems (NeurIPS), Vol. 37. doi:10.52202/079017-1601 [77] Jirong Yang, Peizhe Liu, Chaojie Zhang, and Jovan Stojkovic. 2026. Architectural Implications of Agentic AI Workflows. arXiv:2608.04458 https://arxiv.org/abs/ 2608.04458 [78] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In International Conference on Learning Representations (ICLR). https: //openreview.net/forum?id=WE_vluYUL-X [79] Naimeng Ye, Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, and Tianyi Peng. 2026. Speculative Actions: A Lossless Framework for Faster AI Agents. In International Conference on Learning Representations (ICLR). https: //openreview.net/forum?id=P0GOk5wslg
[80] Shan Yu, Junyi Shu, Yuanjiang Ni, Kun Qian, Xue Li, Yang Wang, Jinyuan Zhang, Ziyi Xu, Shuo Yang, Lingjun Zhu, Ennan Zhai, Qingda Lu, Jiarong Xing, Youyou Lu, Xin Jin, Xuanzhe Liu, and Harry Xu. 2026. Pythia: Exploiting workflow predictability for efficient agent-native LLM serving. arXiv:2604.25899 https: //arxiv.org/abs/2604.25899 [81] Yichao Yuan, Ankita Nayak, Souvik Kundu, and Nishil Talati. 2026. Agentic AI Workload Characterization. In Proceedings of the 2026 IEEE International Symposium on Workload Characterization (IISWC). IEEE, 377–391. doi:10.1109/ IISWC71020.2026.00041 [82] Jianping Zeng, Shuyi Pei, Da Zhang, Yuchen Zhou, Amir Beygi, Xuebin Yao, Ramdas Kachare, Tong Zhang, Zongwang Li, Marie Nguyen, Rekha Pitchumani, Yang Soek Ki, and Changhee Jung. 2025. Performance Characterizations and Usage Guidelines of Samsung CXL Memory Module Hybrid Prototype. arXiv:2503.22017 https://arxiv.org/abs/2503.22017 [83] Yusheng Zheng, Jiakun Fan, Quanzhi Fu, Yiwei Yang, Wei Zhang, and Andi Quinn. 2026. AgentCgroup: Understanding and Controlling OS Resources of AI Agents. arXiv:2602.09345 https://arxiv.org/abs/2602.09345 [84] Zangwei Zheng, Xiaozhe Ren, Fuzhao Xue, Yang Luo, Xin Jiang, and Yang You. 2023. Response Length Perception and Sequence Scheduling: An LLMEmpowered LLM Inference Pipeline. In Advances in Neural Information Processing Systems (NeurIPS), Vol. 36. 65517–65530. doi:10.52202/075280-2859 [85] Yuhong Zhong, Daniel S. Berger, Carl Waldspurger, Ryan Wee, Ishwar Agarwal, Rajat Agarwal, Frank Hady, Karthik Kumar, Mark D. Hill, Mosharaf Chowdhury, and Asaf Cidon. 2024. Managing Memory Tiers with CXL in Virtualized Environments. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). USENIX Association, 37–56. https://www.usenix.org/ conference/osdi24/presentation/zhong-yuhong [86] Zhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang, Ran Shu, Shuotao Xu, Peng Cheng, Lei Qu, Yongqiang Xiong, Jie Zhang, and Guangyu Sun. 2024. NeoMem: Hardware/Software Co-Design for CXL-Native Memory Tiering. In Proceedings of the 57th IEEE/ACM International Symposium on Microarchitecture (MICRO). 1518–1531. doi:10.1109/MICRO61859.2024.00111 [87] Kan Zhu, Mathew Jacob, Chenxi Ma, Yi Pan, Stephanie Wang, Arvind Krishnamurthy, and Baris Kasikci. 2026. TraceLab: Characterizing Coding Agent Workloads for LLM Serving. arXiv:2606.30560 https://arxiv.org/abs/2606.30560
14
Related documents
- Ambar: Memory Management for Agentic AI Sandboxes at Scale#1806832
- AI Agent Pull Requests on GitHub: Frequency, Structure, and Merge Conflict Rates#343545
- Tracking State Footprints: How Agents Can Transact#1187818
- Tracking State Footprints: How Agents Can Transact#1181716
- Where Should Agents Live? Energy-Memory Characterization of Agentic AI for the Edge-Cloud Continuum#1012479
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive