poky/bitbake/lib/bb/server
Richard Purdie c18e52c0c8 bitbake: cooker/server: Fix up 100% CPU usage at idle
The recent inotify changes are causing a 100% cpu usage issue in the
idle handlers. To avoid this, we update the idle functions to optionally
report a float value which is the delay before the function needs to be
called again. 1 second is fine for the inotify handler, in reality its
more like 0.1s due to the default idle function sleep.

This reverts performance regressions of 1.5 minutes on a kernel build
and ~5-6 minutes on a image from scratch.

(Bitbake rev: 0e0ba408c2dce14a0fabd3fdf61d8465a031495b)

(Bitbake rev: 88dfe16b5abd804bae0c1e3b60cb93cb951cbc3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-11 16:21:48 +01:00
..
__init__.py bitbake: bitbake: cooker,xmlrpc,servers: implement CookerFeatures 2013-09-22 12:19:43 +01:00
process.py bitbake: cooker/server: Fix up 100% CPU usage at idle 2015-04-11 16:21:48 +01:00
xmlrpc.py bitbake: cooker/server: Fix up 100% CPU usage at idle 2015-04-11 16:21:48 +01:00