This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12369 - Unneeded mass storage accesses with dircache off
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Sunday, 06 November 2011, 12:57 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 25 December 2011, 18:49 GMT+2
Opened by Andree Buschmann (Buschel) - Sunday, 06 November 2011, 12:57 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 25 December 2011, 18:49 GMT+2
|
DetailsWith r30907 (and also back to at least r30809 which I tested as well) I experience unneeded mass storage accesses on my iPod nano2G. I do not see this effect on my iPod Video.
Use case: - Create a playlist from either DB or file browser - Let buffering finish - Skip forward track by track (I use mpc/mp3/aac with embedded album art.) Effect seen: For some skips I see short flash accesses (much shorter than full rebuffering). This only happens if dircache is off. With activated dircache this effect is gone. As such mass storage accesses are severely impacting the battery runtime on HDD targets I hope we get this figured out before v3.10. |
This task depends upon
That the effect is not visible on the video suggests it goes through the idle storage interface which delays stuff to the next spin up on HDD. I believe it's instant on flash but not sure.
However, I don't know why dircache would make it not happen. Maybe it just becomes so fast that you don't notice it.
&& ! ((CONFIG_STORAGE & STORAGE_NAND) \
&& (CONFIG_NAND == NAND_IFP7XX)) \
&& !defined(BOOTLOADER)
That means it is enabled on flash as well. It's only disabled on sim/raaa, bootloader and the abandoned iriver ifp.