-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/telemetry: cmd/go: report maximum support micro architecture by the host of the compiler #65627
Comments
Thanks for filing this issue, our first telemetry proposal outside the telemetry team (!). In the future, we hope people will fill out the telemetry proposal template, though I know that the process needs documentation, so let's start with what you've provided. I think one missing piece of information (for me, a naive observer) is the set of unique counters that would be collected. We don't need to decide on the exact format now, but suppose the schema is something like |
That a good question, ideally I would want all the best supported However a glance at https://telemetry.go.dev/ suggest only amd64 and arm64 are used in any significant number in the wild. So it is probable that the values for I don't really see value in tracking
TL;DR: I don't exactly know the telemetry syntax, but I guess most peoples don't even know |
Proposal Details
More and more architectures are gaining sub-architecture levels under
${GO${GOARCH^^}}
variables.Often higher levels add new instructions and tweak semantics which allows the compiler to emit better code (which would be incompatible with previous cpus).
It would be nice to know what CPUs should be targeted. For example if we discover that
40%
of cpus supportamd64 v4
considering avx512 routines would be useful.The main issue with this approach is that the cpu compiling and the cpu running code aren't the same. However I don't think anyone (including me) want to collect telemetry from end binaries.
The text was updated successfully, but these errors were encountered: