Skip to content

Instantly share code, notes, and snippets.

View ChrisDeadman's full-sized avatar
😊

Christopher Hubmann ChrisDeadman

😊
View GitHub Profile
@ChrisDeadman
ChrisDeadman / gaming_cores_redirect.sh
Created October 14, 2022 22:51
Redirect CPU Cores for Gaming
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Forces games to run only on 'good' cores - e.g. first CCD on Ryzen CPUs."
echo
echo "Usage: $0 on/off/topo"
echo
echo "Turn On: sudo $0 on"
echo "Turn Off: sudo $0 off"
echo "Show cpu topology: sudo $0 topo"