Skip to content

Instantly share code, notes, and snippets.

@gfrn
Created March 25, 2022 16:09
Embed
What would you like to do?
Bind all IRQs to CPU 1
#!/bin/bash
for D in /proc/irq/*; do
if [ -d "${D}" ]; then
echo Updating ${D}...
echo 2 > ${D}/smp_affinity
cd ..
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment