From owner-freebsd-hackers@freebsd.org Thu Dec 5 09:44:45 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 493871C3EF4 for ; Thu, 5 Dec 2019 09:44:45 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (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 47T9mW6CHzz41h4 for ; Thu, 5 Dec 2019 09:44:43 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id xB59iajk084287 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Dec 2019 10:44:36 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1575539077; bh=xI3uTs2WlaJZqSQnRCmrkiUkMoJ2zJM6pcIFxXUVqIs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=KckWqSqq+4Ou2p9tiO9aSwqQ5pDKMoUzqUm78QPpcAEMNDW1McWhYQyXku3nAY2d/ udD1H956FE9uC6irI+Uw8hOdRuM65DL3lPRb3wBSQw1oLb32p+jZuN4FW/qHywqmzG A39LmYnPnxMk90Rl6YB8Rymder8Eq/ULIk3c+zoM= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id xB59iaAP084284; Thu, 5 Dec 2019 10:44:36 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 5 Dec 2019 10:44:36 +0100 (CET) From: Wojciech Puchar To: Darius Mihai cc: Wojciech Puchar , "Rodney W. Grimes" , freebsd-hackers@freebsd.org Subject: Re: bhyve+windows 7 multicore performance In-Reply-To: Message-ID: References: <201912031529.xB3FTMnY035614@gndrsh.dnsmgr.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Rspamd-Queue-Id: 47T9mW6CHzz41h4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=KckWqSqq; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.58 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; CTYPE_MIXED_BOGUS(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.28)[ip: (-8.66), ipnet: 194.1.144.0/24(-4.33), asn: 43476(-3.47), country: PL(0.07)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2019 09:44:45 -0000 On Wed, 4 Dec 2019, Darius Mihai wrote: > > > On Wed, Dec 4, 2019, 18:22 Wojciech Puchar wrote: > >>> > >>> Try 4 cores, and drop the priority boost, you may be causeing > >> > >> Well i need more cores than 4 for that VM. > >> I will try even number (10) and no nice. > > > > If 4 cores performs better than 10 cores why would you want > > performs better per thread. Not as total. > > > removing -P option improved performance a bit. Well - a large bit. > > > If I remember correctly, windows runs PAUSE very often when idling, > so having many cores that stay idle may slow down the system > since -P forces context switches when that instruction is > executed.  > > Darius Possibly. But for sure - this made things faster a lot. Actually close to bare metal performance.