ros-infrastructure / buildfarm

Build scripts and notes for catkin debian build pipeline.
6 stars 15 forks source link

subprocess_reaper using a lot of CPU time #137

Closed trainman419 closed 11 years ago

trainman419 commented 11 years ago

While doing builds on a single-core VM, I observe that subprocess_reaper is using 25% of the CPU time, while gcc gets the other 75%; this seems a bit absurd.

dirk-thomas commented 11 years ago

We reviewed the reaper implementation but the psutil calls can not be speed up.

As a compromise we will make it cycle slower. The trade off will be that processes forked between to cycles of the reaper can not be catched anymore.