Dmitry Konstantinov created CASSANDRA-20310:
-----------------------------------------------

             Summary: Analyze page faults for jmalloc allocated memory
                 Key: CASSANDRA-20310
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20310
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Local/Memtable
            Reporter: Dmitry Konstantinov
            Assignee: Dmitry Konstantinov
         Attachments: image-2025-02-09-10-37-20-057.png, 
image-2025-02-09-10-37-37-196.png

While assessing another performance question I have noticed suspicious minor 
page fault reported in async profiler cpu profile for access to native memory 
in NativeCell and NativeClustering:
!image-2025-02-09-10-37-20-057.png|width=300! 
!image-2025-02-09-10-37-37-196.png|width=300!

It makes sense to check how jmalloc reuses memory in case of memtables 
consumption pattern and maybe to play with dirty_decay_ms/muzzy_decay_ms values 
to reduce page faults rate..

Related links:
[https://github.com/jemalloc/jemalloc/wiki/getting-started]
[https://github.com/jemalloc/jemalloc/blob/dev/TUNING.md]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to