Open welly87 opened 2 years ago
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
grep -r __x86_64__ *
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
AERON_CPU_X64
AERON_CPU_ARM
check the performance with perf
sudo dnf install perf
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 abstractionso basically we just need to find
AERON_CPU_X64
andAERON_CPU_ARM
check the performance with perf