Subject: "blocked" domUs
To: None <port-xen@netbsd.org>
From: david l goodrich <dlg@dsrw.org>
List: port-xen
Date: 04/04/2007 20:30:43
--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Performance of the domUs on my Pentium D 3ghz dom0 is pretty
poor - for example, ssh'ing from a domU occasionally just pauses
and cpu utilization on the domu goes down to 0.  No discernible
reason that I can see.

I compared the output of 'xm list' against my other three dom0s,
and saw that on the dom0s without performance problems, Domain-0
was in state "r-----" and the domUs were all in state "------"

All of these machines are Athlon XP processors running either
4.0_BETA or 4.0_BETA2 and xen 3.0.3 with IDE disks.

On the Pentium D dom0, though, Domain-0 is in state "r-----"
(just like the Athlons) but all the domUs are in state "-b----".
Except one.

This computer has SATA disks, and was featured in the recent VLAN
and uhci threads.  It is running 4.0_BETA2 and xen 3.0.3.

This is my first dual-core machine, and this may be normal, but
I'd be surprised if it is.  Does anyone have any idea why all the
domUs would be blocked?

And now, boring details on the dom0s:

The problematic Pentium D:
nialas# uname -a
NetBSD nialas.dsrw.org 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOM0) #0: Thu Mar 29
03:33:37 PDT 2007
builds@wb31:/home/builds/ab/netbsd-4/i386/200703280002Z-obj/home/builds/ab/=
netbsd-4/src/sys/arch/i386/compile/XEN3_DOM0
i386
nialas# pkg_info | grep xenker
xenkernel30-3.0.3   Xen3 Kernel
nialas# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0       64     1 r-----   8978.1
build-31                                   6      128     1 ------    508.5
build-40beta2                              7      128     1 -b----   1927.6
chaos                                      8      128     1 -b----    775.3
fawkes                                    15      256     1 -b----     19.8
neuromancer                                3       64     1 -b----    365.2
radius-meus                               12       64     1 -b----    264.5
router-meus                                2       64     1 -b----    966.4
sprawl                                     4      256     1 -b----  10147.9
straylight                                 5      256     1 -b----    715.3
nialas#=20

I should note that i'm not actually /doing/ anything on build-31 right now.
I'm on chaos, writing this email, and router-meus is, obviously,
routing this connection, but most of the other computers are generally
idling right now.  Why, of all computers, would build-31 be unblocked?

On to the Athlon XPs...

dim# uname -a     =20
NetBSD dim.dsrw.org 4.0_BETA2 NetBSD 4.0_BETA2
(XEN3_DOM0-vndbump_serial_pf_noacpi_noapic) #1: Mon Apr  2 21:26:15 CDT 2007
dlg@build-40beta2.dsrw.org:/usr/src/sys/arch/i386/compile/XEN3_DOM0-vndbump=
_serial_pf_noacpi_noapic
i386
dim# pkg_info | grep xenker
xenkernel30-3.0.3   Xen3 Kernel
dim# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0       64     1 r-----   4017.6
kirensk                                    2      256     1 ------   9595.8
ordep                                      1      256     1 ------    466.0
dim#=20


nating# uname -a
NetBSD nating.dsrw.org 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOM0-vndbump_serial=
_pf)
#0: Wed Mar  7 00:40:06 CST 2007
dlg@build-40beta2.dsrw.org:/usr/src/sys/arch/i386/compile/XEN3_DOM0-vndbump=
_serial_pf
i386
nating# pkg_info | grep xenker
xenkernel30-3.0.3   Xen3 Kernel
nating# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0       64     1 r-----   1747.1
chiba                                      6      256     1 ------   2256.7
nating#=20



neunhee# uname -a
NetBSD neunhee.dsrw.org 4.0_BETA NetBSD 4.0_BETA (XEN3_DOM0-vndbump_serial_=
pf)
#0: Tue Nov 21 11:10:03 CST 2006
dlg@build-40.dsrw.org:/usr/src/sys/arch/i386/compile/XEN3_DOM0-vndbump_seri=
al_pf
i386
neunhee# pkg_info | grep xenker
xenkernel30-3.0.2.2 Xen3 Kernel
neunhee# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0       64     1 r-----  2402.3
build-40beta                       5      256     1 ------   546.8
gaia                               1       96     1 ------   666.4
rosie                              4      256     1 ------  1399.1
spam                               3      384     1 ------   907.7
wintermute                         2       64     1 ------   713.2
neunhee#=20


Thanks.
  --david

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFGFFFDHDmo5jqnP4QRAk/sAJ90sFw6u3lKTSv+4PGFYDLTeP43FwCggB4x
rf/h9bQ1mYCBJuM0eMz1uEs=
=E2rA
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--