Comment 9 for bug 1312199

Revision history for this message
Attila Fazekas (afazekas) wrote :

The bogomips on x86 is calculated from the lpj by simple formula (loops_per_jiffy/(500000/HZ)) and the bogomips value expected to be the same regardless to the host kernel HZ settings. The challenging part is the HZ might be non-default value on the guest kernel and it "cannot be know" unless the we add a HZ related image property to the aki image.
Would be better if the kernel would have 'loop per sec' or bogomips argument which is HZ independent. (Most system nowadays uses the NO_HZ options, which means HZ=1000)
If the kernel parameter meaning would be changed to lpj@1000HZ would be also helpful.

The kernel uses relatively big sample for lpj measurement and usually a relatively big 15% error is not fatal.
Higher then required lpj usually does not causes fatal issue, but it makes the system slower, the opposite can cause the system reads invalid data from a hardware register. Is it a real threat with an emulated hardware ?

I tried to alter the kernel parameters on the f20 image with guestfish, it is working on f20, but even with the instruction [1], it has issue on Ubuntu 12.04 [2](gate).

The guestfish approach without HW acceleration is not fast.
I will try to use a loop mount.

[1] http://libguestfs.org/guestfs-faq.1.html
[2] http://paste.openstack.org/show/81983/