From: Matt <datahead4@gmail.com>
To: Juergen Lock <nox@jelal.kn-bremen.de>
Cc: freebsd-emulation@freebsd.org, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5313)
Date: Wed, 24 Sep 2008 21:54:39 -0500 [thread overview]
Message-ID: <cd6b4a5b0809241954p159dd86u17fdc2a485008e7d@mail.gmail.com> (raw)
In-Reply-To: <200809242210.m8OMAcSZ021572@saturn.kn-bremen.de>
On Wed, Sep 24, 2008 at 5:10 PM, Juergen Lock <nox@jelal.kn-bremen.de> wrote:
>
> In article <cd6b4a5b0809230639x27e94477k315796c2cfb650f2@mail.gmail.com> you write:
> >On Sun, Sep 21, 2008 at 3:40 PM, Juergen Lock <nox@jelal.kn-bremen.de> wrote:
> >> Hi!
> >>
> >> I've been playing with qemu svn on FreeBSD again (new experimental
> >> emulators/qemu-devel port update here:
> >> http://people.freebsd.org/~nox/qemu/qemu-devel-20080921.patch
> >> ), and want to note a few things:
> >
> >Hi. I've built an updated port with your patch and it compiles fine
> >and runs my WinXP guests well. But, the qemu process consumes 100% of
> >one CPU core on the host the whole time it is running, regardless of
> >what the guest is doing. The host is a 7-STABLE box from 8/19. The
> >guests run with bridged networking and full kernel kqemu accel
> >enabled.
> >
> Hmm. And you didn't see this with the version in ports? Have you
> checked if this is related to kqemu? (try without -kernel-kqemu and
> also with -no-kqemu.) Also, which threading libs and scheduler are you
> using? There seems to be an issue with kse, tho I doubt you are using
> that on 7-stable...
It does appear that this continual CPU-usage was kqemu-related. When
booting the guest with the "-no-kqemu" option, the CPU usage on the
host was as expected and tracked with the usage in the guest. Any
level (user or user + kernel) of kqemu accel seemed to trigger the
host to consume 100% CPU regardless of guest activity.
I use the ULE scheduler and libthr threading library. See console output below.
]$ sysctl kern.sched.name
kern.sched.name: ULE
$ ldd /usr/local/bin/qemu
/usr/local/bin/qemu:
libm.so.5 => /lib/libm.so.5 (0x101ad000)
libz.so.4 => /lib/libz.so.4 (0x101c2000)
libgnutls.so.26 => /usr/local/lib/libgnutls.so.26 (0x101d4000)
libpcap.so.5 => /lib/libpcap.so.5 (0x1027b000)
libutil.so.7 => /lib/libutil.so.7 (0x102a2000)
libSDL-1.2.so.11 => /usr/local/lib/libSDL-1.2.so.11 (0x102b0000)
libncurses.so.7 => /lib/libncurses.so.7 (0x10319000)
libthr.so.3 => /lib/libthr.so.3 (0x10361000)
libc.so.7 => /lib/libc.so.7 (0x10374000)
libgcrypt.so.15 => /usr/local/lib/libgcrypt.so.15 (0x10473000)
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0x104db000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x104df000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x104e8000)
libvgl.so.5 => /usr/lib/libvgl.so.5 (0x105de000)
libaa.so.1 => /usr/local/lib/libaa.so.1 (0x105e6000)
libusbhid.so.3 => /usr/lib/libusbhid.so.3 (0x105fd000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x10601000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x106ed000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x106f0000)
librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x106f5000)
>
> Here is another experimental update that forces -lthr on 6.x, and
> also updates to qemu svn r5313:
> http://people.freebsd.org/~nox/qemu/qemu-devel-20080924.patch
I just built this update and it seems to have fixed the issue. Host
CPU usage again tracks with guest CPU usage and all seems well. I'll
continue to use this build to see if anything else crops up.
Please let me know if there is anything other information I can provide.
Thanks again,
Matt
>
> >Thank you for the continued work on this port!
>
> You're welcome! :)
> Juergen
next prev parent reply other threads:[~2008-09-25 2:54 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-21 20:40 [Qemu-devel] qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates Juergen Lock
2008-09-22 15:30 ` Anthony Liguori
2008-09-24 21:52 ` Juergen Lock
2008-09-23 13:39 ` [Qemu-devel] " Matt
2008-09-24 22:10 ` [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5313) Juergen Lock
2008-09-25 2:54 ` Matt [this message]
2008-09-26 15:04 ` Anthony Liguori
2008-09-26 15:52 ` Carlos A. M. dos Santos
2008-09-26 22:04 ` Juergen Lock
2008-09-27 15:33 ` Anthony Liguori
2008-09-27 22:52 ` Juergen Lock
2008-09-30 14:51 ` Anthony Liguori
2008-09-30 22:17 ` Juergen Lock
2008-09-27 20:47 ` [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5331) Juergen Lock
2008-09-28 4:04 ` Carlos A. M. dos Santos
2008-09-30 22:33 ` Juergen Lock
2008-10-11 21:41 ` [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5457) Juergen Lock
2008-10-18 20:46 ` [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5499) Juergen Lock
2008-09-30 14:52 ` [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5331) Anthony Liguori
2008-09-30 22:35 ` Juergen Lock
2008-09-25 20:17 ` [Qemu-devel] [PATCH] preprocessor issue in qemu/patch-block-raw-posix.c (was: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5313)) Juergen Lock
2008-09-25 20:39 ` [Qemu-devel] [PATCH] preprocessor issue in qemu/patch-block-raw-posix.c Anthony Liguori
2008-09-26 21:29 ` Juergen Lock
2008-09-27 15:27 ` Anthony Liguori
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=cd6b4a5b0809241954p159dd86u17fdc2a485008e7d@mail.gmail.com \
--to=datahead4@gmail.com \
--cc=freebsd-emulation@freebsd.org \
--cc=nox@jelal.kn-bremen.de \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).