Skip to content

luhsra/llfree-bench

Repository files navigation

Collection of benchmark scripts for LLFree

Related Projects

Usage

Before executing the benchmarks, you have to build the modified kernel and kernel modules and the allocator itself. The vm benchmarks also need an installed qemu disk image (e.g. debian 11.3.0).

The benchmark scripts can be executed with the max_power.sh script to disable powersaving:

./max_power.sh python3 module.py bulk repeat -c 8 -m 32 -o 0 1 2 3 4 5 6 7 8 9 10 --kernel ../llfree-linux/build-llfree-vm/arch/x86/boot/bzImage --module ../linux-alloc-bench/alloc.ko --suffix ll-o

With --help you can see all possible cli arguments.

The results are stored in ./module/<datatime>-ll-o/.

This assumes that you cloned and built the allocator module and that you built the llfree-linux kernel in ../llfree-linux/build-llfree-vm/arch/x86/boot/bzImage.

You might have to change these paths accordingly.

Benchmarks

  • allocator: Benchmarks LLFree on a virtual memory mapping in the userspace
  • frag: Fragmentation benchmark
  • memtier: Running the memtier benchmark and measuring its performance
  • module: Kernel module benchmarks (bulk/repeat/rand) and Kernel
  • size_counters: Running the memtier benchmark and counting the page allocations
  • write: Userspace write benchmark

Scripts ending with _vm execute the benchmarks on the customized kernel in a qemu kvm.

About

Collection of benchmark scripts for LLFree

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published