From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 10 09:36:21 2014 Return-Path: Delivered-To: freebsd-virtualization@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 7F36EB4C; Tue, 10 Jun 2014 09:36:21 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AD2C2E87; Tue, 10 Jun 2014 09:36:21 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id E984A153448; Tue, 10 Jun 2014 11:36:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mQ6_jiQtzkbH; Tue, 10 Jun 2014 11:36:15 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:a5f2:f79a:1de:fdad] (unknown [IPv6:2001:4cb8:3:1:a5f2:f79a:1de:fdad]) by smtp.digiware.nl (Postfix) with ESMTP id 38F89153434; Tue, 10 Jun 2014 11:36:15 +0200 (CEST) Message-ID: <5396D18C.8000401@digiware.nl> Date: Tue, 10 Jun 2014 11:36:12 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Peter Grehan Subject: Re: Bheve: Slow linux syscalls on AMD References: <5388B56D.1000501@digiware.nl> <20140530212900.6B74B6BF@hub.freebsd.org> <53891BC1.9050701@digiware.nl> <53891EAA.8040105@freebsd.org> <538927FC.3000903@digiware.nl> <53939AE2.80804@freebsd.org> <539434B6.6020804@digiware.nl> <5394817F.4030203@digiware.nl> <53948DA5.4040000@digiware.nl> <53962141.8070702@freebsd.org> In-Reply-To: <53962141.8070702@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 10 Jun 2014 09:36:21 -0000 On 2014-06-09 23:04, Peter Grehan wrote: >> Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing, >> but that is another minor challenge. > > Fixed in r267305 Ack. There is still a small difference in behaviour between Linux and FreeBSD. But I'd call that negectable... PID SIZE STATE C TIME WCPU COMMAND 70250 2075M vmidle 5 0:17 2.69% bhyve: ubuntu-14.04 (bhyve){vcpu 1} 70250 2075M vmidle 2 0:22 1.37% bhyve: ubuntu-14.04 (bhyve){vcpu 0} 70296 2075M vmidle 1 0:04 0.00% bhyve: freebsd-10 (bhyve){vcpu 0} 70296 2075M vmidle 4 0:02 0.00% bhyve: freebsd-10 (bhyve){vcpu 1} Inside the VMs the perception is totally the other way around when just running top and system processes: ubuntu14: load average: 0.01, 0.02, 0.02 FreeBSD: load averages: 0.11, 0.18, 0.09 So IMHO things get lost tn the margins of (incorrect) measurement. Next thing to check is how older ubuntu's work. Espacially those with TLS and a 2.6 kernel. ( I think there is still one release not EOL) And then start tests for CentOS. Thanx, --WjW