From owner-freebsd-xen@FreeBSD.ORG Sat Mar 29 15:22:55 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F5A61C3 for ; Sat, 29 Mar 2014 15:22:55 +0000 (UTC) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (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 35856CA0 for ; Sat, 29 Mar 2014 15:22:55 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id j17so7412987oag.14 for ; Sat, 29 Mar 2014 08:22:54 -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 :cc:content-type; bh=9wnCLMV3kTqzJ18182HR56mYBCZ4gRB7qJ96hyxf9aQ=; b=xB5zn66bXV568nVWfeO0gUQPpGbu9qjtIorxHiGbEQ4p0Hfi/wzxubWkBHvWDUg/gp DSo4UlCqYJbRGaYB2+67IOAYdVPcUNWXOTqg4xQsLqlviPkK2sfTr8cwvn49RIIccaZb DKOtOTlgZTTLs/14qUDz1o0ScRSCVpAXpvlACdIRddxFmotFIujC91VF1qoVnAY5V15k S8WuOcaaba0BppI8cp9ChrNyGD0ds8bPXfv44FS1P4pw8pC1yzzk94Z1CVAQ2LlIa0P4 ObIEo3HSfMFt3tdwzm3CJP0WNfPp1ZKiFebf3TNYDNW1+aU+IZ+y9UqIWLsxG40l/iBZ AQ0A== MIME-Version: 1.0 X-Received: by 10.60.232.105 with SMTP id tn9mr12194191oec.11.1396106574539; Sat, 29 Mar 2014 08:22:54 -0700 (PDT) Received: by 10.76.170.4 with HTTP; Sat, 29 Mar 2014 08:22:54 -0700 (PDT) In-Reply-To: References: Date: Sat, 29 Mar 2014 11:22:54 -0400 Message-ID: Subject: Re: Terrible performance of XenServer 6.2 and FreeBSD 10.0-RELEASE guest From: Outback Dingo To: Big Lebowski Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-xen@freebsd.org 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 15:22:55 -0000 On Sat, Mar 29, 2014 at 10:34 AM, Big Lebowski wrote: > 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 > > quite odd because we use XenServer 6.2 also with FreeBSD-10 and dont see > any degradation like you discuss, we also have xen utiities installed > we have used both ufs and zfs on fresh installs, recompiled from svn stable/10 > > 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. > >> > > > > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >