Open
Bug 813715
Opened 12 years ago
Updated 2 years ago
Throttle bandwidth for highly parallel objects
Categories
(Core :: Networking: HTTP, defect, P3)
Tracking
()
NEW
People
(Reporter: mcmanus, Unassigned)
References
Details
(Whiteboard: [necko-backlog])
Attachments
(1 file)
2.22 MB,
application/octet-stream
|
Details |
I'll attach a packet capture that shows firefox enagaged in dozens (~90) of parallel sessions due to hostname sharding and the server responding with very aggressive TCP behavior on each of them (IW10).
This leads to losses, retransmissions, and 500ms of queuing induced link delays.
Generally we want to allow such high levels of parallelism because they are used to fight against high latency when dealing with small objects. Its the big objects and the IW10 configuration that get us into trouble here.
I hypothesize that when we start to do a large amount of parallelism we restrict our announced TCP receive window so as to effectively disallow IW10. That will still give us good latency on these highly parallel connections but throttle back the bandwidth and avoid over saturation. In the case of images that should still bring back the layout information quickly, which is great. As the active parallelism is reduced the window can be increased.
Low amounts of parallelism could just use normal OS auto tuning...
I don't yet know what the thresholds for low-vs-high are.
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Summary: Manage total active rwin → Throttle bandwidth for highly parallel objects
Reporter | ||
Comment 2•12 years ago
|
||
There are significant variances in support for the necessary rwin management primatives between platforms.. I detailed most of that here:
http://bitsup.blogspot.com/2012/12/managing-bandwidth-priorities-in.html
Even given those differences, there is a reasonable strategy to at least try that would apply to win >= vista and os x.. notably that leaves XP and Linux/Android out.
Reporter | ||
Updated•9 years ago
|
Assignee: mcmanus → nobody
Whiteboard: [necko-backlog]
Comment 3•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 4•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•