investigate adding MOZ_MAKE_FLAGS=-jN to mozconfigs

RESOLVED FIXED

Status

Release Engineering
General
RESOLVED FIXED
9 years ago
4 years ago

People

(Reporter: ted, Assigned: catlee)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
I'm pretty sure that -jN (where N > 1) will be a net win on most of our tinderboxes. We should test this theory on the try server first.
what happened when you ran this on tryserver? Which -j"N" seemed best in a VM?
(Assignee)

Updated

9 years ago
Assignee: nobody → catlee
(Assignee)

Comment 2

9 years ago
Here are some results from try server:

        linux           mac             windows
-j1     1:09 (1)        1:10            
        0:54 (2)        1:10            1:53 (2)
        0:46 (3)                        1:44 (3)

-j4
        0:57 (1)        0:42            2:27 (1)
        0:55 (2)        0:42            1:34 (2)
        0:44 (3)        0:44            1:33 (3)

The number in parentheses is the slave number that ran the build.  There's only one mac slave doing try builds right now.  The make option was added by uploading a custom mozconfig to try server that had 'mk_add_options MOZ_MAKE_FLAGS="-jN"'.

These results show that -j4 is a win on mac and windows, and not much of a win on linux (but it doesn't hurt).  Interestingly the mac is already using -j4 on try server.
(Assignee)

Comment 3

9 years ago
Created attachment 350146 [details] [diff] [review]
Enable -j4 on staging
Attachment #350146 - Flags: review?(bhearsum)
Attachment #350146 - Flags: review?(bhearsum) → review+
Comment on attachment 350146 [details] [diff] [review]
Enable -j4 on staging

changeset:   541:a753975e2bb6
Attachment #350146 - Flags: checked‑in+
(Assignee)

Comment 5

9 years ago
We've been running with -j4 for a while in production now.  Closing this out.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.