FS#8448 - insane disk activity

Attached to Project: Rockbox
Opened by harry tu (bookshare) - Saturday, 12 January 2008, 05:12 GMT
Last edited by Nicolas Pennequin (nicolas_p) - Saturday, 26 January 2008, 16:03 GMT
Task Type Bugs
Category Drivers
Status Closed
Assigned To No-one
Operating System iPod 4G Grayscale
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


My hdd is doing things with the hdd when I am doing things that don't require hdd usage like going into menus. I have attached my voice file. I think this is the problem. No more logical reason.
This task depends upon

Closed by  Nicolas Pennequin (nicolas_p)
Saturday, 26 January 2008, 16:03 GMT
Reason for closing:  Not a Bug
Comment by Marcoen Hirschberg (marcoen) - Friday, 18 January 2008, 14:04 GMT
Perhaps the HDD spins up because some glyphs need to be read from the font and stored in the font cache. his will happen every time a previously unused character is being printed (unless the whole font fits in the font buffer). If you are using the Chinese language file this can happen a lot.

Could this be the explanation for this problem?

We could try to solve it by pre-loading every character used in the language file (and maybe the database as well)
Comment by Jonas Häggqvist (rasher) - Friday, 18 January 2008, 17:53 GMT
Marcoen: I've been thinking that language files should include a string (generated by genlang) of all characters used. Which will make your suggestion easier. It would also make it possible to check when loading a new font, if that font supports the current language, and you could inform the user gracefully.
Comment by Jonathan Gordon (jdgordon) - Friday, 18 January 2008, 17:57 GMT
that wont help because it shuold dump out the LRU gliphs which means if its spinning up all the time the cache isnt big enough
Comment by harry tu (bookshare) - Saturday, 19 January 2008, 03:48 GMT
What are the lru glyffs?
Comment by Joel Wiegman (jwiegman) - Tuesday, 22 January 2008, 00:39 GMT
FWIW, this is probably a duplicate of  FS#8397  and  FS#8429 . A significant number of people (including myself) have been reporting this issue in Flyspray and in the forums.