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

Provide a native build for Apple M1 architecture #3269

Open
shaomeng opened this issue Nov 1, 2022 · 4 comments
Open

Provide a native build for Apple M1 architecture #3269

shaomeng opened this issue Nov 1, 2022 · 4 comments

Comments

@shaomeng
Copy link
Contributor

shaomeng commented Nov 1, 2022

The current Apple M1 installer is still targeting the X86 architecture. Relying on Apple's virtualization/instruction translation technology must have a pretty big performance hit. Providing a native build targeting the M1 architecture must bring a pretty significant performance boost.

Note: I don't have concrete numbers on how big the actual performance difference is. It'd be interesting to use an existing software with both X86 and M1 builds to quantify the performance difference.

@shaomeng
Copy link
Contributor Author

A runtime comparison using a command-line utility SPERR. The same software is compiled on both x86 and Arm64 macbooks, and the runtime is collected on an M1 macbook. Runtime comparison with a series of lossy compression error tolerance levels is in the following graph. It shows that the performance difference is in the 20% to 35% range.

Runtime Comparison on Apple M1 System

The raw numbers are kept in this google sheet.

@sgpearse
Copy link
Collaborator

@shaomeng Is CPU based data compression the right metric to be comparing? As @StasJ mentioned, our data processing mostly happens on the GPU, which is CPU agnostic.

@shaomeng
Copy link
Contributor Author

shaomeng commented Nov 29, 2022

@shaomeng Is CPU based data compression the right metric to be comparing?

Not sure. This is the best data point I have right now.

@shaomeng
Copy link
Contributor Author

I'm not sure if the current offering of M1 build is native or not. @sgpearse can help clarify, and close the issue if it's already native M1 build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants