From owner-freebsd-virtualization@freebsd.org Sun Dec 11 17:11:26 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 A74F8C72BA4 for ; Sun, 11 Dec 2016 17:11:26 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 68DEAE74 for ; Sun, 11 Dec 2016 17:11:26 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id DEE1520AE974 for ; Mon, 12 Dec 2016 03:11:05 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D01E4280999 for ; Mon, 12 Dec 2016 03:11:05 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xk1DuffrKoDh for ; Mon, 12 Dec 2016 03:11:05 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 257DD2808F7; Mon, 12 Dec 2016 03:11:03 +1000 (AEST) Subject: Re: Debian 8 CPU stall To: Rajil Saraswat References: <9c9e83a5-16c6-0ab5-0ac4-af0a54430706@freebsd.org> <6cff5bf2-9654-8627-83c4-6ab48ee763b5@gmail.com> <56863fec-d8f8-2601-811f-511cd199e82f@freebsd.org> Cc: freebsd-virtualization@FreeBSD.org From: Peter Grehan Message-ID: <131518ab-c3fc-6509-ba24-08b5c32cddd5@freebsd.org> Date: Sun, 11 Dec 2016 09:11:18 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=YJDv8VOx c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=n5n_aSjo0skA:10 a=fs8nlc1NudZ2wVvRe4oA:9 a=pILNOxqGKmIA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 11 Dec 2016 17:11:26 -0000 Hi Rajil, > I don't seem to have that sysctl on my system. Should i create one? It's there: > # sysctl -a |grep vmm ... > hw.vmm.vmx.cap.posted_interrupts: 1 > hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 The easiest way to disable APIC virtualization is to add this line to /boot/loader.conf and reboot hw.vmm.vmx.use_apic_vid="0" (I got that wrong in the previous email; should have been zero) On a reboot, the above sysctl leaves should be set to 0. later, Peter.