From owner-freebsd-virtualization@FreeBSD.ORG Sat May 31 00:37:58 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 55DAFF98; Sat, 31 May 2014 00:37:58 +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 146B82007; Sat, 31 May 2014 00:37:58 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 0BEFF1534D1; Sat, 31 May 2014 02:37:54 +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 hWMn0IvRHC6S; Sat, 31 May 2014 02:37:52 +0200 (CEST) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 590E6153434; Sat, 31 May 2014 02:37:52 +0200 (CEST) Message-ID: <53892464.50005@digiware.nl> Date: Sat, 31 May 2014 02:37:56 +0200 From: Willem Jan Withagen 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> In-Reply-To: <53891EAA.8040105@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org 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: Sat, 31 May 2014 00:37:58 -0000 On 31-5-2014 2:13, Peter Grehan wrote: > Hi Willem, > >> So the question remains: >> Why is it taking so long on the AMD platform. > > The time difference looks a lot like a VM-exit roundtrip. My new AMD > box is arriving shortly so I'll have a look into it. Hi Peter, I would expect something like this. The question however what kind of business is done during the roundtrip. Could it be something like a soft-interrupt 0x80 to get from userspace to the kernel? Supossedly this interface is depreciated around 2.4 I'll see if I can augment the exit-code in bhyve. Catching it with bhyvectl --get-all will probably have too much noise from running the rest of the system. --WjW