From: Avi Kivity <avi@redhat.com>
To: Nikola Ciprich <extmaillist@linuxbox.cz>
Cc: KVM list <kvm@vger.kernel.org>,
nikola.ciprich@linuxbox.cz,
"Daniel P. Berrange" <berrange@redhat.com>
Subject: Re: qemu-kvm-0.13.0 - winsows 2008 - chkdisk too slow
Date: Thu, 06 Jan 2011 15:26:42 +0200 [thread overview]
Message-ID: <4D25C312.7010008@redhat.com> (raw)
In-Reply-To: <20110106121857.GG17772@pcnci.linuxbox.cz>
On 01/06/2011 02:18 PM, Nikola Ciprich wrote:
> OK, got test environment running, but it seems to be running much faster
> there :(
Same host kernel?
> but as dan suggested, I can type monitor commands using virsh, so I can
> (carefully:)) continue debugging on this production machine..
> here's info registers:
> RAX=0000000000000007 RBX=00000000000000ac RCX=fffff880009d1015 RDX=00000000000003ce
> RSI=000000000000018a RDI=fffff8000163f737 RBP=0000000000000007 RSP=fffff88002588b08
> R8 =000000000000000f R9 =00000000000000ac R10=0000000000007b20 R11=0000000000000008
> R12=00000000000000a8 R13=0000000000000000 R14=000000000012c690 R15=00000000001d52d0
> RIP=fffff8000156ae48 RFL=00000202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
>
That's cpu 0, which is busy writing stuff to the screen, not very
interesting.
> > Looks like vcpu 1 is spinning; perhaps that's normal. If you get hold
> > of the monitor, please disassemble around 0xfffff80001575d59.
> ouch, can You advice me on how do I do it? :-[
(qemu) cpu 1
(qemu) info registers
(qemu) x/100i 0xfffff80001575d59 - 35
> >
> > vcpu 0 is busy writing to vga (can you confirm)? looks like bank
> yes, seems like screen refreshing is quite slow, certainly in this rescue mode
> or what it is, it's not using any acceleration...
It's actually decelerated by synchronized_srcu_expedited(). It's one
area which got a large slowdown as the price for the great scalability
we achieved with srcu.
But wait, this doesn't make sense. If we see mmio to vga, then bank
switching is not involved, yet I see huge latencies on writes to vga io
ports.
Please install the qemu debuginfo package (if you built it yourself, I
hope it was with debug symbols enabled) and run 'perf top'.
> > switching is hitting synchronize_srcu_expedited(), which is known slow.
> > Unfortunately that only gets better in 2.6.38.
> >
> > You can try applying
> > http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=46fdb0937f26124700fc9fc80da4776330cc00d3
> I'll be able to test this only on testing machine, or on this production maybe overnight..
> I'll prepare the kernel anyways..
>
I'm no longer sure this is the problem.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-01-06 13:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 7:48 qemu-kvm-0.13.0 - winsows 2008 - chkdisk too slow Nikola Ciprich
2011-01-06 9:03 ` Stefan Hajnoczi
2011-01-06 9:06 ` Nikola Ciprich
2011-01-06 9:08 ` Avi Kivity
2011-01-06 9:20 ` Nikola Ciprich
2011-01-06 9:27 ` Avi Kivity
2011-01-06 9:30 ` Avi Kivity
2011-01-06 9:42 ` Nikola Ciprich
2011-01-06 10:19 ` Avi Kivity
2011-01-06 10:25 ` Nikola Ciprich
2011-01-06 10:50 ` Avi Kivity
2011-01-06 11:06 ` Daniel P. Berrange
2011-01-06 12:19 ` Nikola Ciprich
2011-01-06 12:18 ` Nikola Ciprich
2011-01-06 13:26 ` Avi Kivity [this message]
2011-01-06 13:55 ` Nikola Ciprich
2011-01-06 14:37 ` Avi Kivity
2011-01-06 15:38 ` Nikola Ciprich
2011-01-09 12:36 ` Nikola Ciprich
2011-01-09 12:39 ` Avi Kivity
2011-01-09 13:36 ` Nikola Ciprich
2011-01-09 13:44 ` Nikola Ciprich
2011-01-09 14:13 ` Avi Kivity
2011-01-09 14:13 ` Avi Kivity
2011-01-09 14:27 ` Nikola Ciprich
2011-01-09 14:36 ` Avi Kivity
2011-01-09 15:15 ` Nikola Ciprich
2011-01-09 20:10 ` Nikola Ciprich
2011-01-10 9:23 ` 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=4D25C312.7010008@redhat.com \
--to=avi@redhat.com \
--cc=berrange@redhat.com \
--cc=extmaillist@linuxbox.cz \
--cc=kvm@vger.kernel.org \
--cc=nikola.ciprich@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