Comment 8 for bug 743688

Revision history for this message
HRJ (harshad-rj) wrote :

I spent a day compiling a custom kernel with "transparent huge pages" enabled and set to "always" use mode (not madvise). I have been using the kernel for the last 24 hours without any trouble.

I find my laptop more responsive now. An informal test is that Stellarium's CPU utilisation was 45% in the stock kernel, while it went down to 30% in the custom kernel.

For a more formal test, we can use oprofile with these commands:

sudo opcontrol --init
sudo opcontrol --setup --event DTLB_MISSES:1000 --no-vmlinux
sudo opcontrol --start
[... run some benchmark here ...]
sudo opcontrol --stop
sudo opcontrol --dump
sudo opreport

I am able to run the above commands in both stock and custom kernels and see some numbers. But I need to properly define the benchmark before reporting the numbers.