osrf / uctf

Unmanned Capture the Flag (U-CTF) project.
Apache License 2.0
24 stars 10 forks source link

start_arbiter.py is taking a lot of CPU #68

Closed tfoote closed 7 years ago

tfoote commented 7 years ago

it's usually above the level of gzserver in top, sometimes pegged at 100% of a core. And it also causes a lot of load via the sshd doing the X forwarding

It would be reallly great to get a headless mode, or at least a lower graphics mode.

tfoote commented 7 years ago

I left a simulation running over the weekend. The arbiter appears to be actually using more CPU than the simulation running a 10v10 simulation.

2449 ubuntu 20 0 2628M 269M 61080 S 110. 3.6 58h54:51 │ │ │ └─ gzserver -e ode /opt/sasc/share/uctf/worlds/uctf.world __name:

vs

20673 ubuntu 20 0 1887M 404M 59124 R 115. 5.4 65h03:40 │ └─ /opt/sasc/venv3/bin/python /opt/sasc/venv3/bin/arbiter_start.p

tfoote commented 7 years ago

Lookslike this was fixed with #70