From owner-freebsd-hackers@freebsd.org Tue Nov 26 20:51:04 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 03DBD1C132D for ; Tue, 26 Nov 2019 20:51:04 +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 47MwzW0hqfz4Fp1 for ; Tue, 26 Nov 2019 20:51:02 +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 xAQKowIA055999 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 Nov 2019 21:50:58 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1574801459; bh=DF+xykDEbueR03bfyd18C/KGNWTtir8JeMNklyz3QeM=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=XwJ1W94vXBQEKlf6gPW1GpWRGPJyDXIiJWp9km8L+xLX9p1kWOUC/3qpGND+b2XbX m0/I9NqSPzU2bLJ0wCbu9PImTHKByJDFioRJBNkGlmYeRrNfEc51TDfZNwETFZ53/M J0Dzc+pcNi5n0CpmY2FrAavIQudRQ2EIVF5uGMG4= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id xAQKowO5055996; Tue, 26 Nov 2019 21:50:58 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 26 Nov 2019 21:50:58 +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: <201911261059.xAQAxJTE002277@gndrsh.dnsmgr.net> Message-ID: References: <201911261059.xAQAxJTE002277@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: 47MwzW0hqfz4Fp1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=XwJ1W94v; 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.67 / 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.37)[ip: (-8.92), ipnet: 194.1.144.0/24(-4.46), asn: 43476(-3.57), 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, 26 Nov 2019 20:51:04 -0000 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 > >