Overview
A course’s worth of performance evaluation work in one repository: system monitoring, benchmarking with Sysbench, queueing-network models in QNAP2, workload characterisation with K-means, and capacity prediction.
The seven practices run the same argument from both ends. One end is measurement: sampling CPU and memory, and asking what the sampling interval does to the answer and how much the monitor itself costs; then Sysbench for response time, throughput and speedup. The other end is the model: queueing networks solved in QNAP2, and operational analysis with Mean Value Analysis, where the machine is a set of service centres rather than a set of readings.
The last practices put the two together. Five hours of samples are characterised with K-means into three regimes (a base load, an intermediate memory band and the CPU and memory spikes), and then the series is extrapolated with regression, moving averages and exponential smoothing to say when the capacity runs out, with the error of each method reported rather than the prettiest curve chosen.
Practices for the Computer Systems Performance Evaluation course at the Universitat de les Illes Balears, 2025–26. Each is self-contained: raw measurements, the scripts that produced them, the charts and the report.
pythonqueueing-theoryclusteringbenchmarking