From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 11 14:51:56 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0556E76D for ; Mon, 11 Aug 2014 14:51:56 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D49D9243D for ; Mon, 11 Aug 2014 14:51:55 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w10so10949571pde.9 for ; Mon, 11 Aug 2014 07:51:55 -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:content-type; bh=ppasApl3vVVRXUPlbJ52j8fSHMxBwQYD21NsOcpa7SU=; b=J4Mxr9ylRz0/wWww7PMk/c6t/oqNZ002SxZILGH/IFlITSbGzuIz0NdLoRfHjJXMbC hoTV8qM9FSseiz1G+vbTf5YethLYs9NQ3X0z3L9liW5ekm8LMIP6F+sGg+RmWQEct4Vg 6tttlYxA4KqpVJaKl0PXdjfYOzKJHDtBTlVOQGQPW7jrV53vLMFmlAxRAJZ0WZboPrei Gum1HjMvq7tzua71bVzSQUaoncxHKhfMTt9/0RNMoVUcoLdUf9pk4UbbxxUZD2BdMzj5 wYlUTlLB4w4xSn/KmK6+b3eaw1oaDzjgAOXmkAGDxMAeXwxAMIO8U40EPFyzVFOUj/JS pzIQ== X-Received: by 10.66.124.226 with SMTP id ml2mr1838042pab.142.1407768715340; Mon, 11 Aug 2014 07:51:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.53.227 with HTTP; Mon, 11 Aug 2014 07:51:40 -0700 (PDT) From: Jordan Starcher Date: Mon, 11 Aug 2014 10:51:40 -0400 Message-ID: Subject: Shared CPU in Bhyve To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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, 11 Aug 2014 14:51:56 -0000 Hello, As I understand, one of the great features of bhyve is the ability to have completely isolated resources where a guest OS can only consume N number of CPUs. However, I only have 4 CPUs on my machine and would like to use bhyve to create a Linux guest on my FreeBSD host. I don't want to dedicate an entire CPU to the bhyve guest. Is it possible to limit the CPU execution of a bhyve guest, or better yet, change the CPU priority so if other processes on the host machine need the CPU they can have it? Is it as simple as changing the niceness of the bhyve process? Thank you, Jordan Starcher