From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: faster boot with -no-kvm?
Date: Thu, 12 Apr 2007 17:35:19 +0300 [thread overview]
Message-ID: <461E43A7.8050307@qumranet.com> (raw)
In-Reply-To: <87ejmpy8fb.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
David Abrahams wrote:
> on Thu Apr 12 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
>
>
>> David Abrahams wrote:
>>
>>> When I start my Windows VM with -no-kvm, it seems to boot much more
>>> quickly than without.
>>>
>> You probably have acpi enabled in Windows. This causes massive
>> slowdowns in kvm; the real fix will unfortunately require you to upgrade
>> your hardware.
>>
>
> My physical hardware? Which part?
>
The part that currently doesn't virtualize the apic tpr: the cpu.
It happens that Windows in acpi mode likes to bang on this register
quite a lot, and that the penalty for accessing this register is several
microseconds (instead of nanoseconds). Most of the time in a (virtual)
Windows boot is spent on reading and writing this register.
> Is starting the vm with -no-acpi insufficient? I just realized, I
> haven't been doing that.
>
It won't help if Windows wants acpi, I think.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-04-12 14:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-12 13:25 faster boot with -no-kvm? David Abrahams
[not found] ` <87veg1ybb0.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-12 13:48 ` Dor Laor
2007-04-12 14:35 ` David Abrahams
2007-04-12 13:56 ` Avi Kivity
2007-04-12 14:27 ` David Abrahams
[not found] ` <87ejmpy8fb.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-12 14:35 ` Avi Kivity [this message]
2007-04-12 14:54 ` David Abrahams
[not found] ` <87odltwsly.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-12 14:57 ` Avi Kivity
2007-05-05 16:31 ` David Abrahams
[not found] ` <87d51f6xm7.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
2007-05-06 7:55 ` Avi Kivity
2007-05-06 7:57 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461E43A7.8050307@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox