[Webkit-unassigned] [Bug 259371] New: Use mapped files in CacheStorageDiskStore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 20 15:13:33 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259371

            Bug ID: 259371
           Summary: Use mapped files in CacheStorageDiskStore
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Website Storage
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nham at apple.com
                CC: sihui_liu at apple.com

Currently CacheStorageDiskStore reads entire files into dirty memory. When many DOMCache operations in flight, this can lead to an temporary explosion in NetworkProcess memory usage (in the gigabytes of footprint).

To fix this issue, we should explore using read-only mapped files in CacheStorageDiskStore instead, as we do with the regular network cache. This trades dirty footprint for higher vnode usage. But presumably that's okay as the number of vnodes that would be consumed by DOMCache should be much lower than the number of vnodes used by NetworkCache.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230720/d01eb787/attachment-0001.htm>


More information about the webkit-unassigned mailing list