WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 158526
Increase disk cache capacity when there is lots of free space
https://bugs.webkit.org/show_bug.cgi?id=158526
Summary
Increase disk cache capacity when there is lots of free space
Antti Koivisto
Reported
2016-06-08 07:40:25 PDT
Our maximum disk cache capacity has been 175MB for very long time. Meanwhile the average resource size has grown massively. This is enough for cacheable resources of a few dozen sites at most. By using bigger caches when there is room for it can save battery and speed up page loading.
Attachments
patch
(3.00 KB, patch)
2016-06-08 07:55 PDT
,
Antti Koivisto
cdumez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2016-06-08 07:55:43 PDT
Created
attachment 280804
[details]
patch
Chris Dumez
Comment 2
2016-06-08 08:46:57 PDT
Comment on
attachment 280804
[details]
patch R=me
Radar WebKit Bug Importer
Comment 3
2016-06-08 12:32:58 PDT
<
rdar://problem/26703263
>
Alexey Proskuryakov
Comment 4
2016-06-08 13:47:35 PDT
Comment on
attachment 280804
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=280804&action=review
> Source/WebKit2/ChangeLog:15 > + >=16GB free: 175MB -> 500MB > + 8-16GB free: 150MB -> 250MB
Perhaps the heuristic should take into account the percentage of free space, not just the amount. At some point, it was recommended that no more than 75% of SSD should be used (
http://www.anandtech.com/show/6489/playing-with-op
). I don't have newer references, but I believe that consumer grade SSDs still work the same way.
Antti Koivisto
Comment 5
2016-06-09 01:40:45 PDT
https://trac.webkit.org/r201857
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug