Alex Cheema 4 months ago
parent
commit
739b7d178e
1 changed files with 2 additions and 5 deletions
  1. 2 5
      .github/workflows/bench_job.yml

+ 2 - 5
.github/workflows/bench_job.yml

@@ -97,11 +97,8 @@ jobs:
           ulimit -l unlimited
           ulimit -l unlimited
           
           
           # Set process priority using macOS commands
           # Set process priority using macOS commands
-          sudo renice -n -20 $$ || true
-          sudo /usr/bin/nice -n -20 $$ || true
-          
-          # Disable memory compression
-          sudo nvram boot-args="vm_compressor=1"
+          CURRENT_PID=$PPID
+          sudo renice -n -20 $CURRENT_PID || true
           
           
           # Set Metal environment variables
           # Set Metal environment variables
           export METAL_DEVICE_WRAPPER_TYPE=1
           export METAL_DEVICE_WRAPPER_TYPE=1