← back to Exo
t
92edfa5efcdad5fcd06cff61f63c4773873b2c95 · 2024-12-11 22:40:47 +0000 · Alex Cheema
Files touched
M .github/workflows/bench_job.yml
Diff
commit 92edfa5efcdad5fcd06cff61f63c4773873b2c95
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Wed Dec 11 22:40:47 2024 +0000
t
---
.github/workflows/bench_job.yml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/bench_job.yml b/.github/workflows/bench_job.yml
index 42e7aeb4..285218a4 100644
--- a/.github/workflows/bench_job.yml
+++ b/.github/workflows/bench_job.yml
@@ -110,16 +110,14 @@ jobs:
ps -eo pid,ppid,user,%cpu,%mem,nice,state,pri,command | head -1
ps -eo pid,ppid,user,%cpu,%mem,nice,state,pri,command | grep -i python
- echo "Process scheduling info:"
- ps -Mo pid,tid,policy,pri,sched,pname | grep -i python || true
-
echo "Starting exo daemon..."
- # Start exo
- .venv/bin/exo \
+ # Start exo with explicit process control
+ sudo taskpolicy -d -B .venv/bin/exo \
--node-id="${MY_NODE_ID}" \
--node-id-filter="${ALL_NODE_IDS}" \
--interface-type-filter="Ethernet" \
+ --disable-tui \
--chatgpt-api-port 52415 > output1.log 2>&1 &
PID1=$!
@@ -130,13 +128,14 @@ jobs:
# Give process time to start
sleep 2
+ # Set additional process priorities
+ sudo renice -n -20 -p $PID1
+ sudo taskpolicy -b -p $PID1 # Set as background task
+
echo "=== After starting exo ==="
ps -eo pid,ppid,user,%cpu,%mem,nice,state,pri,command | head -1
ps -eo pid,ppid,user,%cpu,%mem,nice,state,pri,command | grep $PID1
- echo "Process scheduling info for exo:"
- ps -Mo pid,tid,policy,pri,sched,pname | grep $PID1 || true
-
echo "Additional process details:"
sudo powermetrics -n 1 -i 1000 --show-process-energy | grep -A 5 $PID1 || true
← 225dcba7 t
·
back to Exo
·
t 83470a98 →