From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 10 14:55:06 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 2367CAD4; Tue, 10 Jun 2014 14:55:06 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (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 D1C5E2EE5; Tue, 10 Jun 2014 14:55:05 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 5B77E153A9E; Tue, 10 Jun 2014 16:54:56 +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 DNyzxdVsF63j; Tue, 10 Jun 2014 16:54:53 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:a15d:b174:138f:d372] (unknown [IPv6:2001:4cb8:3:1:a15d:b174:138f:d372]) by smtp.digiware.nl (Postfix) with ESMTP id E2A1A1534D1; Tue, 10 Jun 2014 16:54:53 +0200 (CEST) Message-ID: <53971C3A.30406@digiware.nl> Date: Tue, 10 Jun 2014 16:54:50 +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> <5396D18C.8000401@digiware.nl> <53970F5A.8060900@freebsd.org> In-Reply-To: <53970F5A.8060900@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 14:55:06 -0000 On 2014-06-10 15:59, Peter Grehan wrote: > 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. I've got KTR compiled in, but last time I switched it on. I got swamped in traffic, and I sort of got locked out of the server... :( Could also be because I was writing it to a file as well. So you'll have to help/tell me what to do. --WjW