Skip to content

local.conf: Enable pressure monitoring

The BB_PRESSURE_MAX_CPU can be set to monitor /proc/pressure/cpu when scheduling new tasks. I start with a relativly high value, I'm currently not quite sure how to find out the correct one.

For the general feature see:

The general algorithm is to take the 'total=' number's increment in the last second and compare it with the threshold. The bitbake user manual suggests 500, but I've hardly seen such low values, that's why I'm starting with a much higher one.

The actual usage of the limit is implemeted in Some additional debug messages might be added here to monitor, when the limit is hit.

Merge request reports