Closed Bug 963938 Opened 11 years ago Closed 6 years ago

Use RAM as media cache on gonk

Categories

(Core :: Audio/Video: Playback, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: sotaro, Unassigned)

Details

As a media cache, anonymous temporary file is used to a cache. In b2g, flash seems to be used for it. The flash could be a performance bottle neck. It might be better to have a choice to use RAM as a media cache on gonk if b2g phone has more RAM. Need to care about not to consume all RAMs on the phone. http://mxr.mozilla.org/mozilla-central/source/content/media/MediaCache.cpp#557
blocking-b2g: --- → 1.5?
I wrote a patch for this a few years ago, as an experiment. I can no longer find the patch, but if I recall correctly, the easy way to do this is to implement a new FileBlockCache that writes to memory instead of writing to disk.
Is this a regression or not? What's the user impact if this is not fixed?
Flags: needinfo?(sotaro.ikeda.g)
It is not necessary as 2.0. Clear "2.0?" flag. It could improve the http streaming performance, if a b2g device has a lot of RAM.
blocking-b2g: 2.0? → ---
Flags: needinfo?(sotaro.ikeda.g)
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity. Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.