From 7414a51d1e4f50f1d95e600e572087f5d85d1296 Mon Sep 17 00:00:00 2001 From: Akilan Date: Thu, 14 Aug 2025 13:09:08 +0100 Subject: [PATCH] test whole program --- benchmarks/benchmarks/StressTestMalloc/memaccesstest.c | 2 +- benchmarks/benchmarks/StressTestMalloc/memaccesstest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/benchmarks/StressTestMalloc/memaccesstest.c b/benchmarks/benchmarks/StressTestMalloc/memaccesstest.c index aa0b219..705105b 100644 --- a/benchmarks/benchmarks/StressTestMalloc/memaccesstest.c +++ b/benchmarks/benchmarks/StressTestMalloc/memaccesstest.c @@ -316,7 +316,7 @@ printf("Elapsed build get here before ll: %f seconds\n", (double)(toc - tic) / C tdata->root=root; tdata->working_set_size=working_set_size; clock_t tic2 = clock(); - for (int i = 0; i < 2000; i++) { + for (int i = 0; i < 4000; i++) { walk((void*)tdata); } clock_t toc2 = clock(); diff --git a/benchmarks/benchmarks/StressTestMalloc/memaccesstest.sh b/benchmarks/benchmarks/StressTestMalloc/memaccesstest.sh index 38e6ff4..d3f5d78 100644 --- a/benchmarks/benchmarks/StressTestMalloc/memaccesstest.sh +++ b/benchmarks/benchmarks/StressTestMalloc/memaccesstest.sh @@ -2,4 +2,4 @@ # LD_PRELOAD=./libjemalloc.so time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-cheri-8000.stat ./memaccesstest.out # LD_PRELOAD=./regularjemalloc.so time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-regular-8000.stat ./memaccesstest.out -time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-huge-alloc-2000.stat ./memaccesstest.out \ No newline at end of file +time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-huge-alloc-4000.stat ./memaccesstest.out \ No newline at end of file