SystemTap-based tool for measuring application interference in Linux systems
cd ~/Documents/intp
# Run IntP (6 out of 7 metrics functional)
sudo stap -g -B CONFIG_MODVERSIONS=y intp-6.8.stp firefox
# View metrics in another terminal
watch -n2 -d cat /proc/systemtap/stap_*/intestbench# Start LLC monitoring helper
./intp-resctrl-helper.sh start
# Run IntP (all 7 metrics functional)
sudo stap -g -B CONFIG_MODVERSIONS=y intp-resctrl.stp firefox
# View metrics
watch -n2 -d cat /proc/systemtap/stap_*/intestbench
# Stop helper when done
./intp-resctrl-helper.sh stop| Metric | Acronym | Description | Consumer CPUs | Xeon with RDT |
|---|---|---|---|---|
| Network Physical | netp |
Network layer utilization | ✅ | ✅ |
| Network Stack | nets |
Network stack utilization | ✅ | ✅ |
| Block I/O | blk |
Disk I/O utilization | ✅ | ✅ |
| Memory Bandwidth | mbw |
Memory bandwidth usage | ✅ | ✅ |
| LLC Miss Ratio | llcmr |
Cache miss percentage | ✅ | ✅ |
| LLC Occupancy | llcocc |
Cache occupancy | ❌ (0) | ✅ |
| CPU Utilization | cpu |
CPU usage percentage | ✅ | ✅ |
Example Output:
netp nets blk mbw llcmr llcocc cpu
02 01 05 12 03 00 45
| Component | Original (≤6.6) | Kernel 6.8.0+ | Reason |
|---|---|---|---|
| MSR Definitions | Defined in script | Removed | Now in kernel headers |
| LLC Occupancy | perf events (cqm_rmid) | resctrl filesystem | API removed from kernel |
| Module Loading | stap -g |
stap -g -B CONFIG_MODVERSIONS=y |
MODVERSIONS enforced |
| SystemTap Version | 4.9-5.0 (package) | 5.2+ (source) | Kernel 6.8 compatibility |
New Files:
intp-6.8.stp- Patched for 6.8.0 (LLC disabled)intp-resctrl.stp- Full version with resctrlintp-resctrl-helper.sh- LLC monitoring daemon
| Document | Description |
|---|---|
| Installation Guide | Complete Ubuntu 24.04 setup |
| Quick Fix: Module Loading | Solve "Invalid module format" |
| Kernel Changes | API compatibility details |
| LLC Monitoring | resctrl implementation |
| Complete Summary | Full project overview |
sudo apt install -y build-essential git libdw-dev libelf-dev
cd ~/Documents && git clone https://sourceware.org/git/systemtap.git
cd systemtap && git checkout release-5.2
./configure --prefix=/usr/local --disable-docs && make -j$(nproc)
sudo make installsudo apt install -y ubuntu-dbgsym-keyring
echo "deb http://ddebs.ubuntu.com noble main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/ddebs.list
sudo apt update && sudo apt install -y linux-image-$(uname -r)-dbgsymsudo stap -g -B CONFIG_MODVERSIONS=y -e 'probe begin { printf("OK\n") exit() }'Full guide: install/install_ubuntu24_desktop.md
# Add -B CONFIG_MODVERSIONS=y
sudo stap -g -B CONFIG_MODVERSIONS=y intp-6.8.stp firefox# Use patched version
sudo stap -g -B CONFIG_MODVERSIONS=y intp-6.8.stp firefox- Consumer CPUs: Expected (no RDT support)
- Xeon CPUs: Use
intp-resctrl.stp+ helper daemon
Original IntP: @mclsylva, @superflit
Kernel 6.8.0 Adaptation: Project contributors
Kernel: 6.8.0-90 | SystemTap: 5.2 | Updated: Jan 2026