Re: [PATCH 00/18] KVM: PPC: Virtualize Gekko guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/17/2010 04:56 PM, Alexander Graf wrote:

So I changed to code according to your input by making all FPU calls explicit, getting rid of all binary patching.

On the PowerStation again I'm running this code (simplified to the important instructions) using kvmctl:

         li      r2, 0x1234
         std     r2, 0(r1)
         lfd     f3, 0(r1)
         lfd     f4, 0(r1)
do_mul:
         fmul    f0, f3, f4
         b       do_mul


With the following kvm_stat output:

  dec                       2236      53
  exits                 60797802 1171403
  ext_intr                   379       4
  halt_wakeup                  0       0
  inst_emu              60795247 1171344
  ld                    60795132 1171348

So I'm getting 1171403 fmul operations per second. And that's even with non-optimized instruction fetching. Not bad.

It's a large number, but won't real hardware be three orders of magnitude faster?

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux