Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use of DIrty NIF Flag impacts performance #1

Open
martinsumner opened this issue Jan 12, 2024 · 0 comments
Open

Use of DIrty NIF Flag impacts performance #1

martinsumner opened this issue Jan 12, 2024 · 0 comments

Comments

@martinsumner
Copy link

On OSX, OTP 22. running leveled perf_SUITE/riak_fullperf test

With Dirty NIF Flag:

Outputs from profiling with KeyCount 2000000 ObjSize 2048 Compression {zstd,as_store}:
TotalLoadTime - 295396 ms
TotalHeadTime - 60076 ms
TotalGetTime - 68213 ms
TotalQueryTime - 7666 ms
TotalMiniQueryTime - 12279 ms
TotalFullFoldTime - 54853 ms
TotalAAEFoldTime - 5013 ms
TotalUpdateTime - 16047 ms
Disk space required for test - 5.4G
...

Without Dirty NIF flag:

Outputs from profiling with KeyCount 2000000 ObjSize 2048 Compression {zstd,as_store}:
TotalLoadTime - 241460 ms
TotalHeadTime - 46246 ms
TotalGetTime - 56476 ms
TotalQueryTime - 6734 ms
TotalMiniQueryTime - 11715 ms
TotalFullFoldTime - 54211 ms
TotalAAEFoldTime - 4361 ms
TotalUpdateTime - 11543 ms
Disk space required for test - 5.5G
...

Similar delta in results when testing with OTP 26.1.2

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

No branches or pull requests

1 participant