Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Digital twins and control of disk-performance in small-scale Linux-based systems

Stenberg, Oskar (2026)
Department of Automatic Control
Abstract
Performance control in servers is important for maintaining responsiveness and efficient resource usage, particularly in smaller computing environments where resource bottlenecks are more noticeable. This creates a need for mechanisms to measure and control the performance of common bottlenecks such as disk I/O and networking.
This thesis investigated and compared two different methods for controlling disk I/O performance in virtualised Linux environments; Linux control groups (cgroups) and the QEMU virtual block layer. The goal was to prioritise high-priority workloads by throttling low-priority background tasks.
Experimental results showed that both methods successfully enforced performance limits and improved the performance of... (More)
Performance control in servers is important for maintaining responsiveness and efficient resource usage, particularly in smaller computing environments where resource bottlenecks are more noticeable. This creates a need for mechanisms to measure and control the performance of common bottlenecks such as disk I/O and networking.
This thesis investigated and compared two different methods for controlling disk I/O performance in virtualised Linux environments; Linux control groups (cgroups) and the QEMU virtual block layer. The goal was to prioritise high-priority workloads by throttling low-priority background tasks.
Experimental results showed that both methods successfully enforced performance limits and improved the performance of prioritised workloads. In the evaluated scenarios, user-induced tasks were accelerated by up to 20% when low-priority background workloads were throttled. When measuring sequential read performance, cgroup-based limits achieved an average error of 2% compared to the set performance limits, whilst QEMU-based limits achieved an average error of 3%. QEMU-based limits were found to provide slightly lower accuracy and efficiency overall, whilst a combination of QEMU and cgroup-based limits provides the best granularity of disk I/O control.
This thesis also investigated the deployment of a digital twin of a computer environment.The deployed twin was found to closely match the real environment, with only minor deviations in hardware specifications. To enable communication between the twin and the real environment without modifying either system, a virtual router was designed and evaluated. The router achieved a maximum throughput of approximately 9.1 Gbit/s over a 10 Gbit/s connection whilst introducing negligible additional latency.
In addition, several performance analysis tools were developed for monitoring CPU, memory, networking and disk performance. These include a tool for distributed data collection as well as eBPF-based debugging and tracing utilities for Linux network and storage subsystems.
Together, these components provide mechanisms for performance control, monitoring and validation of virtualised Linux environments. (Less)
Please use this url to cite or link to this publication:
author
Stenberg, Oskar
supervisor
organization
year
type
H3 - Professional qualifications (4 Years - )
subject
report number
TFRT-6319
other publication id
0280-5316
language
English
id
9251166
date added to LUP
2026-09-18 11:37:15
date last changed
2026-09-18 11:37:15
@misc{9251166,
  abstract     = {{Performance control in servers is important for maintaining responsiveness and efficient resource usage, particularly in smaller computing environments where resource bottlenecks are more noticeable. This creates a need for mechanisms to measure and control the performance of common bottlenecks such as disk I/O and networking.
 This thesis investigated and compared two different methods for controlling disk I/O performance in virtualised Linux environments; Linux control groups (cgroups) and the QEMU virtual block layer. The goal was to prioritise high-priority workloads by throttling low-priority background tasks.
 Experimental results showed that both methods successfully enforced performance limits and improved the performance of prioritised workloads. In the evaluated scenarios, user-induced tasks were accelerated by up to 20% when low-priority background workloads were throttled. When measuring sequential read performance, cgroup-based limits achieved an average error of 2% compared to the set performance limits, whilst QEMU-based limits achieved an average error of 3%. QEMU-based limits were found to provide slightly lower accuracy and efficiency overall, whilst a combination of QEMU and cgroup-based limits provides the best granularity of disk I/O control.
 This thesis also investigated the deployment of a digital twin of a computer environment.The deployed twin was found to closely match the real environment, with only minor deviations in hardware specifications. To enable communication between the twin and the real environment without modifying either system, a virtual router was designed and evaluated. The router achieved a maximum throughput of approximately 9.1 Gbit/s over a 10 Gbit/s connection whilst introducing negligible additional latency.
 In addition, several performance analysis tools were developed for monitoring CPU, memory, networking and disk performance. These include a tool for distributed data collection as well as eBPF-based debugging and tracing utilities for Linux network and storage subsystems.
 Together, these components provide mechanisms for performance control, monitoring and validation of virtualised Linux environments.}},
  author       = {{Stenberg, Oskar}},
  language     = {{eng}},
  note         = {{Student Paper}},
  title        = {{Digital twins and control of disk-performance in small-scale Linux-based systems}},
  year         = {{2026}},
}