Skip to content
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

publish images with microarch levels #3340

Open
sozercan opened this issue Mar 28, 2024 · 0 comments
Open

publish images with microarch levels #3340

sozercan opened this issue Mar 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sozercan
Copy link
Member

sozercan commented Mar 28, 2024

Describe the solution you'd like
docker allows us to build and publish images that can target specific microarch levels, such as linux/amd64/v2, and linux/amd64/v3. these align with https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels

today, we publish with linux/amd64 which might be leaving perf on the table

first, we should measure if there is any perf impact using optimized builds. we already have benchmarks so we can run those.
if there are meaningful benefits, publish images with diff arch levels. runtime should auto feature detect and pick the suitable one so this should be invisible to users, while they get the benefit of increased perf

Anything else you would like to add:
GOAMD64: https://tip.golang.org/wiki/MinimumRequirements#amd64

Environment:

  • Gatekeeper version:
  • Kubernetes version: (use kubectl version):
@sozercan sozercan added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant