From owner-freebsd-hackers@freebsd.org Thu Dec 5 19:25:01 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 DD7751A974C for ; Thu, 5 Dec 2019 19:25:01 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47TQf45ZfCz4YD0 for ; Thu, 5 Dec 2019 19:25:00 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id xB5JOw1B045422; Thu, 5 Dec 2019 11:24:58 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id xB5JOw7V045421; Thu, 5 Dec 2019 11:24:58 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201912051924.xB5JOw7V045421@gndrsh.dnsmgr.net> Subject: Re: bhyve+windows 7 multicore performance In-Reply-To: To: Wojciech Puchar Date: Thu, 5 Dec 2019 11:24:58 -0800 (PST) CC: Darius Mihai , "Rodney W. Grimes" , freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 47TQf45ZfCz4YD0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.69 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.82)[-0.824,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.03), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.80)[-0.803,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 19:25:01 -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. Does this close the issue of performance for you and I can remove this thread from my list of active investigation? THanks, -- Rod Grimes rgrimes@freebsd.org