# Benchmark results In this file, you will be able to see examples of benchmark results. These are provided as indicative results. Depending on your configuration, you might get way differents results ## Tests environnement - Host OS: EndeavourOS x86_64 - Host kernel: Linux 6.19.10-arch1-1 - Host CPU: Ryzen 7 9800x3d @ 5.27 GHz - Environnement: VM running in qemu-system-x86_64 version 10.2.2 - VM parameters: KVM enabled, 4096M of RAM, cpu set to host, running in single thread The following tests are shown in the order the kernel run them. Please keep in mind that Pez isn't available until the Pez physical plane benchmark. ## Results for region objects slab allocators Physical regions object slab allocator: ``` Result for benchmark "allocations" : Min: 141 | Med: 235 | Avg: 2736 | Max: 3194120 | Total : 27362977 (TSC) [P00-P90] 141-282 : [##################--] 90% [P90-P99] 282-282 : [#-------------------] 9% [P99-Max] 282-3194120 : [--------------------] 1% Result for benchmark "deallocations" : Min: 94 | Med: 141 | Avg: 132 | Max: 376 | Total : 1320700 (TSC) [P00-P90] 94-141 : [##################--] 90% [P90-P99] 141-141 : [#-------------------] 9% [P99-Max] 141-376 : [--------------------] 1% ``` Virtual regions object slab allocator: ``` Result for benchmark "allocations" : Min: 141 | Med: 235 | Avg: 2781 | Max: 2840445 | Total : 27816339 (TSC) [P00-P90] 141-282 : [##################--] 90% [P90-P99] 282-329 : [#-------------------] 9% [P99-Max] 329-2840445 : [--------------------] 1% Result for benchmark "deallocations" : Min: 94 | Med: 141 | Avg: 130 | Max: 517 | Total : 1304109 (TSC) [P00-P90] 94-141 : [##################--] 90% [P90-P99] 141-141 : [#-------------------] 9% [P99-Max] 141-517 : [--------------------] 1% ``` ## Results for radix node slab allocator (PBA based) Radix node slab allocator (PBA based): ``` Result for benchmark "allocations" : Min: 141 | Med: 188 | Avg: 441 | Max: 534531 | Total : 4410339 (TSC) [P00-P90] 141-235 : [##################--] 90% [P90-P99] 235-282 : [#-------------------] 9% [P99-Max] 282-534531 : [--------------------] 1% Result for benchmark "deallocations" : Min: 94 | Med: 94 | Avg: 97 | Max: 329 | Total : 973370 (TSC) [P00-P90] 94-94 : [##################--] 90% [P90-P99] 94-141 : [#-------------------] 9% [P99-Max] 141-329 : [--------------------] 1% ``` ## Results for radix trees subsystem Radix trees subsystem: ``` Result for benchmark "insertions into radix trees" : Min: 2350 | Med: 3196 | Avg: 5194 | Max: 544448 | Total : 51944259 (TSC) [P00-P90] 2350-3666 : [##################--] 90% [P90-P99] 3666-134373 : [#-------------------] 9% [P99-Max] 134373-544448 : [--------------------] 1% Result for benchmark "reading into radix trees" : Min: 470 | Med: 517 | Avg: 553 | Max: 31631 | Total : 5537399 (TSC) [P00-P90] 470-564 : [##################--] 90% [P90-P99] 564-987 : [#-------------------] 9% [P99-Max] 987-31631 : [--------------------] 1% Result for benchmark "searching value with lower bound key" : Min: 423 | Med: 893 | Avg: 923 | Max: 30832 | Total : 9234184 (TSC) [P00-P90] 423-1128 : [##################--] 90% [P90-P99] 1128-1645 : [#-------------------] 9% [P99-Max] 1645-30832 : [--------------------] 1% Result for benchmark "deleting values" : Min: 1645 | Med: 1880 | Avg: 1888 | Max: 35203 | Total : 18889770 (TSC) [P00-P90] 1645-2021 : [##################--] 90% [P90-P99] 2021-2162 : [#-------------------] 9% [P99-Max] 2162-35203 : [--------------------] 1% ``` ## Results for Pez physical plane Pez physical plane: ``` Result for benchmark "allocations for single page" : Min: 1833 | Med: 2444 | Avg: 3496 | Max: 8225 | Total : 3496518 (TSC) [P00-P90] 1833-5922 : [##################--] 90% [P90-P99] 5922-6815 : [#-------------------] 9% [P99-Max] 6815-8225 : [--------------------] 1% Result for benchmark "free for single page" : Min: 1974 | Med: 2820 | Avg: 3807 | Max: 10105 | Total : 3807376 (TSC) [P00-P90] 1974-6862 : [##################--] 90% [P90-P99] 6862-8131 : [#-------------------] 9% [P99-Max] 8131-10105 : [--------------------] 1% Result for benchmark "allocations for multiple pages" : Min: 2209 | Med: 5593 | Avg: 5716 | Max: 35861 | Total : 5716798 (TSC) [P00-P90] 2209-7191 : [##################--] 90% [P90-P99] 7191-8178 : [#-------------------] 9% [P99-Max] 8178-35861 : [--------------------] 1% Result for benchmark "free for multiple pages" : Min: 1927 | Med: 4935 | Avg: 5095 | Max: 31772 | Total : 5095599 (TSC) [P00-P90] 1927-7896 : [##################--] 90% [P90-P99] 7896-10011 : [#-------------------] 9% [P99-Max] 10011-31772 : [--------------------] 1% ``` ## Results for malloc subsystem Malloc subsystem: ``` Result for benchmark "sh_malloc for small size" : Min: 188 | Med: 423 | Avg: 535 | Max: 380277 | Total : 5358752 (TSC) [P00-P90] 188-799 : [##################--] 90% [P90-P99] 799-1363 : [#-------------------] 9% [P99-Max] 1363-380277 : [--------------------] 1% Result for benchmark "sh_free for small size" : Min: 141 | Med: 329 | Avg: 403 | Max: 27401 | Total : 4039556 (TSC) [P00-P90] 141-658 : [##################--] 90% [P90-P99] 658-1128 : [#-------------------] 9% [P99-Max] 1128-27401 : [--------------------] 1% Result for benchmark "sh_malloc for pages allocations" : Min: 4935 | Med: 11468 | Avg: 11890 | Max: 47893 | Total : 11890013 (TSC) [P00-P90] 4935-16450 : [##################--] 90% [P90-P99] 16450-20257 : [#-------------------] 9% [P99-Max] 20257-47893 : [--------------------] 1% Result for benchmark "sh_free for pages allocations" : Min: 5593 | Med: 11421 | Avg: 12005 | Max: 50760 | Total : 12005398 (TSC) [P00-P90] 5593-17296 : [##################--] 90% [P90-P99] 17296-21432 : [#-------------------] 9% [P99-Max] 21432-50760 : [--------------------] 1% ```