Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  enable "load to ram" and "dircache"
« previous next »
  • Print
Pages: [1]

Author Topic: enable "load to ram" and "dircache"  (Read 2123 times)

Offline onkel_enno

  • Member
  • *
  • Posts: 21
enable "load to ram" and "dircache"
« on: January 21, 2008, 04:21:05 PM »
What do I have to patch, if I want these features to become available?

If I use the current build (for the Sansa) these options aren't available, but in Kugels build they are (for example) - is there any wiki where I can read about things like that

Thanks.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: enable "load to ram" and "dircache"
« Reply #1 on: January 21, 2008, 04:29:32 PM »
They don't make sense on a flash target. Both of them exist to counter disk spinup time, something the Sansa doesn't have to deal with. Why do you want them available?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: enable "load to ram" and "dircache"
« Reply #2 on: January 21, 2008, 05:12:52 PM »
Was there some weirdness with the database that was worked around by enabling them?  Or am I thinking of an old bug thats been fixed?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: enable "load to ram" and "dircache"
« Reply #3 on: January 21, 2008, 05:17:42 PM »
Database auto-update used to require one of them, if I recall, but I'm pretty sure this is no longer the case. It *may* be that detecting removed files still requires dircache, actually, but I'm not sure. That's part of why I was asking why he wanted it.
Logged

Offline onkel_enno

  • Member
  • *
  • Posts: 21
Re: enable "load to ram" and "dircache"
« Reply #4 on: January 22, 2008, 01:11:32 AM »
I thought there where some cases where you need these features, especially "Load to RAM" and all custom build I saw have it enabled, so I thought I ask how to do it.

I use the Database a lot and I wanted to test if I can increase the speed a little.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: enable "load to ram" and "dircache"
« Reply #5 on: January 22, 2008, 07:07:59 AM »
They actually create more problems on the Sansa, because of the nature of its removable storage.
Logged

Offline onkel_enno

  • Member
  • *
  • Posts: 21
Re: enable "load to ram" and "dircache"
« Reply #6 on: January 24, 2008, 02:15:46 AM »
OK, I trust you  ;)
Thanks

EDIT:
The Solution is to simply apply the dircache-patch FS7598
« Last Edit: January 29, 2008, 06:54:11 AM by onkel_enno »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  enable "load to ram" and "dircache"
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.