Skip to content

Use of DIrty NIF Flag impacts performance #1

@martinsumner

Description

@martinsumner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions