Necko/Cache/Plans: Difference between revisions

From MozillaWiki
< Necko‎ | Cache
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
This page is a WIP.
== Stage 1: Locking / Initialization Performance / Asynchronicity ==


== Locking / Initialization Performance / Asynchronicity ==
=== Open ===
* {{bug|701909}}
 
* {{bug|716293}}
* {{bug|717761}} - Main thread can be blocked by IO on the cache thread
* {{bug|716172}}
* {{bug|701909}} - Disk cache seems to cause exceptionally slow startups(1min+)
* {{bug|717761}}
* {{bug|722034}}
* {{bug|723362}} - Make nsCacheEntryDescriptor::Doom asynchronous
* {{bug|723362}} - Make nsCacheEntryDescriptor::Doom asynchronous
* {{bug|695399}} - Remove synchronous cache API (nsICacheSession::openCacheEntry)
=== Closed ===
* {{bug|716293}} - IO on the main thread caused by nsDiskCacheOutputStream::Close()
* {{bug|722034}} - Cache entry check--CheckCache()--is done on the main thread, causing the main thread to wait on the cache service lock, which may be blocked on disk I/O
* {{bug|722033}} - Remove calls to synchronous openCacheEntry in nsHttpChannel
* {{bug|722033}} - Remove calls to synchronous openCacheEntry in nsHttpChannel
* {{bug|695399}} - Remove synchronous cache API (nsICacheSession::openCacheEntry)


== Versioning / Upgrade Safety ==
== Stage 2: Versioning / Upgrade Safety ==
* {{bug|715752}}
 
=== Open ===
 
* {{bug|715752}} - Put the cache entry format version number in each cache entry so we can change the format of cache entries without blowing away the entire cache each time we do so
 
=== Closed ===
 
== Stage 3: On-Disk Layout Changes ==
 
=== Open ===


== On-Disk Layout Changes ==
* {{bug|105843}} - Cache lost if Mozilla crashes
=== Crash Recovery ===
* {{bug|715714}} - Adapt cache based on io rates
* {{bug|105843}}
=== Layout Optimization ===
* {{bug|715714}}


== Miscellaneous Concerns ==
=== Closed ===
* {{bug|648605}} (eviction strategy)
* {{bug|578541}} (priority levels)

Revision as of 13:56, 5 June 2012

Stage 1: Locking / Initialization Performance / Asynchronicity

Open

  • bug 717761 - Main thread can be blocked by IO on the cache thread
  • bug 701909 - Disk cache seems to cause exceptionally slow startups(1min+)
  • bug 723362 - Make nsCacheEntryDescriptor::Doom asynchronous
  • bug 695399 - Remove synchronous cache API (nsICacheSession::openCacheEntry)

Closed

  • bug 716293 - IO on the main thread caused by nsDiskCacheOutputStream::Close()
  • bug 722034 - Cache entry check--CheckCache()--is done on the main thread, causing the main thread to wait on the cache service lock, which may be blocked on disk I/O
  • bug 722033 - Remove calls to synchronous openCacheEntry in nsHttpChannel

Stage 2: Versioning / Upgrade Safety

Open

  • bug 715752 - Put the cache entry format version number in each cache entry so we can change the format of cache entries without blowing away the entire cache each time we do so

Closed

Stage 3: On-Disk Layout Changes

Open

Closed