From: Steven Smith <sos22-xen@srcf.ucam.org>
To: Steve Dobbelstein <steved@us.ibm.com>
Cc: xen-devel@lists.xensource.com, sos22@srcf.ucam.org
Subject: Re: Paravirtualised drivers for fully virtualised domains, rev9
Date: Fri, 11 Aug 2006 11:17:04 +0100 [thread overview]
Message-ID: <20060811101704.GA3476@cam.ac.uk> (raw)
In-Reply-To: <OFA8761A06.4A744883-ON052571C6.006E620E-052571C6.0077D44F@us.ibm.com>
[-- Attachment #1.1: Type: text/plain, Size: 2404 bytes --]
> Here is what I have found so far in trying to chase down the cause of the
> slowdown.
> The qemu-dm process is running 99.9% of the CPU on dom0.
That seems very wrong. When I try this, the device model is almost
completely idle. Could you see what strace says, please, or if there
are any strange messages in the /var/log/qemu-dm. file?
> It appears that a lot of time is spent running timers and getting the
> current time. Not being familiar with the code, I am now crawling through
> it to see how timers are handled and how the xen-vnif PV driver uses them.
Timer handling isn't really changed by any of these patches. Patch
02.ioemu_xen_evtchns.diff is in vaguely the same area, but I can't see
how it could cause the problems you're seeing, assuming your
hypervisor and libxc are up to date.
What changeset of xen-unstable did you apply the patches to?
> P.S. This just in from a test running while I typed the above. I noticed
> that qemu will start a "gui_timer" when VNC is not used. I normally run
> without graphics (nographic=1 in the domain config file). I changed the
> config file to use VNC. The qemu-dm CPU utilization in dom0 dropped to
> below 10%. The network performance improved from 0.19 Mb/s to 9.75 Mb/s
> (still less than the 23.07 Mb/s for a fully virtualized domain).
When I try this, I see about 1600Mb/s between dom0 and a
paravirtualised domU, about 30Mb/s between dom0 and an ioemu domU, and
about 1200Mb/s between dom0 and an HVM domU running these drivers, all
collected using netpipe-tcp. That is a regression, but much smaller
than you're seeing.
There are a couple of obvious things to check:
1) Do the statistics reported by ifconfig show any errors?
2) How often is the event channel interrupt firing according to
/proc/interrupts? I see about 50k-150k/second.
3) Is there any packet loss when you ping a domain? Start your test
and run a ping in parallel.
The other thing is that these drivers seem to be very sensitive to
kernel debugging options in the domU. If you've got anything enabled
in the kernel hacking menu it might be worth trying again with that
switched off.
> It appears there is some interaction between using the xen-vnif
> driver and the qemu timer code. I'm still exploring.
I'd be happier if I could reproduce this problem here. Are you
running SMP? PAE? 64 bit? What kernel are you running in the domU?
Steven.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-08-11 10:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-18 12:51 Paravirtualised drivers for fully virtualised domains Steven Smith
2006-07-18 13:45 ` Ben Thomas
2006-07-18 16:00 ` Steve Ofsthun
2006-07-18 16:23 ` Mark Williamson
2006-07-18 20:34 ` Steven Smith
2006-07-18 23:24 ` Steve Ofsthun
2006-07-19 6:50 ` Gerd Hoffmann
2006-07-26 15:34 ` Steven Smith
2006-08-08 9:42 ` Steven Smith
2006-08-09 18:05 ` Steve Dobbelstein
2006-08-10 11:08 ` Paravirtualised drivers for fully virtualised domains, rev9 Steven Smith
2006-08-10 21:48 ` Steve Dobbelstein
2006-08-11 10:17 ` Steven Smith [this message]
2006-08-11 10:31 ` Harry Butterworth
2006-08-14 9:12 ` Steven Smith
2006-08-11 17:04 ` Steve Dobbelstein
2006-08-12 8:32 ` Steven Smith
2006-08-14 21:22 ` Steve Dobbelstein
2006-08-15 7:27 ` Steven Smith
2006-08-15 22:05 ` Steve Dobbelstein
2006-08-16 13:36 ` Steven Smith
2006-08-16 13:33 ` Paravirtualised drivers for fully virtualised domains, rev11 sos22-xen
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=20060811101704.GA3476@cam.ac.uk \
--to=sos22-xen@srcf.ucam.org \
--cc=sos22@srcf.ucam.org \
--cc=steved@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.