From owner-freebsd-hackers@freebsd.org Tue Dec 3 09:58:11 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 524FB1CFDCB for ; Tue, 3 Dec 2019 09:58:11 +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 47Ry8x2Xt7z4B6h for ; Tue, 3 Dec 2019 09:58:08 +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 xB39w1ve065409 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Dec 2019 10:58:01 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1575367081; bh=o9TJyytu+NfoqV6uo1lpET2b1GCm430HRlVUeBECkdk=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=EoxLjeibERDHdjL/gCbXj9QffxjrhTzCVZp2w6mYSu6LE/xEbdezXfy7+PLYNFETB OD8zC3pAWHTfURnqrh6lq7z5ulSYQl8XiaNyRrH/rf4N7gyX5mcFAwFPopSi0gIDft 1aKb1j94RDTbiyKOyLCcxyZF4NZvQ+rUCxdFJ93I= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id xB39w0bK065406; Tue, 3 Dec 2019 10:58:00 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 3 Dec 2019 10:58:00 +0100 (CET) From: Wojciech Puchar To: "Rodney W. Grimes" cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: bhyve+windows 7 multicore performance In-Reply-To: <201912030812.xB38ChQ0033844@gndrsh.dnsmgr.net> Message-ID: References: <201912030812.xB38ChQ0033844@gndrsh.dnsmgr.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47Ry8x2Xt7z4B6h X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=EoxLjeib; 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 [-4.60 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[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:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.30)[ip: (-8.73), ipnet: 194.1.144.0/24(-4.36), asn: 43476(-3.49), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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] 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: Tue, 03 Dec 2019 09:58:11 -0000 >> >> >> i run bhyve VM like this: >> nice -n -20 /usr/sbin/bhyve -s 0,hostbridge -m 22528M \ > ^^^^^^^^^^^^ why? to make sure VM will not be slower down too much if i put other high load on host site. > >> >> But windows feels quite slower that it was before. There is for sure no >> problem with I/O performance. It's about compute speed. > > How did you measure this? If it is just a "feel" then it could > be almost anything, if you have some solid numbers to look at > then perhaps some conclusions can be made. > >> What i do wrong? > > 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. > an unintended side effect. > > Did you copy the windows 7 from the old server, or is this > a new install to the VM. If you copied it there may be a > HAL issue/missmatch. Copied, and installed missing drivers. I didn't install windoze for over 5 years :)