Summary: | Network cache fetches should have timeout | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | barraclough, cdumez, cgarcia, commit-queue, kling, rniwa | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Antti Koivisto
2015-08-04 09:54:10 PDT
I am a little bit skeptical about this. Fetching from the network in general is very slow (outside simulated tests) and bad for battery life. Created attachment 258192 [details]
patch
(In reply to comment #1) > I am a little bit skeptical about this. Fetching from the network in general > is very slow (outside simulated tests) and bad for battery life. We have spintraces where system is crawling because heavy I/O load (generally systems with spinning disks). It is better to keep the browser functional. The timeout is very long (1s) should not get hit under any normal circumstances. Comment on attachment 258192 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=258192&action=review r=me At first I was skeptical. But 1 second timeout on disk read -- okay, we're pretty damn hosed. > Source/WebKit2/ChangeLog:10 > + This patch introduces 1s second timeout for disk reads. If the last dispatched cache read takes longer than that we cancel all "1s second timeout" http://trac.webkit.org/changeset/187958 (with 1.5s timeout) |