Closed
Bug 1289225
Opened 8 years ago
Closed 8 years ago
Create tasks with parallelism of 50
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla50
People
(Reporter: dustin, Assigned: dustin)
References
Details
Attachments
(1 file)
The decision task creates a *lot* of tasks. Within the queue service, each createTask is slow because the Azure table storage it uses as a backend is slow. But concurrency should help!
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/66912/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/66912/
Attachment #8774488 -
Flags: review?(jopsen)
Attachment #8774488 -
Flags: review?(gps)
Comment 2•8 years ago
|
||
Comment on attachment 8774488 [details] Bug 1289225: increase createTask concurrency; https://reviewboard.mozilla.org/r/66912/#review63744
Attachment #8774488 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•8 years ago
|
||
[34m 0:17.71(B[m Starting new HTTP connection (46): taskcluster [34m 0:17.72(B[m Starting new HTTP connection (50): taskcluster [34m 0:17.71(B[m Starting new HTTP connection (48): taskcluster [34m 0:17.71(B[m Starting new HTTP connection (49): taskcluster [34m 0:17.71(B[m Starting new HTTP connection (47): taskcluster looks promising.. and only 8 seconds to create all of the tasks.
Comment 4•8 years ago
|
||
Nice. When I initially implemented the thread pool for concurrent upload, I thought the concurrency would be limited by availability of the task in the graph (we can only upload a task once its dependencies are uploaded). I guess we don't have enough long chains in the graph for this to be an issue. Quick thing to verify: we don't actually establish a TCP connection unless it is needed, right? I'd hate to spawn 50 TCP connections and only use 5. (I /think/ I verified this before. But we may want to check again to be sure because 50 is a lot of connections!)
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8774488 [details] Bug 1289225: increase createTask concurrency; Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66912/diff/1-2/
Comment 6•8 years ago
|
||
Comment on attachment 8774488 [details] Bug 1289225: increase createTask concurrency; https://reviewboard.mozilla.org/r/66912/#review63844 Yay...
Attachment #8774488 -
Flags: review?(jopsen) → review+
Comment 7•8 years ago
|
||
> we don't actually establish a TCP connection unless it is needed, right?
50 is the number of threads. TCP connection establishment and keep-alive is probably abstracted
far away inside the requests library :)
Pushed by dmitchell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9baa784f40f4 increase createTask concurrency; r=gps,jonasfj
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9baa784f40f4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•6 years ago
|
Product: TaskCluster → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•