Re: [RFT] kvm with Windows optimization

Haydn Solomon
2007-10-26T01:14:54Z

[-- Attachment #1.1: Type: text/plain, Size: 1708 bytes --]

I've been running windows xp sp2 all day with acpi uniprocessor HAL and it's
noticeable much faster...blazing fast. I can imagine how much faster it will
be when -smp 2 works. Once it did hang up on me after installing an office
application and prompted for registration online. Other than that it's been
superb. I'll continue using it and look out for anything unusual. Thanks and
great piece of work.

On 10/25/07, Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> wrote:
>
> Avi Kivity wrote:
> > Anthony Liguori wrote:
> >>>
> >>>> static int mmu_topup_memory_caches(struct kvm_vcpu *vcpu)
> >>>> {
> >>>> int r;
> >>>>
> >>>> kvm_mmu_free_some_pages(vcpu);
> >>>> r = mmu_topup_memory_cache(&vcpu->mmu_pte_chain_cache,
> >>>> pte_chain_cache, 4);
> >>>> if (r)
> >>>> goto out;
> >>>> r = mmu_topup_memory_cache(&vcpu->mmu_rmap_desc_cache,
> >>>> rmap_desc_cache, 1);
> >>>> if (r)
> >>>> goto out;
> >>>> r = mmu_topup_memory_cache_page(&vcpu->mmu_page_cache, 8);
> >>>> if (r)
> >>>> goto out;
> >>>> r = mmu_topup_memory_cache(&vcpu->mmu_page_header_cache,
> >>>> mmu_page_header_cache, 4);
> >>>> out:
> >>>> return r;
> >>>> }
> >>>
> >>>
> >>> These are the (4, 1, 8, 4) values in the call to
> >>> mmu_topup_memory_cache. Perhaps one of them is too low.
> >>
> >> Sure. Would this be affected at all by your tpr patch?
>
> Using the following patch, I'm getting really good results. I'll keep
> running test cases tonight and see if I can trigger anything.
>
> Windows is *much* faster with your patch, very nice work!
>
> Regards,
>
> Anthony Liguori
>
>

[-- Attachment #1.2: Type: text/html, Size: 3075 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org