[maemo-developers] metalayer-crawler - good idea?

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Apr 3 22:06:52 EEST 2007
Eero Tamminen wrote:
> Hi,
> ext Frantisek Dufka wrote:
>> When rootfs is on mmc
>> I can see frantic activity of mmcqd kernel deamon (doing writes?) for
>> couple of minutes when booting or inserting the card (2 GB of mp3 files).
> Crawler doesn't write to the MMC, it only reads it (it writes to sqlite
> database in /home/user).  I think part of the badness is due to libid3.
> You can see this with strace.

It does when rootfs is on mmc. Together with scanning same card (but 
different partition) it is lot of I/O on same device. Luckily there are 
no heads in the card :-) This also means maybe the metalayer-crawler is 
not very healhy for internal flash wear too.

Oh, yes we finally have strace for arm in bora 3.1, right? Will try.

> Ditto.  I personally liked the 770 player more.

Well, perhaps the library idea is a bit flawed for removable devices and 
does not scale well with bigger media? Or can it fly in limited device 
like this? How does ipod and other players solve this? Perhaps doing it 
in desktop software I guess.

As for improvement, maybe you can scan just the filenames and do some 
hash (for card or whole directories) and if there is nothing new do not 
parse files inside at all? Will try strace before firing random ideas.


More information about the maemo-developers mailing list