From: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
To: Avi Kivity <avi@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>,
kvm@vger.kernel.org, pavel.miklik@linuxbox.cz,
lukas.deseyve@linuxbox.cz
Subject: Re: KVM got slow after adding more physical memory to host - SOLVED
Date: Tue, 6 Sep 2011 21:22:35 +0200 [thread overview]
Message-ID: <20110906192235.GA2293@nik-comp.lan> (raw)
In-Reply-To: <4E6651FB.3050208@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2522 bytes --]
Hello guys,
thanks to both of You for Your replies. The problem is solved,
exactly as Avi said, the DMA in windows got somehow disabled.
So this certainly was not related to adding the memory...
anyways, note for further generations:
in windows XP, the DMA usage can be checked in
Device Manager->IDE ATA/ATAPI Controllers -> Properties->Advanced Settings
Current Transfer Mode must be Multi-Word DMA2 or something similar,
NOT PIO!
The way I enabled this, was to uninstall both primary and secondary controller
in device controller, then also uninstall Intel controller, and THEN rebooting (NOT sooner!)
after reboot, controllers got detected and installed again, with DMA properly enabled.
Note that when controller is in PIO mode, this is really a patience test, switching to DMA took
me like half an hour to complete, so slow the system was :-/
So thanks a lot for Your help once more.
have a nice day.
nik
On Tue, Sep 06, 2011 at 08:01:47PM +0300, Avi Kivity wrote:
> On 09/06/2011 07:30 PM, Nikola Ciprich wrote:
>> OK, seems like Avi's right, at least the windows guest is not using DMA
>> though the question is, why did it got disabled
>
> It can happen due to a timeout, perhaps a temporary load spike.
>
>> and how can I reenable it,
>
> Google knows.
>
>> I'm not experienced that much with XP :(
>>
>>
>> > It is rep/in-out. But why it became noticeable only after adding more
>> > physical memory to the host is a mystery.
>>
>> now that I'm thinking about it, we had similar problem in the past, the windows guest
>> was unusably slow, and the whole host was slow as well... upgrading to 0.14.1 seemingly
>> solved this issue, but maybe the DMA just got randomly enabled, and now after adding
>> the memory (and restarting of course), it just got disabled again?
>> but why could this be??
>>
>
> I don't think it's related to the memory.
>
> --
> error compiling committee.c: too many arguments to function
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava
tel.: +420 596 603 142
fax: +420 596 621 273
mobil: +420 777 093 799
www.linuxbox.cz
mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-09-06 19:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 14:02 KVM got slow after adding more physical memory to host Nikola Ciprich
2011-09-06 15:13 ` Avi Kivity
2011-09-06 15:38 ` Nikola Ciprich
2011-09-06 15:45 ` Avi Kivity
2011-09-06 16:01 ` Nikola Ciprich
2011-09-06 16:06 ` Avi Kivity
2011-09-06 16:06 ` Avi Kivity
2011-09-06 16:10 ` Gleb Natapov
2011-09-06 16:30 ` Nikola Ciprich
2011-09-06 17:01 ` Avi Kivity
2011-09-06 19:22 ` Nikola Ciprich [this message]
2011-09-08 14:58 ` KVM got slow after adding more physical memory to host - SOLVED Michael Tokarev
2011-09-06 16:08 ` KVM got slow after adding more physical memory to host 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=20110906192235.GA2293@nik-comp.lan \
--to=nikola.ciprich@linuxbox.cz \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lukas.deseyve@linuxbox.cz \
--cc=pavel.miklik@linuxbox.cz \
/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