Subject: Re: xen3, dom0 damm slow
To: Joel CARNAT <joel@carnat.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-amd64
Date: 08/02/2006 19:45:51
On Wed, Aug 02, 2006 at 05:26:30PM +0200, Joel CARNAT wrote:
> Hi,
> 
> I'm giving a try to NetBSD/xen3 dom0.
> Everything booted up - except it took 30min to get the prompt.
> 
> 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.

Do you have some errors in dmesg about lost interripts ?
Maybe it's an interrupt routing issue. Try booting with
'noapic nosmp acpi=off' added to xen.gz command line.

> 
> 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

Does 'systat vm' show a high interrupt rate ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--