From owner-freebsd-xen@FreeBSD.ORG Sat Mar 29 14:34:28 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67A309C9 for ; Sat, 29 Mar 2014 14:34:28 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 250268B9 for ; Sat, 29 Mar 2014 14:34:28 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id r5so7188331qcx.18 for ; Sat, 29 Mar 2014 07:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=btdq0kBDjJ2pBtP6Q4XlRQyKoCjHf7QTasgypEgehBY=; b=fRwujEcNaxtTn7Bo373GPhFVHxJyo1n77EUkKTBCfeXOz7IpyXBqavSXd6sZIe88IY nCbSErLfdth9vU/D2Pt4Vc47Vbx6NMGnq7SWy+Cn2xEbCp61oUWCXiRiQI/cozsBG6eR pWn7H+aM25/I0vAqrG4L4yf7++JoneVqnpoU15rSwcpHip8NjqKvvaWRBA/yTypzZeDN RYXxWtvE065xgDUtsdPU0NPbtJvj+mCz7sYIW0lR5+30yQ60D/Lnx2/l7RmxziTTheEj eWvbRM7nmxa9Sji5cpI7A8V/hGN3S6gTlZUU2oZWis+txQvkfO4e8DRnGPNfSL0mbMSR 1YvQ== MIME-Version: 1.0 X-Received: by 10.140.81.112 with SMTP id e103mr1089963qgd.99.1396103667272; Sat, 29 Mar 2014 07:34:27 -0700 (PDT) Received: by 10.229.126.133 with HTTP; Sat, 29 Mar 2014 07:34:27 -0700 (PDT) In-Reply-To: References: Date: Sat, 29 Mar 2014 15:34:27 +0100 Message-ID: Subject: Re: Terrible performance of XenServer 6.2 and FreeBSD 10.0-RELEASE guest From: Big Lebowski To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2014 14:34:28 -0000 To further clarify how does it looks like: * I am logging in via ssh * I am launching tmux with two windows * In first window I am starting svnlite checkout of base/head to /usr/src * I am immediately switching to second window - the OS is unusable even there, where the SSH delays caused by displaying lot of text should not be an issue When watching top, the OS has minimal load (around 0.1), often 100% idle, svnlite is consuming about 10-16% WCPU, and the system mostly freezes (it doesnt accept any keyboard input, nor updates the screen for a while, yet flashing the cursor) when svnlite is in getblk or kqread state. After few seconds it starts being responsive again (not causing any ssh timeouts or anything like that), does any keyboard input that was provided when it was freezed, and after few seconds freezes again. I am happy to provide any requested details, or even the machine for closer inspection. Right now I am trying to bump it up to -CURRENT to see if it happens as well on 11. Regards, BL On Sat, Mar 29, 2014 at 3:17 PM, Big Lebowski wrote: > In addition to that, I've also noticed that even with xe guest utilitiest > installed and started, neither halt nor shutdown -h now are working (they > seem to stop the guest OS, but the vm stays up for the hypervisor and needs > to be forced to shutdown/restart) and that the XenCenter console is not > refreshing properly (it requires some additional movement, like cursor keys > being used to refresh the screen). > > Regards, > BL > > > On Sat, Mar 29, 2014 at 12:38 PM, Big Lebowski wrote: > >> Hi all, >> >> I've just installed XenServer 6.2 along with all latest patches (SP1 and >> 014 update) on a machine that was previously a bare metal FreeBSD 9.2-R >> installation, running fast and smooth. >> >> That machine is a Quad Core cpu with 32GB of RAM: >> >> processor : 0 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 58 >> model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz >> stepping : 9 >> cpu MHz : 3400.086 >> cache size : 8192 KB >> physical id : 0 >> siblings : 1 >> core id : 0 >> cpu cores : 1 >> apicid : 0 >> initial apicid : 0 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 13 >> wp : yes >> flags : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush >> acpi mmx fxsr sse sse2 ss ht nx constant_tsc nonstop_tsc aperfmperf pni >> pclmulqdq vmx est ssse3 sse4_1 sse4_2 x2apic popcnt aes hypervisor ida arat >> tpr_shadow vnmi flexpriority ept vpid >> bogomips : 6835.86 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 36 bits physical, 48 bits virtual >> power management: >> >> and 2x 3TB SATA disks connected in software raid 1 (mdraid). >> >> After performing the updates on XenServer, I've installed first vm, >> FreeBSD 10.0-R amd64: >> >> FreeBSD poudriere 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan >> 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> with 8 vcpu's, 8GB of RAM, and two vdisks, 8GB for /, and 100GB for >> /poudriere (both mounted with noatime). After playing a while with the vm >> (installing pkg, peforming portsnap fetch extract, installing poudriere) >> I've noticed extremely poor performance: >> >> * portsnap extract can take over 20 minutes to dump the ports tree >> * svnlite checkout of head/base takes ages and while it is happening, the >> vm is almost unusable: it freezes periodicaly so even typing in console is >> impossible, ls -la /usr/src takes few seconds to execute, the svnlite >> process displays checked files in chunks (it runs for a while, freezes, >> runs for a while again, and so on) >> >> I wonder if there's anything I am missing in running FreeBSD as XenServer >> guest? Linux vms on the same XenServer host are running faster by orders of >> magnitude, and fbsd is not just slower, its unusable. >> >> I'd appreciate any help! >> >> Regards, >> BL. >> > >