From 6fac1f644986883dcb3f47aab7922a507e1f2524 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Tue, 16 Dec 2025 03:05:09 +0000 Subject: [PATCH] lil more --- scripts/usbgpu/benchmark.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/usbgpu/benchmark.sh b/scripts/usbgpu/benchmark.sh index 04a76d054e7ab4..23d64a871e4749 100755 --- a/scripts/usbgpu/benchmark.sh +++ b/scripts/usbgpu/benchmark.sh @@ -7,6 +7,16 @@ cd $DIR/../../tinygrad_repo GREEN='\033[0;32m' NC='\033[0m' +if [ -f /AGNOS ]; then + echo "tici setup" + + taskset -pc 7 $$ >/dev/null + sudo chrt -f -p 60 $$ >/dev/null + echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq + + echo 7 | sudo tee /proc/irq/1069/smp_affinity_list +fi + #export DEBUG=2 export PYTHONPATH=.