Rockbox mail archiveSubject: Re: Dircache
From: Alex Parker <parker.alex.e_at_gmail.com>
Date: Fri, 18 Jun 2010 23:02:08 +0200
On 18/06/10 21:46, Paul Louden wrote:
> On 6/18/2010 2:40 PM, Alex Parker wrote:
>> Is there any current reason why dircache isn't enabled by default? I
>> have at the back of my mind that it is because there used to be some
>> bugs there, but is this still true? IIRC, pamaury fixed some recently.
>> Anyone know the status there, as IMO it'd be nice to turn it on by
>> default if possible?
> Try initializing dircache with a ridiculously large number of tiny files
> (the High Voltage SID Collection is a good test case, IIRC) and see if
> it succeeds. I seem to remember that being one of the major problems -
> that it didn't fail particularly gracefully, re-attempting to initialize
> every boot but never succeeding.
I've just tried it with the HVSC, plus ~90 GB of mp3/ogg files on my
gigabeat S for a total of ~62k files, and dircache is fine. It did a
foreground scan on the first reboot after copying the HVSC over, but
only the once. It is reporting itself initialised with 62500 entries
(and is using a massive 3822696 bytes). Browsing files seems fine too.
Received on 2010-06-18