{"id":{"repo_id":"vt","oai_identifier":"oai:vtechworks.lib.vt.edu:10919/143438"},"canonical_url":"https://search.ndltd.org/etd/vt/oai:vtechworks.lib.vt.edu:10919/143438","repository":{"repo_id":"vt","name":"Virginia Tech","base_url":"https://vtechworks.lib.vt.edu/oai/request"},"display":{"title":"Disaggregated LLM Serving with CXL Shared Memory KV Cache at Rack-Scale","abstract":"Disaggregated LLM serving improves resource efficiency by separating prefill and decode across workers, but introduces a new bottleneck: key/value (KV) tensors generated during prefill must be transferred to decode workers, typically through the network stack. CXL memory offers an attractive alternative by enabling multiple hosts to share a large byte-addressable memory pool, allowing KV blocks to be published and consumed without network transfer. Realizing this vision is challenging because current CXL devices provide neither cross-host atomic operations nor full-device cache coherence, and expose only raw shared memory. This thesis presents TraCT, a rack-scale LLM serving system that uses CXL shared memory as both a network-free KV-transfer substrate and a rack-scale prefix-aware KV cache. TraCT overcomes three key challenges imposed by current CXL hardware: inter-node mutual exclusion without hardware atomics, correct visibility on non-coherent shared memory, and portable shared-memory data structures without shared pointers. To this end, it introduces a two-tiered lock, a software-managed coherence discipline, and a shared object directory. Implemented as a general-purpose CXL shared-memory library with a vLLM external KV-caching plugin, TraCT achieves up to 2.6x reduction in average time-to-first-token (TTFT), 3.0x lower P99 latency, and 1.9x higher peak goodput than RDMA-based baselines on a real-world multi-turn conversational workload. These results demonstrate that CXL shared memory is a practical and efficient substrate for KV transfer and prefix caching in rack-scale disaggregated LLM serving.","abstract_html":"Disaggregated LLM serving improves resource efficiency by separating prefill and decode across workers, but introduces a new bottleneck: key/value (KV) tensors generated during prefill must be transferred to decode workers, typically through the network stack. CXL memory offers an attractive alternative by enabling multiple hosts to share a large byte-addressable memory pool, allowing KV blocks to be published and consumed without network transfer. Realizing this vision is challenging because current CXL devices provide neither cross-host atomic operations nor full-device cache coherence, and expose only raw shared memory. This thesis presents TraCT, a rack-scale LLM serving system that uses CXL shared memory as both a network-free KV-transfer substrate and a rack-scale prefix-aware KV cache. TraCT overcomes three key challenges imposed by current CXL hardware: inter-node mutual exclusion without hardware atomics, correct visibility on non-coherent shared memory, and portable shared-memory data structures without shared pointers. To this end, it introduces a two-tiered lock, a software-managed coherence discipline, and a shared object directory. Implemented as a general-purpose CXL shared-memory library with a vLLM external KV-caching plugin, TraCT achieves up to 2.6x reduction in average time-to-first-token (TTFT), 3.0x lower P99 latency, and 1.9x higher peak goodput than RDMA-based baselines on a real-world multi-turn conversational workload. These results demonstrate that CXL shared memory is a practical and efficient substrate for KV transfer and prefix caching in rack-scale disaggregated LLM serving.","abstract_has_math":false,"creators":["Yoon, Dongha"],"institution":"Virginia Tech","degree_name":"Master of Science","degree_level":"masters","degree_discipline":"Computer Science & Applications","degree_department":"Computer Science and#38; Applications","school":null,"contributors":[],"advisors":[],"committee_chairs":["Noh, Sam Hyuk"],"committee_members":["Li, Huaicheng","Butt, Ali"],"year":2026,"date_issued":"2026-06-16","date_published":"2026-06-16","updated_at":"2026-11-18T20:15:12Z","subjects":["CXL","Disaggregated LLM Serving","KV Cache","Shared Memory"],"languages":["en"],"rights":["In Copyright"],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:46695"],"render_values":[{"text":"vt_gsexam:46695","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10919/143438","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10919/143438","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://vtechworks.lib.vt.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Avtechworks.lib.vt.edu%3A10919%2F143438","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Noh, Sam Hyuk"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Li, Huaicheng","Butt, Ali"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science and#38; Applications"]},{"key":"dc:creator","label":"Author","values":["Yoon, Dongha"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-17T08:01:08Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-06-17T08:01:08Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-06-16"]},{"key":"dc:publisher","label":"Institution","values":["Virginia Tech"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science & Applications"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Virginia Polytechnic Institute and State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["CXL","Disaggregated LLM Serving","KV Cache","Shared Memory"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["In Copyright"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:46695"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10919/143438"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Disaggregated LLM serving improves resource efficiency by separating prefill and decode across workers, but introduces a new bottleneck: key/value (KV) tensors generated during prefill must be transferred to decode workers, typically through the network stack. CXL memory offers an attractive alternative by enabling multiple hosts to share a large byte-addressable memory pool, allowing KV blocks to be published and consumed without network transfer. Realizing this vision is challenging because current CXL devices provide neither cross-host atomic operations nor full-device cache coherence, and expose only raw shared memory. This thesis presents TraCT, a rack-scale LLM serving system that uses CXL shared memory as both a network-free KV-transfer substrate and a rack-scale prefix-aware KV cache. TraCT overcomes three key challenges imposed by current CXL hardware: inter-node mutual exclusion without hardware atomics, correct visibility on non-coherent shared memory, and portable shared-memory data structures without shared pointers. To this end, it introduces a two-tiered lock, a software-managed coherence discipline, and a shared object directory. Implemented as a general-purpose CXL shared-memory library with a vLLM external KV-caching plugin, TraCT achieves up to 2.6x reduction in average time-to-first-token (TTFT), 3.0x lower P99 latency, and 1.9x higher peak goodput than RDMA-based baselines on a real-world multi-turn conversational workload. These results demonstrate that CXL shared memory is a practical and efficient substrate for KV transfer and prefix caching in rack-scale disaggregated LLM serving."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["When you ask an AI assistant a question, your request travels through a surprisingly complex pipeline inside a data center. Modern AI systems split the work across multiple specialized servers: one server processes your input and prepares a large block of intermediate data, and another server uses that data to generate your response token by token. For this handoff to work, the intermediate data---which can reach hundreds of megabytes for a single conversation---must travel between the two servers before the response can begin. Today, this transfer happens over a high-speed data center network. Data is packaged, sent through a network card, routed across cables and switches, and unpacked on the other end. Even inside a single data center rack, this round trip introduces delays measured in milliseconds---an eternity at the speeds modern AI hardware operates. Worse, as more users send requests simultaneously, these transfers compete for limited network bandwidth, causing response times to spike unpredictably under load. The root cause is a mismatch between where the data lives and how it gets moved. Accessing data directly from memory is orders of magnitude faster than sending it over a network: memory operates at nanosecond timescales and bandwidth measured in tens to hundreds of gigabytes per second, while network transfers add protocol overhead, buffering delays, and contention that push effective latency far higher. The servers in a rack are physically close to each other, yet today's software forces their data to take a long detour through the network stack. A new hardware technology called CXL addresses this mismatch by allowing multiple servers in a rack to share the same pool of physical memory directly. Instead of packaging data and sending it over the network, one server can write directly into shared memory and another can read it back immediately---much like a program reading from its own RAM, but across machine boundaries. This thesis presents textbf{TraCT}, a system that exploits CXL to eliminate the network transfer in AI serving entirely. With TraCT, the server that processes your prompt writes the intermediate data straight into shared memory, and the server that generates your response reads it back without any network involvement. The core challenge is that current CXL hardware was not designed with the coordination features that software normally relies on, so TraCT rebuilds those guarantees from scratch in software. Experiments on a real CXL-equipped system show that TraCT reduces the time users wait for an AI response by up to 2.6 times and can handle nearly twice as many simultaneous users before response quality degrades---all without requiring faster hardware or more servers. These results demonstrate that rethinking how servers in a rack share data, rather than simply scaling up network infrastructure, offers a practical path to faster and more efficient AI systems."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master of Science"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["ETD"]},{"key":"dc:title","label":"Title","values":["Disaggregated LLM Serving with CXL Shared Memory KV Cache at Rack-Scale"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Noh, Sam Hyuk"],"dc:contributor.committeemember":["Li, Huaicheng","Butt, Ali"],"dc:contributor.department":["Computer Science and#38; Applications"],"dc:creator":["Yoon, Dongha"],"dc:date.accessioned":["2026-06-17T08:01:08Z"],"dc:date.available":["2026-06-17T08:01:08Z"],"dc:date.issued":["2026-06-16"],"dc:description.abstract":["Disaggregated LLM serving improves resource efficiency by separating prefill and decode across workers, but introduces a new bottleneck: key/value (KV) tensors generated during prefill must be transferred to decode workers, typically through the network stack. CXL memory offers an attractive alternative by enabling multiple hosts to share a large byte-addressable memory pool, allowing KV blocks to be published and consumed without network transfer. Realizing this vision is challenging because current CXL devices provide neither cross-host atomic operations nor full-device cache coherence, and expose only raw shared memory. This thesis presents TraCT, a rack-scale LLM serving system that uses CXL shared memory as both a network-free KV-transfer substrate and a rack-scale prefix-aware KV cache. TraCT overcomes three key challenges imposed by current CXL hardware: inter-node mutual exclusion without hardware atomics, correct visibility on non-coherent shared memory, and portable shared-memory data structures without shared pointers. To this end, it introduces a two-tiered lock, a software-managed coherence discipline, and a shared object directory. Implemented as a general-purpose CXL shared-memory library with a vLLM external KV-caching plugin, TraCT achieves up to 2.6x reduction in average time-to-first-token (TTFT), 3.0x lower P99 latency, and 1.9x higher peak goodput than RDMA-based baselines on a real-world multi-turn conversational workload. These results demonstrate that CXL shared memory is a practical and efficient substrate for KV transfer and prefix caching in rack-scale disaggregated LLM serving."],"dc:description.abstractgeneral":["When you ask an AI assistant a question, your request travels through a surprisingly complex pipeline inside a data center. Modern AI systems split the work across multiple specialized servers: one server processes your input and prepares a large block of intermediate data, and another server uses that data to generate your response token by token. For this handoff to work, the intermediate data---which can reach hundreds of megabytes for a single conversation---must travel between the two servers before the response can begin. Today, this transfer happens over a high-speed data center network. Data is packaged, sent through a network card, routed across cables and switches, and unpacked on the other end. Even inside a single data center rack, this round trip introduces delays measured in milliseconds---an eternity at the speeds modern AI hardware operates. Worse, as more users send requests simultaneously, these transfers compete for limited network bandwidth, causing response times to spike unpredictably under load. The root cause is a mismatch between where the data lives and how it gets moved. Accessing data directly from memory is orders of magnitude faster than sending it over a network: memory operates at nanosecond timescales and bandwidth measured in tens to hundreds of gigabytes per second, while network transfers add protocol overhead, buffering delays, and contention that push effective latency far higher. The servers in a rack are physically close to each other, yet today's software forces their data to take a long detour through the network stack. A new hardware technology called CXL addresses this mismatch by allowing multiple servers in a rack to share the same pool of physical memory directly. Instead of packaging data and sending it over the network, one server can write directly into shared memory and another can read it back immediately---much like a program reading from its own RAM, but across machine boundaries. This thesis presents textbf{TraCT}, a system that exploits CXL to eliminate the network transfer in AI serving entirely. With TraCT, the server that processes your prompt writes the intermediate data straight into shared memory, and the server that generates your response reads it back without any network involvement. The core challenge is that current CXL hardware was not designed with the coordination features that software normally relies on, so TraCT rebuilds those guarantees from scratch in software. Experiments on a real CXL-equipped system show that TraCT reduces the time users wait for an AI response by up to 2.6 times and can handle nearly twice as many simultaneous users before response quality degrades---all without requiring faster hardware or more servers. These results demonstrate that rethinking how servers in a rack share data, rather than simply scaling up network infrastructure, offers a practical path to faster and more efficient AI systems."],"dc:description.degree":["Master of Science"],"dc:format.medium":["ETD"],"dc:identifier.other":["vt_gsexam:46695"],"dc:identifier.uri":["https://hdl.handle.net/10919/143438"],"dc:language.iso":["en"],"dc:publisher":["Virginia Tech"],"dc:rights":["In Copyright"],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["CXL","Disaggregated LLM Serving","KV Cache","Shared Memory"],"dc:title":["Disaggregated LLM Serving with CXL Shared Memory KV Cache at Rack-Scale"],"dc:type":["Thesis"],"thesis:degree_discipline":["Computer Science & Applications"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Virginia Polytechnic Institute and State University"]},"updated_at":"2026-11-18T20:15:12Z"}