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

rpk/transform/build: enable SIMD #16296

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

rockwotj
Copy link
Contributor

Both Rust + Tinygo use LLVM toolchains, enable the autovectorizer in
clang to generate SIMD instructions. It looks like the auto vectorizer
is able to recognize some of our record parsing loops and generate SIMD
instructions, so this likely will improve the SDK performance.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

Improvements

  • SIMD instructions are generated by default for WebAssembly binaries when building with rpk.

Both Rust + Tinygo use LLVM toolchains, enable the autovectorizer in
clang to generate SIMD instructions. It looks like the auto vectorizer
is able to recognize some of our record parsing loops and generate SIMD
instructions, so this likely will improve the SDK performance.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
@vbotbuildovich
Copy link
Collaborator

@vbotbuildovich
Copy link
Collaborator

new failures in https://buildkite.com/redpanda/redpanda/builds/44329#018d531b-36f1-4124-90e1-157cffd18f84:

"rptest.tests.partition_move_interruption_test.PartitionMoveInterruption.test_cancelling_partition_move.replication_factor=3.unclean_abort=False.recovery=restart_recovery.compacted=False"

@rockwotj rockwotj merged commit cf58780 into redpanda-data:dev Jan 31, 2024
24 checks passed
@rockwotj rockwotj deleted the wasm-simd branch January 31, 2024 19:31
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

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

Successfully merging this pull request may close these issues.

None yet

3 participants