{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/312664"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/312664","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"InferSuite: A Microarchitectural Characterization and System Profiling of LLM Serving and Agentic Inference - CPU/GPU Time and TMA-Style Breakdown Across Serving and Agentic Workloads","abstract":"Deployed LLM systems are commonly treated as GPU workloads. In practice, retrieval, cache lookup, storage, and agent tool execution also consume CPU and memory resources. It remains unclear where time and machine capacity are spent across the full system. This thesis addresses that question with InferSuite, a deployable LLM service and measurement suite for quantifying time and resource use across retrieval, semantic caching, and model serving. Separately from the service, the same measurement method is applied to two existing agentic workloads, a repository-repair agent and a browser agent, driven through their own unmodified harnesses. Everything runs on one bare-metal workstation and is measured through container-scoped hardware counters, Top-Down Microarchitecture Analysis, and GPU profiling, with every measurement split into what happens during inference and outside it. The two studies give opposite answers. In the service, GPU generation holds 95 to 99 percent of request time, and the largest CPU consumer is the serving engine’s synchronization busy-wait, about two cores that look healthy on every counter while doing no useful work, most of which a blocking wait policy hands back. In the agents, the CPU does the real work outside inference, executing the delegated tool payload and the orchestration harness, whose cost compounds with conversation length. The agent machine averages under two percent utilization of its partition yet briefly demands all of it. On the GPU, quantized matrix kernels dominate, compute-bound in prefill and memory-bound in decode. The serving CPU should therefore wait more cheaply rather than be tuned, agent machines should be provisioned for bursts and shared rather than dedicated, and the harness, the serial term of the agentic loop, is the natural next target for accelerating agentic systems.","abstract_html":"Deployed LLM systems are commonly treated as GPU workloads. In practice, retrieval, cache lookup, storage, and agent tool execution also consume CPU and memory resources. It remains unclear where time and machine capacity are spent across the full system. This thesis addresses that question with InferSuite, a deployable LLM service and measurement suite for quantifying time and resource use across retrieval, semantic caching, and model serving. Separately from the service, the same measurement method is applied to two existing agentic workloads, a repository-repair agent and a browser agent, driven through their own unmodified harnesses. Everything runs on one bare-metal workstation and is measured through container-scoped hardware counters, Top-Down Microarchitecture Analysis, and GPU profiling, with every measurement split into what happens during inference and outside it. The two studies give opposite answers. In the service, GPU generation holds 95 to 99 percent of request time, and the largest CPU consumer is the serving engine’s synchronization busy-wait, about two cores that look healthy on every counter while doing no useful work, most of which a blocking wait policy hands back. In the agents, the CPU does the real work outside inference, executing the delegated tool payload and the orchestration harness, whose cost compounds with conversation length. The agent machine averages under two percent utilization of its partition yet briefly demands all of it. On the GPU, quantized matrix kernels dominate, compute-bound in prefill and memory-bound in decode. The serving CPU should therefore wait more cheaply rather than be tuned, agent machines should be provisioned for bursts and shared rather than dedicated, and the harness, the serial term of the agentic loop, is the natural next target for accelerating agentic systems.","abstract_has_math":false,"creators":["Al Shaar, Mohamad"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["Hassan, Ahmad"],"committee_chairs":[],"committee_members":["Hassan, Ahmad"],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T03:04:02Z","subjects":["LLM inference, LLM serving, Agents, Agentic AI, RAG, semantic cache, agents, CPU profiling, GPU profiling, top-down analysis"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"],"render_values":[{"text":"DATX05","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/312664","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/312664","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F312664","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F312664","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Hassan, Ahmad"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Hassan, Ahmad"]},{"key":"dc:creator","label":"Author","values":["Al Shaar, Mohamad"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-11-06T13:51:36Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Engineering mathematics and computational science (MPENM), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen","Master's Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["LLM inference, LLM serving, Agents, Agentic AI, RAG, semantic cache, agents, CPU profiling, GPU profiling, top-down analysis"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/312664"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Deployed LLM systems are commonly treated as GPU workloads. In practice, retrieval, cache lookup, storage, and agent tool execution also consume CPU and memory resources. It remains unclear where time and machine capacity are spent across the full system. This thesis addresses that question with InferSuite, a deployable LLM service and measurement suite for quantifying time and resource use across retrieval, semantic caching, and model serving. Separately from the service, the same measurement method is applied to two existing agentic workloads, a repository-repair agent and a browser agent, driven through their own unmodified harnesses. Everything runs on one bare-metal workstation and is measured through container-scoped hardware counters, Top-Down Microarchitecture Analysis, and GPU profiling, with every measurement split into what happens during inference and outside it. The two studies give opposite answers. In the service, GPU generation holds 95 to 99 percent of request time, and the largest CPU consumer is the serving engine’s synchronization busy-wait, about two cores that look healthy on every counter while doing no useful work, most of which a blocking wait policy hands back. In the agents, the CPU does the real work outside inference, executing the delegated tool payload and the orchestration harness, whose cost compounds with conversation length. The agent machine averages under two percent utilization of its partition yet briefly demands all of it. On the GPU, quantized matrix kernels dominate, compute-bound in prefill and memory-bound in decode. The serving CPU should therefore wait more cheaply rather than be tuned, agent machines should be provisioned for bursts and shared rather than dedicated, and the harness, the serial term of the agentic loop, is the natural next target for accelerating agentic systems."]},{"key":"dc:title","label":"Title","values":["InferSuite: A Microarchitectural Characterization and System Profiling of LLM Serving and Agentic Inference - CPU/GPU Time and TMA-Style Breakdown Across Serving and Agentic Workloads"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Hassan, Ahmad"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"],"dc:contributor.supervisor":["Hassan, Ahmad"],"dc:creator":["Al Shaar, Mohamad"],"dc:date.accessioned":["2026-11-06T13:51:36Z"],"dc:date.issued":["2026"],"dc:description.abstract":["Deployed LLM systems are commonly treated as GPU workloads. In practice, retrieval, cache lookup, storage, and agent tool execution also consume CPU and memory resources. It remains unclear where time and machine capacity are spent across the full system. This thesis addresses that question with InferSuite, a deployable LLM service and measurement suite for quantifying time and resource use across retrieval, semantic caching, and model serving. Separately from the service, the same measurement method is applied to two existing agentic workloads, a repository-repair agent and a browser agent, driven through their own unmodified harnesses. Everything runs on one bare-metal workstation and is measured through container-scoped hardware counters, Top-Down Microarchitecture Analysis, and GPU profiling, with every measurement split into what happens during inference and outside it. The two studies give opposite answers. In the service, GPU generation holds 95 to 99 percent of request time, and the largest CPU consumer is the serving engine’s synchronization busy-wait, about two cores that look healthy on every counter while doing no useful work, most of which a blocking wait policy hands back. In the agents, the CPU does the real work outside inference, executing the delegated tool payload and the orchestration harness, whose cost compounds with conversation length. The agent machine averages under two percent utilization of its partition yet briefly demands all of it. On the GPU, quantized matrix kernels dominate, compute-bound in prefill and memory-bound in decode. The serving CPU should therefore wait more cheaply rather than be tuned, agent machines should be provisioned for bursts and shared rather than dedicated, and the harness, the serial term of the agentic loop, is the natural next target for accelerating agentic systems."],"dc:identifier.coursecode":["DATX05"],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/312664"],"dc:language.iso":["eng"],"dc:publisher.program":["Engineering mathematics and computational science (MPENM), MSc"],"dc:subject":["LLM inference, LLM serving, Agents, Agentic AI, RAG, semantic cache, agents, CPU profiling, GPU profiling, top-down analysis"],"dc:subject.uppsok":["Technology"],"dc:title":["InferSuite: A Microarchitectural Characterization and System Profiling of LLM Serving and Agentic Inference - CPU/GPU Time and TMA-Style Breakdown Across Serving and Agentic Workloads"],"dc:type.degree":["Examensarbete för masterexamen","Master's Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:04:02Z"}