Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15313 )
Change subject: KUDU-3063: Set a ratio as multiplication factor for memkind_malloc_usable_size ...................................................................... KUDU-3063: Set a ratio as multiplication factor for memkind_malloc_usable_size Due to memkind fragmentation issues, evictions will not happen in NVM lru cache. The charge of items in nvm cache calculated by memkind_malloc_usable_size will never exceed the capacity. The fragmentation can be estimated by https://github.com/memkind/memkind/blob/master/test/fragmentation_benchmark_pmem.cpp Change-Id: Iceb1931f5addbf76774854ca1613b6a085b577e3 Reviewed-on: http://gerrit.cloudera.org:8080/15313 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/util/nvm_cache.cc 1 file changed, 30 insertions(+), 1 deletion(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/15313 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Iceb1931f5addbf76774854ca1613b6a085b577e3 Gerrit-Change-Number: 15313 Gerrit-PatchSet: 8 Gerrit-Owner: ye yuqiang <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: ye yuqiang <[email protected]>
