From owner-freebsd-virtualization@FreeBSD.ORG Mon Jul 22 08:31:10 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4D0AA756; Mon, 22 Jul 2013 08:31:10 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 58B332951; Mon, 22 Jul 2013 08:31:08 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.89,718,1367971200"; d="scan'208";a="6929782" Received: from lonpex01cl01.citrite.net ([10.30.203.101]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 22 Jul 2013 08:29:57 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL01.citrite.net (10.30.203.101) with Microsoft SMTP Server id 14.2.342.4; Mon, 22 Jul 2013 09:29:56 +0100 Message-ID: <51ECED83.9020905@citrix.com> Date: Mon, 22 Jul 2013 10:29:55 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <4A595D02-7B79-4C6C-9356-55FA9E45EDDC@dckd.nl> In-Reply-To: <4A595D02-7B79-4C6C-9356-55FA9E45EDDC@dckd.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 08:31:10 -0000 On 22/07/13 09:18, Jeroen van der Ham wrote: > Hi, > > After some more testing I thought it would be good to put this into production for my personal server. I've used pvhvm_v19 and built it without debugging options and installed it on a FreeBSD 9.1 system. > > I've run into some hiccups with 9.1 user land and a 10-CURRENT kernel, but that's all solvable[0]. > > My VPS has some very limited memory (256M), but I've compensated with swap space (1G) Is your guest running a 32bit or a 64bit kernel? Could you also provide the config file used to launch your guest and the Xen and Dom0 kernel versions? > > Now anytime I'm putting the system under stress, by building ports or by running a git clone on the kernel repository here, I'm seeing a lot of messages about swap_pager: > >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 132545, size: 4096 > > The system also becomes very sluggish and sometimes unresponsive. > The weird thing was that one of these messages happened right after a reboot when I rebuilt an outdated port and on the main console was checking the swap memory: > >> jeroen:~/ $ swapinfo [8:13:29] >> Device 1K-blocks Used Avail Capacity >> /dev/ada0p2 524288 2484 521804 0% >> /dev/md0 1048576 2364 1046212 0% >> Total 1572864 4848 1568016 0% >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 131424, size: 4096 > > > Is anyone else seeing something similar? Could you also try a HEAD XENHVM kernel (without my patches), to see if the issue is related to my changes or to some bug already present in HEAD? > I certainly did not experience something like this on 9.0 with a XENHVM kernel. > > If necessary I can rebuild a kernel with debugging support and do some more recording of what is actually going on. > > Jeroen. > > > [0]: I have edited bsd.port.mk to always apply the FBSD10_FIX, and for version checking I am running "pkg version" with UNAME_r=9.1-RELEASE. >