FS#6040 - CPU Timing/Boost on H10
Opened by Holger Winnemoeller (Lazerman) - Thursday, 21 September 2006, 22:41 GMT
Last edited by Nils Wallménius (nls) - Sunday, 08 July 2007, 15:37 GMT
As far as I can remember, the CPU boost feature has been disabled on the H10 because it could cause the system to hang. It would really be useful to get this to work properly, because otherwise the playback will be interupted by anything from scrolling through long lists to using most of the plugins.
I am wondering if the original problem was an incorrect setting for the CPU speed (this was addressed in a later fix, I think). For example, currently zbox runs at about 40% speed, and the speed-boost option (in zbox, not rockbox) pushes that speed to 200%. These kind of strange numbers (it seems normal mode for zbox should be 100%, not 40%), makes me think that either rockbox is reporting an incorrect clock speed, or zbox is computing something incorrectly.
As a general idea (not having looked at the code in detail) I am wondering if it would be possible to boost CPU not by default, but on a need-to-boost basis. As in: If the play buffer gets below x1 percent, fill the play buffer in normal CPU mode. If it gets below x2(<x1), fill it in CPU-boost mode. Shouldn't add much more code and might save some battery, particularly on powerful CPUs.
Sunday, 08 July 2007, 15:37 GMT
Reason for closing: Fixed
Additional comments about closing: cpu fequency scaling is now enabled and stable on the h10