From owner-freebsd-xen@FreeBSD.ORG Sat Mar 29 11:38:57 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 120DDBE3 for ; Sat, 29 Mar 2014 11:38:57 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (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 C96B378F for ; Sat, 29 Mar 2014 11:38:56 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id k15so6438568qaq.1 for ; Sat, 29 Mar 2014 04:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kF17aS6mlHT3Lui22GnWgd1IubN1lmUHEIqP2msRO2E=; b=W2c0py4Qu7mI6aj7wRPLvHmV4mrg3+IRtxEVGvJlMWTblJMbTe0PHF0i3uyAk3e35W kRcFbiBM0nzfjTLv5lrAgX9e4L4ozhJwAxsVv2SLmThqXw0zKfPyNwF27e700gXAHgwz 9YSyJZXe8AfrvYu0mr9Ty5M649J0k5OyrNlHAZxEJDH+HnQQ9iRPVwOV5U/hUzSSa3c3 WGy0zHBFBkZLoNsWTnOlMhf+3xDTste5Nr+QOoVaXhoCmrCXuG301yQymWSK56d8ve4g DPhn82TQgmfZjvnvLfCpaCfy0OpDt5Nw4IpymP1eoiJIElX3uO+kOuct+IvfWlF6dkUN oGfw== MIME-Version: 1.0 X-Received: by 10.224.171.200 with SMTP id i8mr133861qaz.96.1396093135954; Sat, 29 Mar 2014 04:38:55 -0700 (PDT) Received: by 10.229.126.133 with HTTP; Sat, 29 Mar 2014 04:38:55 -0700 (PDT) Date: Sat, 29 Mar 2014 12:38:55 +0100 Message-ID: Subject: 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 11:38:57 -0000 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.