Open Bug 2083370 Opened 1 month ago Updated 18 days ago

macOS Speedometer tests now spend half their runtime downloading symbols

Categories

(Testing :: Performance, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(2 files, 4 obsolete files)

Now that bug 2056689 is fixed, another bottleneck has become apparent.

Our Mac sp3 jobs currently take 7min, at least the ones that are kicked off on autoland in groups of 12 (example push).

Of those 7min, the first 3-4min are spent downloading symbols. Then we spend 3min running the test.
See the attachment for a visualization of task RByCfoiUTja3uBLzBxMqbg, from the example push.

We download symbols because the sp3 jobs do a profiling run at the end, so we always need symbols to symbolicate these profiles.

The main problem is that we kick 12 sp3 tasks off at the same time and they all download the same 1GB file into our Mac datacenter, probably saturating the connection.
If we only kicked off 6 tasks instead of 12, each of those 6 tasks would probably take 5min instead of 7min because the download would complete 1.5-2min faster.

Or maybe we can put a cache that's local to that datacenter in front.

We should also reduce the size of the download:

  1. Removing gtest-only symbols (and putting them in a separate artifact) should cut the zip roughly in half.
  2. For macOS tests on shippable builds, we currently download symbols for the universal build, i.e. the zip contains both x86_64 and aarch64 symbols. Our test jobs could instead download the per-arch build's symbols instead. This would cut the download in half again.

So after both of these changes, the zip file we download would only contain one XUL.sym file rather than four or two (four on Mac, two on non-Mac).

Attachment #9663942 - Attachment is obsolete: true
Attached file fetch visualizer —

(works for any task)

Depends on: 2083996
Depends on: 2084276

The severity field is not set for this bug.
:fbilt, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(fbilt)
Severity: -- → S3
Flags: needinfo?(fbilt)
Priority: -- → P3
Whiteboard: [fxp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: