Re: [PATCH 8/13] KVM: vcpu execution loop

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

 



On 10/23/06, Avi Kivity <[email protected]> wrote:
Antonio Vargas wrote:
>>
>> I could do that, but I feel that's more brittle.  I might need more (or
>> other) fields later on.  It will also cost me more  pushes on the stack
>> (no real performance or space impact, just C64-era frugality).
>
> maybe thats the mindsent needed to make these virtual cpu patches
> without eating away all the cpu power with more than needed
> abstractions ;)
>

Unfortunately not.  Saving a cycle or two doesn't help when a vm exit
costs thousands of cycles, and worse, kills your tlb.

The key is eliminating unnecessary exits.  I have plans for massively
optimizing the mmu virtualization, and the next AMD core will do that in
hardware (look for a "nested page tables" sticker before you buy).

yes, when I read the nested pages description in amd docs, i wondered
that the intel had nothing like that and would go much slower... amd
has worked a lot on the mmu things (like cr3-keyed tlb on k8 systems
to avoid emptying always at switch)

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.




--
Greetz, Antonio Vargas aka winden of network

http://network.amigascne.org/
[email protected]
[email protected]

Every day, every year
you have to work
you have to study
you have to scene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux