Parsing recipes progress bar doesn't show incremental progress
I think there has been a recent change in behaviour. When
you start up bitbake there is a progress bar during the recipe parsing:
Parsing recipes: 100% |##########################################| Time: 00:00:05
I used to see this bar fill as it went, but now it sits there at 0% until it is completely done and then BAM goes to 100%
Has anyone else seen this? I'm running Poky/Yocto updated to 2b925045877aeb44d9823a8c9515e8ab8fca1e52 as of 2015-01-15
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 10 lines · Gary Thomas
I think there has been a recent change in behaviour. When you start up bitbake there is a progress bar during the recipe parsing:
Parsing recipes: 100% |##########################################| Time: 00:00:05I used to see this bar fill as it went, but now it sits there at 0% until it is completely done and then BAM goes to 100%
Has anyone else seen this? I'm running Poky/Yocto updated to
2b925045877aeb44d9823a8c9515e8ab8fca1e52as of 2015-01-15
My guess is that the delay introduced after parsing from pyinotify is causing the bar to be visible at 100% for a while. I've just merged the performance fix for pyinotify, can you see if its still doing what you describe after that?
Cheers,
Richard
Quoted 9 lines · Richard Purdie
Quoted 8 lines · Gary Thomas
I think there has been a recent change in behaviour. When you start up bitbake there is a progress bar during the recipe parsing:
Parsing recipes: 100% |##########################################| Time: 00:00:05I used to see this bar fill as it went, but now it sits there at 0% until it is completely done and then BAM goes to 100%
Quoted 7 lines
Quoted 2 lines
Has anyone else seen this? I'm running Poky/Yocto updated to
2b925045877aeb44d9823a8c9515e8ab8fca1e52as of 2015-01-15My guess is that the delay introduced after parsing from pyinotify is causing the bar to be visible at 100% for a while. I've just merged the performance fix for pyinotify, can you see if its still doing what you describe after that?
It may be better, certainly less of the "pregnant pause" now.
The progress bar for 'parsing recipes' seems to work fine when it's
actually parsing a lot of recipes. The behaviour I was seeing happens
when bitbake is able to use cached data, e.g.
Loading cache: 100% |####################################################################################| ETA: 00:00:00 Loaded 1587 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 00:00:01 Parsing of 1165 .bb files complete (1164 cached, 1 parsed). 1586 targets, 115 skipped, 0 masked, 0 errors.
In this case, the second progress bar was empty for the one second that phase took and there were no intermediate changes to it.
Maybe it's just an impression I got yesterday when that second progress bar sat empty for 5 seconds. Today it took only one (for the same build tree), so perhaps you did improve it.
Thanks for looking at this.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------