Subject: Re: Re: xen3, dom0 damm slow
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Joel CARNAT <joel@carnat.net>
List: port-amd64
Date: 08/03/2006 10:10:02
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 02 2006 - 19:45, Manuel Bouyer wrote:
> On Wed, Aug 02, 2006 at 05:26:30PM +0200, Joel CARNAT wrote:
> > Hi,
> >=20
> > I'm giving a try to NetBSD/xen3 dom0.
> > Everything booted up - except it took 30min to get the prompt.
> >=20
> > The machine is a Dell Optiplex GX270 (P4 2GHz, with 700Mo of RAM).
> > The NetBSD/i386 3.99.23 seems to work well.
> > Dom0 is given 512Mo.
> > But since I boot the xen kernel everything slows down.
> > It seems that the kernel boot itself is OK and the slownest begins when
> > the disk is mounted.
>=20
> Do you have some errors in dmesg about lost interripts ?
> Maybe it's an interrupt routing issue. Try booting with
> 'noapic nosmp acpi=3Doff' added to xen.gz command line.
>=20

nope - nothing in /var/log/messages.
using those acpi flags makes the machine work as expected :)

thank you!

> >=20
> > When I leave the machine alone, it seems to sleep "well":
> > ########################################################################
> > load averages:  0.06,  0.21,  0.25                  up 0 days,  1:43 17=
:57:27
> > 36 processes:  35 sleeping, 1 on processor
> > CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100=
% idle
>=20
> Does 'systat vm' show a high interrupt rate ?
>=20

this command is (without acpi flags) also veeeeery slow.
I mean "vmstat vm 1" refreshes every 2 or 5 seconds.
and there are a lot of Interrupts:
50134 Interrupts
    1 cpu0 softclock
<...>
50064 cpu0 irq9
    1 cpu0 irq14
<...>
  100 cpu0 clock

with the "acpi" flags on, interrupts are about 200 (100 cpu0 softclock
and 100 cpu0 clocks ; softnet and irq9 vary from none to 4).

I saw those flags for MP but didn't thought it would affect mono-proc
machine.

Anyway, thank you!


--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFE0a9a0/VH7L7F7Y4RAn6+AJ0YzLaVd8RCbv/CyQp1AxFvMXO5hgCcClf2
TyATL0403lzjnWdr2mkV1Fs=
=Jjo/
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--