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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Paging file in rockbox?
« previous next »
  • Print
Pages: [1]

Author Topic: Paging file in rockbox?  (Read 1384 times)

zajacattack

  • Guest
Paging file in rockbox?
« on: March 07, 2008, 11:35:24 PM »
Not sure if this is totally crazy, but would rockbox benefit from using a paging file on the hard disk (or flash memory, depends on player) that serves as extra memory? Or would this be more of a pain that a gain? If so, why?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Paging file in rockbox?
« Reply #1 on: March 07, 2008, 11:42:17 PM »
Something like 80% of the RAM in the player is simply used to buffer audio. This is to prevent spinning the disk up and down repeatedly.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Paging file in rockbox?
« Reply #2 on: March 08, 2008, 12:43:34 AM »
Paging requires a memory management unit, and most targets don't have that.

If paging was used actively, the hard drive accesses would spin up the hard drive a lot and use a lot of power.

What might make sense instead is if Rockbox had various modules which were loaded from disk.  For example, there might be recording, settings, playlist editor and playback modules which are loaded when needed.  However, like Llorean says, there is plenty of RAM, so this probably wouldn't be worth it.  Even on HWCODEC targets with 2 megs you probably wouldn't gain much.

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Paging file in rockbox?
 

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

Page created in 0.063 seconds with 15 queries.