From owner-freebsd-virtualization@FreeBSD.ORG Thu May 22 23:03:09 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 B442A45E for ; Thu, 22 May 2014 23:03:09 +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 70BF824DC for ; Thu, 22 May 2014 23:03:08 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 10B74153AAE; Fri, 23 May 2014 01:03:06 +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 SLaKRTvhML9v; Fri, 23 May 2014 01:03:04 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:a00d:a276:299d:79c6] (unknown [IPv6:2001:4cb8:3:1:a00d:a276:299d:79c6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 03A46153434; Fri, 23 May 2014 01:03:04 +0200 (CEST) Message-ID: <537E8228.3070405@digiware.nl> Date: Fri, 23 May 2014 01:03:04 +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: Nils Beyer , freebsd-virtualization@freebsd.org Subject: Re: bhyve on AMD, linux and high load References: <537E16FE.4070309@digiware.nl> <20140522162447.3A5F08AE@hub.freebsd.org> <537E4425.2030804@digiware.nl> <20140522192928.2BB2E9F5@hub.freebsd.org> In-Reply-To: <20140522192928.2BB2E9F5@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Thu, 22 May 2014 23:03:09 -0000 On 22-5-2014 21:29, Nils Beyer wrote: > Hi, > > Willem Jan Withagen wrote: >> I've just completed merging and patching with Anish patches... >> ONce that seems to run for my freebsd vm's, I'll start merging my >> patches. And hope that it still works. > > Sounds good. I've tried some Linux versions ranging from 2.6.32, 3.10.x, > 3.11.10 to 3.12.8 using an Anish's patched SVM+HEAD variant. They all > show the same behaviour being stucked during boot. > > I haven't tried your patches yet, though. Well I'm running Anish SVM+HEAD and I'm no longer able to my old FreeBSD vm's. And I can't even get vmrun.sh to build new ones.... It just doesn't show anything on the commandline output, even if I go: -l com1,stdio Strange part is that the Linux 14.04 VM just starts fine.... So I have a complete reverse situation. Linux runs, but I have a hard time getting FreeBSD to run. >> And best would be that the vlapic stuff gives a extra bit of speed, >> because we're not quite there yet. > > I suppose you start your bhyved Linux instances using the "-A" switch (ACPI > tables), right? If you feel interested, you can try to start them without the > "-A" switch. For me, the boot process is now stucked at "Calibrating delay > loop". As far as I understand, it probably has something to do with a borked > "jiffies" value and that has probably something to do with a borked "IRQ 0" > that modifes that "jiffies" value at every tick. Yes I use -A on all my boots. > But these are just wild guesses as I understand much too little about > kernels, virtualizing and stuff. I'm the last one suggesting that I know more that just a little bit, but I get by.. > For what it's worth, using an Intel i3 and without the "-A" switch, the > bhyved Linux instance just boots fine as it does with the "-A" switch. One of the reasons tinkering with AMD is that I don't have an i{3,5,7} cpus available. > BTW: you haven't the oppurtunity to try bhyve SVN on a Barcelona- or later > class Opteron, have you? Nope, just got a bunch of boards leftover from a previous project. And they are all: CPU: AMD Phenom(tm) II X6 1075T Processor (3013.83-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x100fa0 Family=0x10 Model=0xa Stepping=0