From owner-freebsd-virtualization@freebsd.org Fri Jul 6 10:06:57 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B91AA1038525 for ; Fri, 6 Jul 2018 10:06:57 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57548775A3 for ; Fri, 6 Jul 2018 10:06:57 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id w126-v6so22444076oie.7 for ; Fri, 06 Jul 2018 03:06:57 -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=fisc/j9TuKkyLTOUEypSnzBe7L8+M5q5hKVcTIY8/O0=; b=jbIPXQYst5CGgVWOr1uSXHbli0TqupooqZ+pKEp4+wCi+57o6FiAtmP4atozKC63dR MhstiXBFSDI2YRKTNJwdHn9O46TDMYQFH60qdd6hDeJ53UvFRaDsFoFXnUKHxZlGzVR+ ktsme8+m7GBqb9K60dkhLvK4EJKSCY16v/EenW7JxB5MxLluY+cUTlZavDKvuXoDWKxh 2Dqm5G22Zx3ABaIJS95lzp21ZwVODZ8yBYkZrnZqYkbqtBEZHstfkZ/oF17ZK/C+daaG afUTbyywMvJAuBwXp7Wlu1/bd8Z9kvcRdIjeNERQ7nOggU/A9cagO4mofOi/prLIsfxP kltw== 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=fisc/j9TuKkyLTOUEypSnzBe7L8+M5q5hKVcTIY8/O0=; b=oVmgNUAKyv0OU7kN2pgmJYAoTk1sfq2nOiZRh+xh8CzDNWUrjdm6DvfIOjY+FdRoWh ij55bnl+Iwd1u2kHsGei3p9ADZjxVsHxKKDg6+YzwvS5LkphtNTMo43OuXrGtXhKpcXa fqn0KNu2zGCXtmJCE12aflX3mJk/S+pRaju+Z2XUgtHcKQMXNSzqgGxx+JlRhF26XHTS EGga4dXlYc2+k/ysE+XmPikBR27P2Cpqfji9J3F9sjBM8uBisVqmZvJUvV9AeaXeUq6j Q3N7ID2dejEajgCJ+W402+MiDugnsoLb6uQEXByFPQdBvF2QttSb3otTGAHXF5CeibKY S5Xg== X-Gm-Message-State: APt69E0NbdnZjOFgCxSJu03asVRZHOmtYPo6KrCLpIs3IQnkpLkqXyH6 CbLMzAP1BmY0DRUJSpf745O8PjJZc3mGoArXtV5vGQ== X-Google-Smtp-Source: AAOMgpfiOXtdOucwqrqR/chAtL0p4yBbwHgNF1oTb3WQP3DxD2Wv/xo3bgct0UZE4ry+1o5St/9l3oX0Z1Pzgrp4qzs= X-Received: by 2002:aca:5545:: with SMTP id j66-v6mr11473984oib.291.1530871616560; Fri, 06 Jul 2018 03:06:56 -0700 (PDT) MIME-Version: 1.0 References: <1595599bd62b43b2842b9a652c6d1773@SERVER.ad.usd-group.com> In-Reply-To: <1595599bd62b43b2842b9a652c6d1773@SERVER.ad.usd-group.com> From: Jason Tubnor Date: Fri, 6 Jul 2018 20:06:43 +1000 Message-ID: Subject: Re: bhyve server 2016 lockup To: Matt Churchyard Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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: Fri, 06 Jul 2018 10:06:59 -0000 Hi sorry on mobile so replying top. I've got some 2016 guests running close to 12 months uptime. Just some ideas below: RAM allocation a little low for 2016 so bump that a little. I use zvol for ahci storage with 4k blocks but have run 8k blocks as well. MSSQL doesn't like anything more than 4k. Swap out the nic e1000 for virtio. You'll get better throughput without emulation. Drivers are available in places but I can provide you the iso version that we use in production. I think this is what is causing you issues. Cheers. Jason. On Fri., 6 Jul. 2018, 18:22 Matt Churchyard, wrote: > Hello, > > I have a server 2016 virtual machine which I only created for testing and > don't use much. Booting it up recently I've found that it locks up > consistently within a few minutes of booting. What can I do to try and > figure out what's causing the problem? > > Host was recently updated to 11.2 > # uname -a > FreeBSD dev.--- 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 > 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC > amd64 > > Bhyve command is as follows > # bhyve -c 2 -m 2G -Huwl > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd > -U 841e8764-75f4-11e8-b2e3-50e549369bc6 -l com1,stdio > -s 0,hostbridge -s 31,lpc -s 3:0,ahci-cd,/vm/.config/null.iso -s > 4:0,ahci-hd,/vm/w2016/disk0.img -s 5:0,e1000,tap1,mac=58:9c:fc:08:8e:70 > -s 6:0,fbuf,tcp=0.0.0.0:5900 -s 7:0,xhci,tablet w2016 > > Top output - > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 29796 root 22 20 0 2122M 944M kqread 0 24:59 113.13% bhyve > > Regards, > Matt Churchyard > > _______________________________________________ > 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" >