Re: [PATCH 2/5] KVM: Implement CR read caching for KVM paravirt_ops

Anthony Liguori
2007-06-18T12:26:27Z

Avi Kivity wrote:
> Anthony Liguori wrote:
>> With hardware virtualization, CR reads often times require a VMEXIT
>> which is
>> rather expensive. Instead of reading CR and taking the VMEXIT,
>> maintain a
>> copy of each CR and return that on CR reads.
>>
>
> Looks good. Any measurable performance impact?

I'm having trouble with virtbench on the latest versions of KVM so I've
been running kernbench. I don't have specific numbers for this one but
I'll get some today.

Regards,

Anthony Liguori