From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 10 13:59:54 2014 Return-Path: Delivered-To: freebsd-virtualization@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 B4FAF416 for ; Tue, 10 Jun 2014 13:59:54 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7351C290C for ; Tue, 10 Jun 2014 13:59:54 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 39DF81260C; Tue, 10 Jun 2014 23:59:52 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BUW78341 (AUTH peterg@ptree32.com.au); Tue, 10 Jun 2014 23:59:50 +1000 Message-ID: <53970F5A.8060900@freebsd.org> Date: Tue, 10 Jun 2014 06:59:54 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Willem Jan Withagen 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> <5396D18C.8000401@digiware.nl> In-Reply-To: <5396D18C.8000401@digiware.nl> 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 13:59:54 -0000 Hi Willem, > 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} Thanks - saw similar behaviour on my tiny Sempron but wasn't sure if it was the slow CPU/clock aliasing etc. Time to bring out KTR and see what's going on. later, Peter.