Closed Bug 2025056 Opened 8 months ago Closed 7 months ago

Cloning Firefox repo very slow in the bugbug worker

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Assigned: jcristau)

References

Details

Attachments

(1 file)

Attached file bugbug_boot.txt —

Cloning the firefox repo in the bugbug worker takes a really long time. Is there anything we can do to make it faster?

What is the IO stack on the bugbug worker? Is it cloning onto a local ssd or a remote disk? From the logs the operations that are silly slow are most likely IO bound.

Flags: needinfo?(mcastelluccio)

We are using a local SSD: https://github.com/mozilla/webservices-infra/pull/8471.
It used to be faster once we enabled the local SSD, but it's now very slow again.

Flags: needinfo?(mcastelluccio)

Where do you ensure the clone is actually on that local ssd? bugbug seems to be cloning to /tmp/bugbug-hg, which is not on the volume (mounted at /code), so you probably need to be setting BUGBUG_REPO_DIR somehow?

Flags: needinfo?(mcastelluccio)

Steve, could we map all of "/" on the SSD?

Flags: needinfo?(mcastelluccio) → needinfo?(sprokopienko)

Not feasible, we should instead make bugbug clone in /code

Flags: needinfo?(sprokopienko)
Assignee: nobody → jcristau
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: