From owner-freebsd-virtualization@freebsd.org Sun Apr 26 09:32:50 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F33C52A96CD for ; Sun, 26 Apr 2020 09:32:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4992kp1LVtz4CX7 for ; Sun, 26 Apr 2020 09:32:49 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id i19so15590513ioh.12 for ; Sun, 26 Apr 2020 02:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/sqFsB6YKVZtwcDgXBcRBvOK5UJUzQdUs4Xjecz1bGc=; b=gpqBA57Bcf2tUIoa2CWoKC7Sds7aX0UU3N3bet0J/Qcp957fN6ZpNqaxfp1CSyP9qa uLQubpNRc6XXxwxVK+Cx56yM9iQjV/0JO8hHWyC1TbyzWoI2sr4gC7Jyw1hngcbQsXrk kI5qaLAbnu9T48bsogIvj60r2O/KxW6C8YjADJabE9FroUtP33aFy9Fy7HuZ2/vW2j/n Lr0yq09Wtnwb5UEGMA4d+5F6qk63Xo09xMRRBkDlquhTwZbPIX78I+rAxh+Dw0wbZ+Zv MndV6tUcS65woP2Z7LumbPUbRmd1mVX2eI5gQzLNEmPXCKYOlOtmX4C1hYlaVvEYreN2 irLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/sqFsB6YKVZtwcDgXBcRBvOK5UJUzQdUs4Xjecz1bGc=; b=OfjJ2LNUpKXWrp3h9x6h1nenhGwkve2rHUqPVHr6fLeH8OmNT25zkQel/x/2iyRsQt Y3c3LGCd3XmlQCCCEtrcIFlZnQb6X6OTL4bMOBty5+bXuE495hiAwcQUVjesRr2RobKC yPEXdF0SzNnxRjdEVjotoLtDO4f3fAr2hXx9tDYc/BF/p9XkPh7MXO6vfHNy43wxNxTe EbOHiIJ425aBku6bxwXNNGV8qIa/mlXULwSQNnC3APyPBJMUaiFXZtxmkqhFihLkoRkm YXXXSUy9qBQqngK2v869TWWu1X25U1FBflX+N3Y5mk9CKjuVRfbqlhDvI18wMBZEKx/e 5D9w== X-Gm-Message-State: AGi0Pua2yHYe8tIt2Iq6Gd1F8HRCHQTXgFhJWUyBnaO8p26qbJCLvvfK 1UqEfEEpGmlSnrUyQRm3qgaFL4cLAHLEB82kc92PeM5X X-Google-Smtp-Source: APiQypJbU6umwnBBljp1r9M7BB+om+eDepdIkzvbG4F+dFAurqbqPGr8wla4cj5kPDa80E8GvUKpKoJdD6T++Fv3I8o= X-Received: by 2002:a02:3341:: with SMTP id k1mr16272238jak.74.1587893568769; Sun, 26 Apr 2020 02:32:48 -0700 (PDT) MIME-Version: 1.0 References: <2535c7f2-ef59-467e-779b-6c9c6db82005@os-plus.org> In-Reply-To: <2535c7f2-ef59-467e-779b-6c9c6db82005@os-plus.org> From: Aryeh Friedman Date: Sun, 26 Apr 2020 05:32:36 -0400 Message-ID: Subject: Re: bhyve with AMD Ryzen 3900X and MSI MEG ACE X570 To: Christian Jeannot Cc: "freebsd-virtualization@freebsd.org" X-Rspamd-Queue-Id: 4992kp1LVtz4CX7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gpqBA57B; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-7.01), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 26 Apr 2020 09:32:51 -0000 On Sun, Apr 26, 2020 at 4:57 AM Christian Jeannot wrote: > Hi Community, > > I am testing bhyve from FreeBSD 12.1 RELEASE. > > My environment: > - CPU: AMD Ryze 3900X > - Mainboard: MSI MEG ACE X570, Default settings, latest BIOS 7C35v18 > - RAM: G.Skill RipJaws V DIMM Kit 64GB, DDR4-3200, CL16-18-18-38 > - GPU: Sapphire Nitro RX 5700XT > > I checked the settings in the BIOS. Virtualization options are enabled. > SVM is enabled. > > I follow the instruction from the FreeBSD handbook =E2=80=9E21.7. FreeBSD= as a > Host with bhyve=E2=80=9C. > > When I run > kldload vmm > I got an output that SVM is disabled by BIOS. When I check the BIOS it > is enabled. > What happens if you load it from /boot/load.conf Also you shouldn't have to turn on kvm (I do have it turned on but it should not be required). Bhyve has a upper limit of 16 vm's that it can run at once but I don't think this is based on core count of the processor. > When I try to start the VM with the example script I got the output > vm_create device not configured > > Did I miss something to configure? > > Does anyone has a Ryzen CPU and a actual MSI mainboard successfully run > bhyve? > I have two Ryzen 5 2600X/MSI machines as far I can tell looking at the specs (and what I remember when I was deciding to get a 3900X or 2600X) there is no practical difference, except for core count, from the point of view of virtualization/bhyve. One machine is a MSI B450 Tomahawk and the other is MSI B450 Gaming Pro. Both machines run bhyve with out any problem (one of them is my main home office server with 3 vm's on it [windows and 2 FreeBSD]) and the other is my primary desktop machine and used for R&D on PetiteCloud (which is a web interface to bhyve and qemu). Best regards > > =E2=80=94Christian > -- > -- > christian jeannot > vogelmauer 17 > 86152 augsburg > +49 821 81552861 > info@os-plus.org > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org