Closed
Bug 545334
Opened 14 years ago
Closed 14 years ago
4k size buffer is very small and makes page loading/files downloading noticeable slower
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta1+ |
People
(Reporter: romaxa, Assigned: dougt)
Details
(Keywords: perf)
Attachments
(2 files, 2 obsolete files)
358 bytes,
text/plain
|
Details | |
564 bytes,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
We did some measurements on Maemo devices with different NECKO buffers size, SMALL 2k, normal 4k and increased(16k). And found that with 16k buffers we have less SYS-CPU load (kernel/drivers). It is easy to check even with wget, that downloading with small buffer size (2-4k) make CPU load higher that with 16k
Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Attachment #426171 -
Flags: review?(jduell.mcbugs)
Reporter | ||
Comment 2•14 years ago
|
||
Assignee | ||
Comment 3•14 years ago
|
||
we probably can just completely remove the necko small buffers stuff. No one uses it (or should given this new data). What is the ideal values here? Can we run different values through tp4?
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 426171 [details] [diff] [review] netwerk buffer size fix need data.
Attachment #426171 -
Flags: review?(jduell.mcbugs) → review-
Assignee | ||
Comment 5•14 years ago
|
||
i'll clean up the code, and get some data.
Assignee: nobody → mozbugz
Assignee | ||
Comment 6•14 years ago
|
||
filed: https://bugzilla.mozilla.org/show_bug.cgi?id=545869
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 8•14 years ago
|
||
Alfred suggested that we keep this bug open for the FF preferences that would change the buffer size and segment count
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 9•14 years ago
|
||
I tested some builds using different buffer sizes and segment counts. It looks likes 24 buffers of 32k should be the default used in necko. What is more interesting is that CPU usage is much less than the other runs.
Attachment #426171 -
Attachment is obsolete: true
Attachment #426172 -
Attachment is obsolete: true
Assignee | ||
Comment 10•14 years ago
|
||
Attachment #445731 -
Flags: review?(jst)
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
Attachment #445731 -
Flags: review?(jst) → review+
Comment 11•14 years ago
|
||
Seems like a worthy thing to do for 1.9.3, given the performance improvements.
blocking2.0: ? → beta1+
Assignee | ||
Comment 12•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a8c70cdbf50b will close if this needs to be backed out for tests.
Assignee | ||
Comment 13•14 years ago
|
||
sad... we don't run tp4_%cpu on linux against mc; only on try. worse, perftastic isn't showing anything conclusive on WINNT5.1 for tp4(cpu%). Either way, it didn't hurt anything making this change. Marking fixed. I filed a bug 567304 to get tp4_%cpu run on linux.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•