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.