Closed Bug 1506875 Opened 7 years ago Closed 7 years ago

Lots of missing cpu core counts in telemetry

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: ted)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We use psutil to get cpu core count and memory information: https://searchfox.org/mozilla-central/rev/7f7c353e969e61a6a85201cc8ad3c3de12ac30d8/python/mozbuild/mozbuild/telemetry.py#176-189 We'd expect psutil to be unavailable occasionally, like for the first build on a clean tree on Linux/Mac, since the extension needs its C library to get built, and that happens during virtualenv creation. However, it looks like we're getting *a lot* of telemetry data that's missing this info: https://sql.telemetry.mozilla.org/queries/60060/source#155165 Looks like nearly 30% of unique (client_id, physical_cores) records are missing the cores info. I ran another query just to look at the data and some of it is on Windows as well, which I would not have expected: https://sql.telemetry.mozilla.org/queries/60060/source#155164

In bug 1518842 I realized that my patch from bug 1481612 landed incorrectly so the vendored psutil hasn't been usable on Windows at all. :-(

Depends on: 1518842

I wanted to look at the impact of bug 1518842 on this, so I figured out how to write a query to compare missing vs. present CPU core counts for Windows clients over time:
https://sql.telemetry.mozilla.org/queries/60870#157048

Attached is the graph output from running this query today. It looks like fixing that bug will essentially fix this issue, but I'll double-check in a few days when that patch has made it to more users' repos.

I took a cursory look at other operating systems by editing the query to change the OS and the number of submissions with missing data on linux/macos is extremely low, so I don't think it's a big issue.

Refreshing that query today shows that for today's submissions so far the number with core counts is greater than the number without, so things are trending in the right direction. I'm going to call this FIXED.

Assignee: nobody → ted
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: