From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 2 11:19:53 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80BCCB43 for ; Mon, 2 Feb 2015 11:19:53 +0000 (UTC) Received: from mail-2.alumni.tu-berlin.de (mail-2.alumni.tu-berlin.de [130.149.5.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 4178436B for ; Mon, 2 Feb 2015 11:19:52 +0000 (UTC) X-tubIT-Incoming-IP: 118.209.93.13 Received: from ppp118-209-93-13.lns20.mel4.internode.on.net ([118.209.93.13] helo=[192.168.1.11]) by mailbox.alumni.tu-berlin.de (exim-4.72) with esmtpsa [UNKNOWN:AES256-GCM-SHA384:256] for id 1YIEsR-0007o8-3q; Mon, 02 Feb 2015 12:09:12 +0100 Date: Mon, 2 Feb 2015 22:09:04 +1100 (EST) From: Peter Ross X-X-Sender: petros@localhost To: freebsd-virtualization@freebsd.org Subject: Virtualbx and CPU counting Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Feb 2015 11:19:53 -0000 Hi, I have a question: I have a server with - 2 Xeon E5-2609, - 4 cores each - 4 threads per core On OS level, Linux and FreeBSD see 8 processors. VirtualBox offers 16 CPUs as the maximal number for a VM. I expected 32. How does this work? Regards Peter From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 2 11:24:49 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 958BAC88 for ; Mon, 2 Feb 2015 11:24:49 +0000 (UTC) Received: from mail-2.alumni.tu-berlin.de (mail-2.alumni.tu-berlin.de [130.149.5.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 54A2362B for ; Mon, 2 Feb 2015 11:24:48 +0000 (UTC) X-tubIT-Incoming-IP: 118.209.93.13 Received: from ppp118-209-93-13.lns20.mel4.internode.on.net ([118.209.93.13] helo=[192.168.1.11]) by mailbox.alumni.tu-berlin.de (exim-4.72) with esmtpsa [UNKNOWN:AES256-GCM-SHA384:256] for id 1YIF7W-0003Cc-Jn; Mon, 02 Feb 2015 12:24:47 +0100 Date: Mon, 2 Feb 2015 22:24:41 +1100 (EST) From: Peter Ross X-X-Sender: petros@localhost To: freebsd-virtualization@freebsd.org Subject: Re: Virtualbox and CPU counting In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Feb 2015 11:24:49 -0000 P.S. More precisly, I expected VirtualBOx to see 8 or 32 CPUs. In the past it was virtual CPU= "real" thread number, if I remember correctly. How many you give to a VM is a different matter. Regards Peter On Mon, 2 Feb 2015, Peter Ross wrote: > Hi, > > I have a question: > > I have a server with > > - 2 Xeon E5-2609, > - 4 cores each > - 4 threads per core > > On OS level, Linux and FreeBSD see 8 processors. > > VirtualBox offers 16 CPUs as the maximal number for a VM. > > I expected 32. How does this work? > > Regards > Peter > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://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 Feb 2 11:34:37 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82EBC3EC for ; Mon, 2 Feb 2015 11:34:37 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4BA0A7B0 for ; Mon, 2 Feb 2015 11:34:36 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BECE0206BB for ; Mon, 2 Feb 2015 06:34:30 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 02 Feb 2015 06:34:30 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= x-sasl-enc:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type; s=mesmtp; bh=U3n4vxrk5frj AQ6wAMlHu7cSt2Y=; b=V1hepqLScboMvp0/Yal9vwIpZU2LS0tiv2GhPINCT4+I nxn5zsrOZZt++a+zRDdAAlPhcevDAx0WYv2QhHQ2de5wGK/2g0gVH5ekW28lQGzj L79VVE/IGWFOF3AVX5KdhwoBrOQHrTjv97MrC7ZsmAUUwVbRvV92y0uB7AJ6u3I= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:cc:subject :message-id:in-reply-to:references:mime-version:content-type; s= smtpout; bh=U3n4vxrk5frjAQ6wAMlHu7cSt2Y=; b=ebqKkLSAF8rdu5n5Alho IvbaY5YRUBD9r8/GEY9UdTOkdoQZ67/iw9VLNGjQpF5ZwIDYaIMHLMRxdUk/LFqQ PQyfCbO9pX6tyGV3e2Zu1Hz9QvzH9R3pVpLwid3tSwnrsv35cuxiQMMWHO19aUnX bzIC2iDaQa0UvVEEdFxRFeY= X-Sasl-enc: I8U0rKHsQSutnLOTwWTeTuKtruluvZ35HyL70kX9QhsQ 1422876870 Received: from alonso-desktop.sodgeit.de (unknown [46.5.139.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 2630B6800FD; Mon, 2 Feb 2015 06:34:30 -0500 (EST) Date: Mon, 2 Feb 2015 12:34:21 +0100 From: "Schaich, Alonso" To: Peter Ross Subject: Re: Virtualbx and CPU counting Message-Id: <20150202123421.cb100c6611d484847102d9c3@fastmail.fm> In-Reply-To: References: X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Mon__2_Feb_2015_12_34_21_+0100_oZ4uzLjBx0S61amR" Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Feb 2015 11:34:37 -0000 --Signature=_Mon__2_Feb_2015_12_34_21_+0100_oZ4uzLjBx0S61amR Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2 Feb 2015 22:09:04 +1100 (EST) Peter Ross wrote: > Hi, >=20 > I have a question: >=20 > I have a server with >=20 > - 2 Xeon E5-2609, > - 4 cores each > - 4 threads per core >=20 > On OS level, Linux and FreeBSD see 8 processors. >=20 > VirtualBox offers 16 CPUs as the maximal number for a VM. >=20 > I expected 32. How does this work? >=20 > Regards > Peter Hi, The Xeon E5-2609 has 1 Thread per core, resulting in 4 Threads per Socket and 8 Threads in a dual-socket setup. If it had Hyperthreading (like the 2620 and "greater" models do), then it would have 2 Threads per core, i.e. 16 on a dual setup with 4 cores per socket. Alonso --Signature=_Mon__2_Feb_2015_12_34_21_+0100_oZ4uzLjBx0S61amR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJUz2C+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRUQ1N0JDOERFQjk5NEQ5QjUyQzBBMzVG RjhGNkI2RDBBQUNGQzY3AAoJEP+Pa20KrPxnUMgH/A1sui1wG1tWHhC+fdgno4wJ v8gupASQMIXGy0wAFnaDI/7suCvINRbHPJ5hPqrVqtl6xWbBMJHBs5TwtBLtiEDp Ez+OG+JYQKIQMc+1vqU5jNiA1CCgww9L7tiPjxng0Kfd8lddUlftkqpQ/6Rphi8C wmOMLR+ajy5UDKm2REfyy7hmzuTdjOjaNE8rAhqeLUcoJfs6Go24kGS+nmtVxoJz qW67P9ivj24MzIvWBigfum9ZcW/Lx+A8J+wSDAPx2iW4Wjvg6VLRkY1wZKbzSzMR COP4htrHKZeQEb64ecZLumVtJA3nSOuSjABYh0ZIiHX5LzXsol+qUnpJF86qzfI= =qonq -----END PGP SIGNATURE----- --Signature=_Mon__2_Feb_2015_12_34_21_+0100_oZ4uzLjBx0S61amR-- From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 3 06:20:27 2015 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A3B0C8F for ; Tue, 3 Feb 2015 06:20:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 413557BC for ; Tue, 3 Feb 2015 06:20:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t136KRXM052777 for ; Tue, 3 Feb 2015 06:20:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 195238] [Hyper-v] Enhance VMBUS and improve storage performance Date: Tue, 03 Feb 2015 06:20:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: delphij@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 03 Feb 2015 06:20:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195238 --- Comment #3 from Xin LI --- (In reply to Wei Hu from comment #2) Hi, I have noticed that there is a different implementation in kern/196185, is that a newer version of this patchset? -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 3 06:55:27 2015 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FA89527 for ; Tue, 3 Feb 2015 06:55:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 EA71CB33 for ; Tue, 3 Feb 2015 06:55:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t136tQkd061568 for ; Tue, 3 Feb 2015 06:55:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 195238] [Hyper-v] Enhance VMBUS and improve storage performance Date: Tue, 03 Feb 2015 06:55:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 03 Feb 2015 06:55:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195238 --- Comment #4 from Wei Hu --- (In reply to Xin LI from comment #3) No. Fang Jun has just updated the Bug 196185, -- "The hyperv_support.S will not be used this time, we will delete it." It turned out it is possible to add the feature without rebuilding the kernel. So we will not include the feature in the PORTS work. The code added in apic_vector.s is in align with Xen's implementation. Xen also has the similar code segment in the same files. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 5 19:32:54 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6000C501 for ; Thu, 5 Feb 2015 19:32:54 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (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 16AB2DE2 for ; Thu, 5 Feb 2015 19:32:54 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id l6so8068456qcy.12 for ; Thu, 05 Feb 2015 11:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=jtsTNN5VCPFN5C044cW6q+X+PqyAbEXQALF/SkKFyn8=; b=HmQKOYHTn0dViK83+ES8UfsgVvdVc3f2dm2bPFr5OLnLPyt/BWk5e1lpn0eQnYJ3mu lxWVMejSDYPZ7tgQk2aW2NCtFl/xc7UHP9cZFPIlAWHOjo02T+YZwU7716r4RTl9pLhr oz90uaGjO8jjx8ncum5iI5X7HMoOlpgoozcjEzRyzA7sEnNwF0GZ/NR79fPR5IOyB8ii 0Bb4hMO3wwXO1BrBEDU3zOAZFkIVBBHvKTddK4T3wlqe62QaIuywsUGYBnJVcs9+VkcC EAjmlnzEMhwvP/JY0Gn3dsl06cKQ8NmxMQ20VMLE8ocMY5HTGaGDgoRfPINso6drsiOb A3cg== X-Received: by 10.224.112.9 with SMTP id u9mr11864054qap.38.1423164770631; Thu, 05 Feb 2015 11:32:50 -0800 (PST) Received: from [192.168.15.4] (c-71-226-13-107.hsd1.ga.comcast.net. [71.226.13.107]) by mx.google.com with ESMTPSA id n13sm102284qaa.25.2015.02.05.11.32.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 11:32:49 -0800 (PST) Message-ID: <54D3C56E.7000600@gmail.com> Date: Thu, 05 Feb 2015 14:33:02 -0500 From: R0B_ROD User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Success... so far Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 05 Feb 2015 19:32:54 -0000 On FreeBSD 10.1-STABLE 4GB RAM AMD64 K8 E-300 HP2B19WM Laptop Moved from Linux to *BSD. Newbie administrator. Will setup home network to learn more. Modified the GENERIC kernconf to suit my needs. Rebuilt the darn thing 3x. Installing Ubuntu Linux on file backend. Will do another vm on ZFS backend later. Installing base system now... Will report later on final results. -- > Roberto > ^ > /"\ / 33.2947° N, 82.2006° W > \ / ASCII REBEL CAMPAIGN / (1) 4044743997 > -X- AGAINST HTML EMAIL / witchdoctor.mdf at gmail.COM > / \ AND POSTINGS / http://mdf0.blogspot.com > \_/