From owner-freebsd-hackers@freebsd.org Wed Nov 27 08:07:18 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 289381CD5E8 for ; Wed, 27 Nov 2019 08:07:18 +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 47NCzn3kSRz3JlC for ; Wed, 27 Nov 2019 08:07:17 +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 xAR87Cj7092146 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 27 Nov 2019 09:07:13 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1574842033; bh=WGdM/+BE1NV+J3HXJUr9UOpVXWZn9Rc6o5bLBTvFt3U=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=hK97bsTnJJm8s44ldUd5Ix4tJsEW5vTN5fT5Rp3L6sBsZUaSisn+6bt5I20G0buUz clVd9Ei8ius+g5MiqrAH2pba1gd4k7SZrHC2jgkP7OU1k9DKiW5eFGiDUYcN9ILiZ9 VJbscLHbxk0Ij3pNLeWeC9kuVxulnBZQbMTPYqhw= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id xAR87CK0092143; Wed, 27 Nov 2019 09:07:12 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Wed, 27 Nov 2019 09:07:12 +0100 (CET) From: Wojciech Puchar To: "Rodney W. Grimes" cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: Nothing is broken, but changed WAS: what's got broken in bhyve after upgrade In-Reply-To: <201911262125.xAQLPnwU004541@gndrsh.dnsmgr.net> Message-ID: References: <201911262125.xAQLPnwU004541@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: 47NCzn3kSRz3JlC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=hK97bsTn; 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.65 / 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:c]; 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.35)[ip: (-8.85), ipnet: 194.1.144.0/24(-4.43), asn: 43476(-3.54), 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: Wed, 27 Nov 2019 08:07:18 -0000 thanks On Tue, 26 Nov 2019, Rodney W. Grimes wrote: > Almost forgot, be sure you install it to /usr/include before > trying to compile stuff, you may end up picking up old values > unless you use buildworld. > > cp /usr/src/sys/amd64/include/vmm.h /usr/include/machine/vmm.h > > >> thank you >> >> On Tue, 26 Nov 2019, Rodney W. Grimes wrote: >> >>>> New bhyve gets sockets, cores and threads parameters from command line. >>>> fixed now. >>>> >>>> Question - is 16 core limit in bhyve a hard one because of something, or >>>> it can be changed? >>> >>> Yes, modify this line: >>> #define VM_MAXCPU 16 /* maximum virtual cpus */ >>> in ./amd64/include/vmm.h >>> >>> You'll need to rebuild vmm.,ko, and anything else that includes vmm.h >>> >>> >>>> On Tue, 26 Nov 2019, Wojciech Puchar wrote: >>>> >>>>> upgraded to >>>>> >>>>> FreeBSD puchar.net 11.3-STABLE FreeBSD 11.3-STABLE #0 r354807: Fri Nov 22 >>>>> 22:45:43 CET 2019 root@puchar.net:/usr/src/sys/amd64/compile/puchar amd64 >>>>> >>>>> >>>>> i have setting hw.vmm.topology.cores_per_package=16 in loader.conf >>>>> >>>>> >>>>> before upgrade - bhyve virtual machines (windows 7) see one CPU with 2 or 4 >>>>> cores (depending how much i use with -c option in bhyve). >>>>> >>>>> after upgrade - bhyve sees single core CPUs. Which in case of windows 7 pro >>>>> means no more than 2 cores will be used. >>>>> >>>>> What's wrong and how to fix it? >>>>> >>>>> _______________________________________________ >>>>> freebsd-hackers@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>>>> >>>>> >>>> _______________________________________________ >>>> freebsd-hackers@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>>> >>> >>> -- >>> Rod Grimes rgrimes@freebsd.org >>> >>> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >> > > -- > Rod Grimes rgrimes@freebsd.org > >