Rockbox Technical Forums

Third Party => Unsupported Builds => Topic started by: duydangle on September 11, 2014, 12:56:45 PM

Title: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: duydangle on September 11, 2014, 12:56:45 PM
Hello,

I've just switched to an iPod 7g 160gb from iPod Video and I've just installed rockbox on it. But I found that in my Database Settings does not have "Load to RAM" option like in my iPod Video, as I understand that "Load to RAM" will make the database load faster and decrease the spins of the harddrive when using the database.

Is this on purpose? Can I fix by build rockbox by myself?

Thanks,
duydangle
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: [Saint] on September 11, 2014, 08:27:07 PM
I have only had a very brief look at this so far, so I can't really tell you too much about this other than:

 - You're quite right, this option is missing.
 - This isn't contained specifically to the iPod Classic.
   (But I wouldn't blame you for not being aware of that if that's the only target that you have available.)
 - It happened somewhere between the 3.13 release and now.
   (Which is a hilariously wide scope, but still useful to me or others to narrow this down at a later stage)
 - Attempting to re-enable the database RAM cache in git HEAD (the very tip of the development branch) code base results in quite a few errors on undefined references, eventually falling over completely somewhere in tagcache.c

It being disabled certainly looks deliberate, but I have to stress that I have only looked at this for approximately 2 or 3 minutes, so I really can't even guess as to the intention or motivation behind it. I can give it some more serious thought later this evening.


[Saint]
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: duydangle on September 11, 2014, 08:46:56 PM
If this changes applies to ipod video too so I think I will build rockbox for ipog6g from one of the sourcecode I got for build ipogvideo.

EDIT: I've just build from rockbox-223038d and the option is back.
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: saratoga on September 11, 2014, 09:05:16 PM
I believe it was removed in the recent file system rework.
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: duydangle on September 11, 2014, 10:49:49 PM
So will it be back in future builds?
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: elboulangero on March 22, 2015, 07:50:21 AM
Same thing for me, I switched to the GIT version of rockbox out of curiosity, and "Load to RAM" is gone.

Apparently the major filesystem rewrite was done in the commit 7d1a47cf13726c95ac46027156cc12dd9da5b855, so if you checkout rockbox one commit before this one, and compile, you should have a firmware with the "Load to RAM" feature I guess. Didn't try it though...
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: mckennascole on July 06, 2015, 03:46:11 PM
This feature was available when I first rockboxed in Jan14 but it is missing now...it was very handy
Title: Re: iPod Classic 6G/7G "Load to RAM" in Database Settings?
Post by: mark-1978 on August 07, 2015, 10:07:28 AM
think the newest version from june has the option build in to automatic on. The opening of the maps on the hdd is very rapid. Can't find the option in the settings menu though.

grtz