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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/743688

Title:
  Transparent HugePages not enabled in 11.04 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/743688/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to