Files
Athena-Deck/docs/experiments/pcie-mps-2026-10-13/README.md
T

2.8 KiB

PCIe MPS performance boot parameter — pending reboot

Post-reboot verification, 2026-10-13

Connected using athena.scc.kit.edu; /proc/cmdline now includes pci=pcie_bus_perf. The 3060 (04:00.0) is configured for MPS 256 bytes and MRRS 256 bytes. Ancestor bridges 00:01.2, 02:00.2, 03:00.0 now use MPS/MRRS 512/512 bytes. The 5080 (08:00.0) uses 256/256 bytes. Deck is healthy and all ten expected application containers are running. No throughput test after this reboot has yet been performed.

The earlier home address 192.168.1.212 was unreachable: no WireGuard interface was present after boot. The physical lan0 has the KIT address 172.21.117.202/27. This was verified independently of the PCIe parameter; no causal link to PCIe tuning has been established and no tunnel settings were changed. Use the KIT hostname for access until the tunnel is restored.

Original pre-reboot change record

User explicitly requested enabling pci=pcie_bus_perf on Athena. Installed deploy/host-tuning/90-athena-pcie-performance.cfg as /etc/default/grub.d/90-athena-pcie-performance.cfg, mode 0644; ran update-grub and grub-script-check /boot/grub/grub.cfg successfully. All seven generated kernel entries include the parameter. No reboot occurred; the live /proc/cmdline does not yet contain it. There is no post-change MPS/throughput result yet.

Baseline

3060 endpoint 0000:04:00.0: supports MaxPayload 256 bytes, configured MPS 128 bytes and MRRS 512 bytes. Its ancestor bridges 0000:00:01.2, 0000:02:00.2, 0000:03:00.0 support 512-byte MPS and are configured for 128-byte MPS. The snapshot was taken at idle and showed downgraded endpoint link speed; do not treat that as a sustained-load speed measurement.

The official Linux documentation says pcie_bus_perf chooses allowable MPS based on the parent bus and tunes MRRS as well. This is a host-wide PCIe policy, not an isolated GPU register change. It neither adds lanes nor guarantees a throughput improvement.

Source: https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html

Apply on restore and verify

This is an explicitly selected host optimization, not a universal installer default. On the equivalent Debian/GRUB host, install the committed drop-in in /etc/default/grub.d/, preserving other command-line settings, and run update-grub. Check generated configuration syntax before a planned reboot. After reboot confirm /proc/cmdline, inspect MPS/MRRS along both GPU paths, verify GPUs and services, and repeat the same IQ3 benchmark. Do not report 256-byte operation or a speed improvement before those checks.

Rollback: remove only this drop-in, run update-grub, and reboot in a user approved maintenance window. The normal encrypted Deck application restore does not by itself apply host GRUB settings; this Git recipe is required.