From owner-freebsd-virtualization@freebsd.org Sun Jul 24 07:15:41 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5238BB9BC73 for ; Sun, 24 Jul 2016 07:15:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBAA1508 for ; Sun, 24 Jul 2016 07:15:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id A08D1D644; Sun, 24 Jul 2016 07:15:40 +0000 (UTC) Date: Sun, 24 Jul 2016 07:15:40 +0000 To: freebsd-virtualization@freebsd.org From: "iateaca (Teaca)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: <75fb590a5b7706c932125ec3689b9958@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFeUaxw= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 07:15:41 -0000 aWF0ZWFjYSBhZGRlZCBhIGNvbW1lbnQuCgoKICBJbiBodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDU0NzMjMTUxMzU2LCBAZWRpdG9yX2NhbGxmb3J0ZXN0aW5nLm9yZyB3cm90ZToKICAKICA+ IFN1cHBvcnQgZm9yIEZyZWVCU0QgNiBhbmQgb2xkZXIsIGV2ZW4gaWYgZm9yIGhpc3RvcmljYWwv YWNhZGVtaWMgcHVycG9zZXMsIGlzIGEgdG9waWMgdGhhdCBrZWVwcyBjb21pbmcgdXAuIExlZ2Fj eSBzeXN0ZW1zIGNvbWUgaW4gYWxsIHNoYXBlcyBhbmQgc2l6ZXMgYW5kIEkgY2FuIHRoaW5rIG9m IGF0IGxlYXN0IG9uZSBwb2ludC1vZi1zYWxlIHZlbmRvciB0aGF0IHNwYW5zIGdlbmVyYXRpb25z IG9mIEZyZWVCU0QgYW5kIG90aGVyIFVuaXggc3lzdGVtcy4KICA+CiAgPiBJcyB0aGlzIGNvZGUg aW4gYSB1c2FibGUgc3RhdGU/CiAgPgogID4gSSB0aGluayBtYWtpbmcgaXQgZWFzeSBmb3IgdGhl IHZhcmlvdXMgaW50ZXJlc3RlZCBwYXJ0aWVzIHRvIHVzZSBpdCB3b3VsZCBiZXR0ZXIgZHJpdmUg aXRzIGRpcmVjdGlvbi4KICA+CiAgPiBGWUk6IFlvdSBjYW4gYWxzbyB1c2UgbXkgYWNjb3VudCAn ZGV4dGVyJyBvbiB0aGlzIHN5c3RlbS4KICAKICAKICBZZXMsIHRoaXMgY29kZSBpcyBpbiBhIHVz YWJsZSBzdGF0ZS4gSSBoYXZlIHRlc3RlZCBib3RoIHRoZSBhdGEtaGQgYW5kIGF0YXBpIGZlYXR1 cmVzIHdpdGggdGhlIEFUQSBMZWdhY3kgRnJlZUJTRCBndWVzdCBkcml2ZXIuIEl0IG1pZ2h0IGJl IGEgZ29vZCBpZGVhIHRvIHRlc3QgaXQgd2l0aCBvdGhlciBndWVzdCB0aG91Z2gsIGFuIG9sZGVy IExpbnV4IGRpc3RyaWJ1dGlvbiBtYXliZS4gSSB3aWxsIHRlc3QgaXQgYWZ0ZXIgSSBmaW5pc2gg d2l0aCB0aGUgR1NPQyBwcm9qZWN0LgoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdz LmZyZWVic2Qub3JnL0Q1NDczCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5m cmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IGlhdGVhY2Es IG5lZWwsIHR5Y2hvbiwgbWF2LCBncmVoYW4KQ2M6IGVkaXRvcl9jYWxsZm9ydGVzdGluZy5vcmcs IGZyZWVic2QtdmlydHVhbGl6YXRpb24tbGlzdAo= From owner-freebsd-virtualization@freebsd.org Sun Jul 24 16:41:05 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A410ABA392F for ; Sun, 24 Jul 2016 16:41:05 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CC6F1A43 for ; Sun, 24 Jul 2016 16:41:05 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 33CFF202B3 for ; Sun, 24 Jul 2016 12:40:58 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sun, 24 Jul 2016 12:40:58 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=C3s buaJ42VMVegwZaBZ/LY05+dU=; b=MKWGWXVGxySvOMceClRSM+RhsrqOnVZNUkT zd1vLZszzj2Jtj1tIWOcBiM9JELIE5Jo07v7C7EwYPlxkpAWwvSmgBnnqpySorM8 U79XyfhsO9V/0BPAk01OWoYFbfI5tWfi1ZBOL5FaKCMk9IsTKncvb7pb3TBg1+Mb YMYC34xk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=C3sbuaJ42VMVegwZaBZ/LY05+dU=; b=d6bIN oKFhtmpUdrOXkrEEmAEk7CIvd13hhAelvnY7sKGIEGfXynkO8UmoVwl6QLHUcvtU qm4WzOHuEdHpWj1hxxNwsQmiy8eV06CmyVFPZZw/xhHvXW4rXP4iNe5BJ0mlUAJZ GfluM1uKKndPndzLjnkg1/h0uQ2NX9W4P3MXu0= X-Sasl-enc: 8qcb9wfcHS0zlYbnOO84TD87UPIXU2zBbs89D33KpT2g 1469378457 Received: from pumpkin.growveg.org (potato.growveg.org [82.70.91.102]) by mail.messagingengine.com (Postfix) with ESMTPA id C2783CCDC1 for ; Sun, 24 Jul 2016 12:40:57 -0400 (EDT) To: freebsd-virtualization@freebsd.org From: tech-lists Subject: some bhyve guests showing high load on host X-Enigmail-Draft-Status: N1110 Message-ID: Date: Sun, 24 Jul 2016 17:40:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 24 Jul 2016 16:41:05 -0000 Hi, Why is WCPU so high? The guests corresponding to these processes are all linux guests; they aren't showing much load at all (0.05-0.1). Given this fact, I'm at a loss as to what to debug or how. last pid: 14970; load averages: 0.09, 0.08, 0.08 up 599+04:37:46 17:34:53 93 processes: 1 running, 91 sleeping, 1 stopped CPU: 0.0% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.8% idle Mem: 2634M Active, 64G Inact, 85G Wired, 790M Cache, 1725M Buf, 34G Free ARC: 80G Total, 8694M MFU, 71G MRU, 656K Anon, 347M Header, 132M Other Swap: 4096M Total, 30M Used, 4066M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 94969 root 10 20 0 32796M 735M vmidle 21 5:30 800.00% bhyve 94859 root 6 20 0 4123M 501M vmidle 21 1:51 400.00% bhyve 95062 root 6 20 0 16411M 441M vmidle 20 1:19 400.00% bhyve thanks -- J. From owner-freebsd-virtualization@freebsd.org Mon Jul 25 01:48:09 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADECBBA4072 for ; Mon, 25 Jul 2016 01:48:09 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 32A9D1DD3 for ; Mon, 25 Jul 2016 01:48:08 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp14-2-37-105.lns21.adl2.internode.on.net (HELO leader.local) ([14.2.37.105]) by ipmail05.adl6.internode.on.net with ESMTP; 25 Jul 2016 11:12:57 +0930 Subject: Re: some bhyve guests showing high load on host To: tech-lists , freebsd-virtualization@freebsd.org References: From: Shane Ambler Message-ID: <57956EA0.3090007@ShaneWare.Biz> Date: Mon, 25 Jul 2016 11:12:56 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 25 Jul 2016 01:48:09 -0000 On 25/07/2016 02:10, tech-lists wrote: > Hi, > > Why is WCPU so high? The guests corresponding to these processes are all > linux guests; they aren't showing much load at all (0.05-0.1). Given > this fact, I'm at a loss as to what to debug or how. How are you starting your bhyve's? Are you using the -H option? From man bhyve - -H Yield the virtual CPU thread when a HLT instruction is detected. If this option is not specified, virtual CPUs will use 100% of a host CPU. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-virtualization@freebsd.org Mon Jul 25 01:54:28 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74943BA419B for ; Mon, 25 Jul 2016 01:54:28 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 381E411DA for ; Mon, 25 Jul 2016 01:54:28 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id y134so58514174pfg.0 for ; Sun, 24 Jul 2016 18:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=4LmUNwlk42HIC/O52Bh/5eLo4T7Smp7WdY6I3F9o8NM=; b=SDQMM6ZrJ7fIMakaeke/gA0chYR0oQL7AShrTGrNMz4pjeq2+jth4VG+aWWQ6pNZT5 WjzQi6kSAqOZnii4//Eq3cORmsiyurV1Vlt3nScmok40ldTZqpMvbHYY3FvVl0w2nzPz WytOiDpXHQN2IEDO1JpR7VzPSbOjHNv2zt5FNGpbTpXJmvGrZDISwvztm5EY86Ukffm9 Oh2mVSji4O0AYCZNe/2w9mPsvrO8XjtK+rFPpor3233H+KsW5FC9LvDi+xmjq0be3K+R Xfpg5Qt/kHbYyuriyDaMAtMbkqwBcVN51vMbS54ZQTRS+JO1ZgO+PEfVRH58q2Q4M4QG NZ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=4LmUNwlk42HIC/O52Bh/5eLo4T7Smp7WdY6I3F9o8NM=; b=T1Lm0ROROFYQlaOfFxG0dVorHSUl0+orw5/3MJIQCuUqA6pPJpPzXW8VYm2VTMCJ6s LV9w/eyvJyV6S4zUJRe2IjxEc81FFfqbqj84DZKx+8bxeOYDxVIwlLYsUQGue845xm4l O7i4xiWiaLYxqfekw6dV/sMT9c8x12pv/3PnlFX3ph888Cfq4ZUyCflLC0fQZt5kCGCY 5jDDaOPvJwQ20AvgFrmEfaFP2sZrHnlNmqPSLNdN/3x/3NAR+biO5yGtfDkAu7jPveyh pRiYJeYDRnZd3Y2NF03FGo9NN1YHquf1micK3zuU3rPyzaUTW+Equ97y5IAjbagjCJP3 7n0g== X-Gm-Message-State: AEkoouuzpIRtjRmR/PsHRDa4IeWGbi0ZlRIxiy6cal1+3/MmMBYm32d1g6I58nzb/GZOJQ== X-Received: by 10.98.33.72 with SMTP id h69mr25073015pfh.28.1469411667659; Sun, 24 Jul 2016 18:54:27 -0700 (PDT) Received: from mail.outlook.com (ec2-52-34-97-60.us-west-2.compute.amazonaws.com. [52.34.97.60]) by smtp.gmail.com with ESMTPSA id p64sm35257107pfd.11.2016.07.24.18.54.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jul 2016 18:54:26 -0700 (PDT) Date: Mon, 25 Jul 2016 01:54:26 +0000 (UTC) From: Dustin Marquess To: tech-lists , Shane Ambler , Message-ID: In-Reply-To: <57956EA0.3090007@ShaneWare.Biz> References: <57956EA0.3090007@ShaneWare.Biz> Subject: Re: some bhyve guests showing high load on host MIME-Version: 1.0 X-Mailer: Outlook for iOS and Android Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 25 Jul 2016 01:54:28 -0000 Another thing I've seen before is that if there's a lot of broadcast traffic on the network, that seems to increase CPU on the bhyve process. -Dustin On Sun, Jul 24, 2016 at 8:48 PM -0500, "Shane Ambler" wrote: On 25/07/2016 02:10, tech-lists wrote: > Hi, > > Why is WCPU so high? The guests corresponding to these processes are all > linux guests; they aren't showing much load at all (0.05-0.1). Given > this fact, I'm at a loss as to what to debug or how. How are you starting your bhyve's? Are you using the -H option? From man bhyve - -H Yield the virtual CPU thread when a HLT instruction is detected. If this option is not specified, virtual CPUs will use 100% of a host CPU. -- FreeBSD - the place to B...Software Developing Shane Ambler _______________________________________________ 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" From owner-freebsd-virtualization@freebsd.org Mon Jul 25 06:00:10 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83A11BA4CFD for ; Mon, 25 Jul 2016 06:00:10 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5951113D1 for ; Mon, 25 Jul 2016 06:00:10 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 332842026B for ; Mon, 25 Jul 2016 02:00:09 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 25 Jul 2016 02:00:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=sjpzIP7rAf1zzZeUg4FNZTa/7Dw=; b=MbCav9 Kx2yEyQyHeQuuvEeR2RPOcssTo8hPMKDbSIWAp3ZBnnLxq2XNO4CeF8mv/CUlPJ5 s5fSFzlb1Zebo4bufgT4QURJmVnxJdF4EzCWEoPUfC1ykZNZax7qdU5VDPylPAIL 8yVwkvB80QuLLeomzM99xfmhwWcAJOqNa0oAU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=sjpzIP7rAf1zzZe Ug4FNZTa/7Dw=; b=UlejCvgkDdHUTNKBnF1pUxw+YDzTHGtrd4Y1aYhSkUN8BRj bl/aHM/aO9afstxnnOVkV5aqIGK2+zkkMv+fl2wz3tKrhEa8FWFpUzr6C+sVYntY /tgQ+tZ/ol7WY8O8157E84lcCwjG0Do2HSTLlz3r+b8wDAm+NEcRuKK/pwos= X-Sasl-enc: YBbMtaduSsKXQaWBA4SLvpsA8mlOBy/wk1KHQ2w6Z108 1469426408 Received: from pumpkin.growveg.org (potato.growveg.org [82.70.91.102]) by mail.messagingengine.com (Postfix) with ESMTPA id C9EFDF2A09 for ; Mon, 25 Jul 2016 02:00:08 -0400 (EDT) Subject: Re: some bhyve guests showing high load on host References: <57956EA0.3090007@ShaneWare.Biz> From: tech-lists X-Enigmail-Draft-Status: N1110 To: freebsd-virtualization@freebsd.org Message-ID: <8e9b5956-9fe1-2bc4-31d1-45905618f0a0@zyxst.net> Date: Mon, 25 Jul 2016 06:59:57 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57956EA0.3090007@ShaneWare.Biz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 25 Jul 2016 06:00:10 -0000 On 25/07/2016 02:42, Shane Ambler wrote: > How are you starting your bhyve's? Are you using the -H option? > > From man bhyve - > -H Yield the virtual CPU thread when a HLT instruction is > detected. If this option is not specified, virtual CPUs will > use 100% of a host CPU You know, I didn't think of that. There's 7 or so VMs. I can't check them all right now as some need notification, but I will check them all. The ones I have checked so far *do* have -H specified; I expect the two remaining showing 400% CPU haven't... Many thanks, -- J. From owner-freebsd-virtualization@freebsd.org Thu Jul 28 21:48:49 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D909CBA7B62; Thu, 28 Jul 2016 21:48:49 +0000 (UTC) (envelope-from jesa7955@gmail.com) Received: from mail-ua0-f193.google.com (mail-ua0-f193.google.com [209.85.217.193]) (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 9C98916BB; Thu, 28 Jul 2016 21:48:49 +0000 (UTC) (envelope-from jesa7955@gmail.com) Received: by mail-ua0-f193.google.com with SMTP id 39so3089247uah.0; Thu, 28 Jul 2016 14:48:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=cLeWsAI4R0tkv5X7+yEUiZpYoQFMzl9nztNTzUW+H94=; b=CdTcLTXnPOn+Hmoj+uu1AUQj4R/de0eMVfez74dLUlTbtN7/fH3bsBJgjAM7ZPbbfo b13NLnD3MAGIM/FJYk4v8TWIu5eEdVdDp+fFlmKDipQ/sjsfTx6Y8ShROpyxdj9gZk2B OAWhzTLrC1ixY5LPQVDkCy7DljRYVBjQl89Z6tNY4Dy+pBoeAac5c8LjZXq7ZT26hdPC oaz6bt8eUijB4VMrslOupD3SxIyA0ffo7DQevO4EwL7nO5Ssir/JzDPth2+FTu0YgDzA z5u1izqzQJO5UfvBxDLj/+HeNxx4ZZJ01R75PdkU4jfWuhDtEQD5KWhXE7CIWOp5BgNW GfLQ== X-Gm-Message-State: AEkoousaBS+lRlTKJsxD2CWAl+ultI8QgTlcFdzY3adBKcYATp4S96vHJ9d2vKkJXZHa/Q== X-Received: by 10.159.39.3 with SMTP id a3mr16418904uaa.62.1469727951443; Thu, 28 Jul 2016 10:45:51 -0700 (PDT) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com. [209.85.217.170]) by smtp.gmail.com with ESMTPSA id 40sm1905258uat.9.2016.07.28.10.45.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2016 10:45:51 -0700 (PDT) Received: by mail-ua0-f170.google.com with SMTP id 35so45050412uap.1; Thu, 28 Jul 2016 10:45:51 -0700 (PDT) X-Received: by 10.176.64.195 with SMTP id i61mr16639949uad.40.1469727951032; Thu, 28 Jul 2016 10:45:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.38.108 with HTTP; Thu, 28 Jul 2016 10:45:50 -0700 (PDT) From: Tong Li Date: Fri, 29 Jul 2016 01:45:50 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Call for testing on vagrant-bhyve To: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 28 Jul 2016 21:48:50 -0000 Hello Everyone, As part of this year's GSoC, we created a project named vagrant-bhyve which enables bhyve as a backend of Vagrant so that we can use Vagrant to manage bhyve VMs. Now most of fundamental functions are working, including booting up a box, providing network access to a box, getting ssh into a box (you can check status in details on GitHub). My mentors and I have done some testes, but we still need more hands to help us find bugs. We also need more users' feedbacks to help us confirm most needed functions other than basical ones and prioritize their implementation. So, please help us. I have documented a step by step guide on how to test vagrant-bhyve, you can follow that. When you find some problems or need some new features, feel free to open an issue. All your testing and feedback will be much appreciated. :) Here is another thing. I am using PF to porvide NAT and port forwarding (thanks to vm-bhyve's hints), but got two problems. One is about PF anthor and another is about port forwarding. I opened two issues for them, please also help me figure out these two problems if you have met them before. Thanks a lot. Best Regards, Tong From owner-freebsd-virtualization@freebsd.org Sat Jul 30 10:47:10 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F062BA6EB8 for ; Sat, 30 Jul 2016 10:47:10 +0000 (UTC) (envelope-from kumara.bsd@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 CC15C1859 for ; Sat, 30 Jul 2016 10:47:09 +0000 (UTC) (envelope-from kumara.bsd@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id p129so45769472wmp.0 for ; Sat, 30 Jul 2016 03:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qzTPZR3+bH60v5YaT2hvkzZZ4UJ9T9I06v/9sLvouSk=; b=CGoU2UfT3Saj2OQYeBg0atv2v2OEQidwozSWhtb3pB/UUnWe6YpXfi3S5v5Q5DC6XV xiIpXMMqKxygZDDUhP/9ASgpkRkBJAuEC5C5ejrmf3NWJfDz1ruvGPTwb0ibB+NdF5oN hhWd/Z00GXYXjNmfUB/UUO/kWr6eQfILXIE91LT1LYdRkXGvXZcGv+8Uy2VZwIbDO6/v biyF91PjzaDMzcqMpaIqdDug6c1Utx/5mnV5Xt3zco47GHu9c5M/JyLWcHIaxlHn5jm1 qCihM6QfjZdZm3mRmzAYYDEjDB1w0fvwwibLUF5Tabb12Tmla5vhmWQdtT1dRCw6V6bf 9yrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qzTPZR3+bH60v5YaT2hvkzZZ4UJ9T9I06v/9sLvouSk=; b=bf7ex0v50jWaHzC7LDvkSlA9QpS+DqXTTP8kWdwStkGnJwuEgVZziIgzTp0fbAUNwN i0NL7kNrKFUCGQG68hURzETZJDGWmWQzoP8+IxFW8KuoikELcOgJZPpbCenreiXUrLT7 EHZUjT/L9oe7b2uomNVi8E+Chx1yLbJ/V4mmnPVkGR0aVv9tBuTey39MHxHXa3hM6sq/ V2eZ7+NSLiKytCm8fijv0+LFi+LUiYWQJsEKz4jGrlP7sUvIIBMiHh5zTuHMrNKnJrBX 877MLncwM1JEU5lfWzXlseVoI2cawxgSVn7fFdxhozvR71rn3YwmkjMCWeOH5dgVBa29 QTJg== X-Gm-Message-State: AEkoout/IZp7pCQ2U7yG+NDmCSy21rmH3MVeTWcq+lDy1trd1rwKWzAItGo8hxSiSpkDmAF+faHby3WUMJzfmw== X-Received: by 10.28.129.145 with SMTP id c139mr13070743wmd.102.1469875627633; Sat, 30 Jul 2016 03:47:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.227.200 with HTTP; Sat, 30 Jul 2016 03:47:07 -0700 (PDT) From: kumara rathnavel Date: Sat, 30 Jul 2016 16:17:07 +0530 Message-ID: Subject: Bhyve To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 30 Jul 2016 10:47:10 -0000 Hello Everyone, I have just started developing something in FreeBSD. I have done few changes in the memory part. Before that i just want to confirm that for the guest machines for the system memory there is only one object used. If the memory is greater than he lowmem remaining is allocated in highmem. The memory between these two is used for MMIO which is a separate object. When I did few changes FreeBSD vm booted fine. But when i tried windows it was vm_run error and value is EFAULT. The EFAULT is because of the GPA that belongs to the MMIO region and the exact value is 4276093104 and fails in the function vm_handle_inst_emul. I would like to know why is this different in both the cases. Thanking You, Kumar. From owner-freebsd-virtualization@freebsd.org Sat Jul 30 12:35:12 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B861BA91C5 for ; Sat, 30 Jul 2016 12:35:12 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61E391E99 for ; Sat, 30 Jul 2016 12:35:11 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 792AC20508 for ; Sat, 30 Jul 2016 08:35:10 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 30 Jul 2016 08:35:10 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=MAKuAeFNhAYJ4TPdcMF1P6wRUUk=; b=YLyFqh Vi8Uryg8PLJE8XyhtbAlTgD/v5mpzJ0m1AaSH8ta7CAV5CpOY+eRpuxD80OhOQxO d6BwcbKE1hD1fbWIsncUeA8AAMkyXcgX9t7uxOE+HX9RafvlfVO7g5rgsFCRHFBZ HYu+9Dq7hnb0w6K8CxSiGYb3kxn3iOtBA9MH8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=MAKuAeFNhAYJ4TP dcMF1P6wRUUk=; b=IiiVidPshpxWYBfnHic0BM3jyRrOLzkfyOFFq75uP0lEBiB SyRmD6fY3xVk7MfWBskJV/51GtkmahvnqfSMcFq8joGArQPPSTIGAGyDWdILzk1k Ynelr7TbQpoaXtf1zgx451kWUFTtd2HJWY2C1EPBx/Zd2iDYamtL2SSiAyfY= X-Sasl-enc: cTREu2mKkK/EzJq6M3zRyKyBzMzYiriXwAFzWgdc3fDv 1469882110 Received: from pumpkin.growveg.org (potato.growveg.org [82.70.91.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EA7CCCDCB for ; Sat, 30 Jul 2016 08:35:09 -0400 (EDT) Subject: Re: some bhyve guests showing high load on host To: freebsd-virtualization@freebsd.org References: <57956EA0.3090007@ShaneWare.Biz> <8e9b5956-9fe1-2bc4-31d1-45905618f0a0@zyxst.net> From: tech-lists Message-ID: Date: Sat, 30 Jul 2016 13:35:09 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <8e9b5956-9fe1-2bc4-31d1-45905618f0a0@zyxst.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 30 Jul 2016 12:35:12 -0000 On 25/07/2016 06:59, tech-lists wrote: > On 25/07/2016 02:42, Shane Ambler wrote: >> > How are you starting your bhyve's? Are you using the -H option? >> > >> > From man bhyve - >> > -H Yield the virtual CPU thread when a HLT instruction is >> > detected. If this option is not specified, virtual CPUs will >> > use 100% of a host CPU > You know, I didn't think of that. There's 7 or so VMs. I can't check > them all right now as some need notification, but I will check them all. > The ones I have checked so far *do* have -H specified; I expect the two > remaining showing 400% CPU haven't... just following up on this - they were all using -H. A simple vm reboot cured it for each of them. Most odd. The one at 13.28% is expected - it's huge and busy. The rest are mostly idle. last pid: 62405; load averages: 0.30, 0.15, 0.07 up 605+00:35:21 13:32:28 80 processes: 1 running, 79 sleeping CPU: 0.0% user, 0.0% nice, 0.5% system, 0.0% interrupt, 99.5% idle Mem: 396M Active, 96G Inact, 85G Wired, 1727M Buf, 6102M Free ARC: 80G Total, 5601M MFU, 74G MRU, 784K Anon, 387M Header, 80M Other Swap: 4096M Total, 30M Used, 4066M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 21771 root 10 20 0 32796M 31601M vmidle 11 593:17 13.28% bhyve 21839 root 4 20 0 8219M 750M vmidle 18 73:29 0.29% bhyve 55293 root 6 20 0 8219M 1488M vmidle 27 84:10 0.00% bhyve 30053 root 6 20 0 4123M 2783M vmidle 28 71:57 0.00% bhyve 21933 root 6 20 0 16411M 985M vmidle 10 55:56 0.00% bhyve 21965 root 4 20 0 4123M 1095M vmidle 8 41:59 0.00% bhyve 21910 root 6 20 0 4123M 747M vmidle 27 40:47 0.00% bhyve 21985 root 6 21 0 16411M 843M vmidle 7 39:49 0.00% bhyve thanks for your help, -- J.