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

replacing x86 optimization for graviton #1

Open
welly87 opened this issue Aug 11, 2022 · 0 comments
Open

replacing x86 optimization for graviton #1

welly87 opened this issue Aug 11, 2022 · 0 comments

Comments

@welly87
Copy link
Owner

welly87 commented Aug 11, 2022

based on graviton optimization docs

i try to find the spesific code with grep -r __x86_64__ *. seems that the team isolate that into their own flag. which is great one for abstraction

aeron-client/src/main/c/util/aeron_platform.h:    #if defined(__x86_64__)
aeron-client/src/main/cpp/util/Platform.h:    #if defined(__x86_64__)
aeron-client/src/main/cpp_wrapper/util/Platform.h:    #if defined(__x86_64__)

so basically we just need to find AERON_CPU_X64 and AERON_CPU_ARM

check the performance with perf

sudo dnf install perf
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

No branches or pull requests

1 participant