Skip to content

Conversation

@plajjan
Copy link
Contributor

@plajjan plajjan commented Jun 16, 2023

By default, Acton optimizes for portability, so on Linux, the output binary targets GNU libc 2.27, which is rather old (~Ubuntu 18.04). It also only uses base features of the x86_64 CPU, so features like AVX512 or similar would not be used. By setting --target native, the output executable is instead optimized for the machine we are running on and can typically run much faster, sometimes up to 2x faster.

By default, Acton optimizes for portability, so on Linux, the output
binary targets GNU libc 2.27, which is rather old (~Ubuntu 18.04). It
also only uses base features of the x86_64 CPU, so features like AVX512
or similar would not be used. By setting --target native, the output
executable is instead optimized for the machine we are running on and
can typically run much faster, sometimes up to 2x faster.
@plajjan
Copy link
Contributor Author

plajjan commented Jul 14, 2023

Folded into #392. Closing.

@plajjan plajjan closed this Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant