Rockbox General > Rockbox General Discussion

Directory Cache vs. Load to RAM - clarification.

(1/2) > >>

lalittle:
I'm not entirely clear on the difference between the "Directory Cache" disk setting and the "Load to RAM" database setting.

From the manual, it sounds like they provide similar functions for different types of viewing -- i.e. that they both speed up browsing by loading data to the RAM, but that the "Directory Cache" effects browsing by "files," whereas the "Load to RAM" setting effects browsing by the "database."

Is this correct?

Thanks for clarification on this,

Larry

bluebrother:

--- Quote from: lalittle on April 24, 2007, 06:50:34 PM ---Is this correct?
--- End quote ---
Yes.

Dircache caches the filesystem structure, so browsing the file system is much smoother as it can use the cached structure. "Load to RAM" is part of the database settings and selects whether the database itself is loaded to RAM. If it's not loaded to RAM every time you access the database the database file on disk needs to get accessed, resulting in a disk access (and thus disk spinup).

lalittle:

--- Quote from: bluebrother on April 24, 2007, 06:53:39 PM ---
--- Quote from: lalittle on April 24, 2007, 06:50:34 PM ---Is this correct?
--- End quote ---
Yes.

Dircache caches the filesystem structure, so browsing the file system is much smoother as it can use the cached structure. "Load to RAM" is part of the database settings and selects whether the database itself is loaded to RAM. If it's not loaded to RAM every time you access the database the database file on disk needs to get accessed, resulting in a disk access (and thus disk spinup).

--- End quote ---

Thanks.

Does the "Directory Cache" setting have any effect if you have Rockbox set to browse by database?  In other words, is the "Directory Cache" setting still something to consider if you only browse by database, or is it moot in this case?

Thanks again,

Larry

Mad Cow:
If you never use the directory browser, then it is completely useless.

mikeage:
I thought Directory Cache helps Database scan for new (and deleted?) files

Navigation

[0] Message Index

[#] Next page

Go to full version