Exercise 9-3: Rebuilding Your Kernel

Exercise 3, Chapter 9 – Rebuilding your Kernel

The Kali kernel is built in a “one size fits all” philosophy, to be able to support the largest base of hardware possible.
1. Install a performance measurement tool like likwid and fire off a quick likwid-bench benchmark.
2. Install graysky2’s “Kernel GCC patch” to optimize your kernel for your exact CPU model.
3. Recompile this kernel once you have added the patch and selected your CPU model type.