Closed
Bug 963938
Opened 11 years ago
Closed 6 years ago
Use RAM as media cache on gonk
Categories
(Core :: Audio/Video: Playback, defect)
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
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → 1.5?
Comment 1•11 years ago
|
||
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.
Comment 2•11 years ago
|
||
Is this a regression or not? What's the user impact if this is not fixed?
Flags: needinfo?(sotaro.ikeda.g)
Reporter | ||
Comment 3•11 years ago
|
||
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)
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 4•6 years ago
|
||
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.
Description
•