From nobody Sun Sep 25 20:44:00 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MbHtJ5hhlz4cvKS for ; Sun, 25 Sep 2022 20:44:08 +0000 (UTC) (envelope-from verm@darkbeer.org) Received: from mx.coeval.ca (mx.coeval.ca [184.75.211.21]) (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 4MbHtH65Qvz3WcV for ; Sun, 25 Sep 2022 20:44:07 +0000 (UTC) (envelope-from verm@darkbeer.org) Received: from mx.darkbeer.org (unknown [192.168.211.20]) by mx.coeval.ca (Postfix) with ESMTP id 92E6E43605D for ; Sun, 25 Sep 2022 20:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbeer.org; s=mail; t=1664138640; bh=3KVJY0DRYDRYlMs/I0DXqGr8bwy/Pm+DRL1tGfMyEmM=; h=Date:From:To:Subject:References:In-Reply-To; b=iRq1ctQJdz5b8VvKMzNjxfCe2GVsA34EbqJDe+6BvVLUSMmJyDZCxRwOZ0ndmUv61 Y+MF2mDFwaqI5c59sUEkbsCXG/Tth4gwI8wJ83Fhcolx+SPA88lLCWjHttknSniWGR oayVdM6sWcAs4KZFXzhxePURV3NSXKVf28ywz5gA= Received: by mx.darkbeer.org (Postfix, from userid 1001) id 91098470BFD; Sun, 25 Sep 2022 20:44:00 +0000 (UTC) Date: Sun, 25 Sep 2022 20:44:00 +0000 From: Amar Takhar To: questions@freebsd.org Subject: Re: Disabling CPUs Message-ID: <20220925204400.GA91573@darkbeer.org> References: <20220922180626.GB79310@darkbeer.org> <20220924070708.GA48911@darkbeer.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4MbHtH65Qvz3WcV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=darkbeer.org header.s=mail header.b=iRq1ctQJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of verm@darkbeer.org designates 184.75.211.21 as permitted sender) smtp.mailfrom=verm@darkbeer.org X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip4:184.75.211.21]; R_DKIM_ALLOW(-0.20)[darkbeer.org:s=mail]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[darkbeer.org:+]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[darkbeer.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:32489, ipnet:184.75.211.0/24, country:CA]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2022-09-24 22:07 -0700, Kevin Oberman wrote: > Well, no joy. My BIOS had no ability to disable cores. Confirmed with Lenovo > support. So no ability to do more than cpuset. That really sucks. > Yes, your system is much bigger than my little Lenovo T16 ThinkPad. I have 11 > "CPUs". I always quote those number as there are only cores with hyperthreading > to look like 4 CPUs. Yeah me too for the most part but I do find that HT helps a lot with compiling which I do a lot of. > It may work, but I realized that my 8G of soldered memory is all I have until > my Crucial order arrives with an added 16G of DDR4. I suspect that there might > still be issues, but I won't know until there is enough RAM to actually load > the system. I did see a very consistent  panic at the same place in the VM > code, so it is probably easily traced down if more memory does not fix it. That's great. We'll probably have to chat some about this there are a few programs that I was hoping to get working under wine and one of them will not so I'll have to go the VM route which I haven't done in years. > I'm already seeing sound issues, but I have not even looked at them at this > point. This is my main system. Have not used a desktop system since I retired. Is it similar to the ones I've been having? If you turn verbose on you may get the same issues I did. See the 2nd attachment on this ticket: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263385 > It does appear that the cpuset processor setup does, largely stop the panics. > Stll, the system is not really stable. With both Intel and AMD committed to > mixed speed cores in this and the next generation, these issues are likely to > get serious attention from kernel developers which I have not been since the > end of the 70s when I programmed mostly in assembly on a variety of platforms. > I suspect that serious work is underway. I hope it comes more quickly than > getting graphics support on my 12 year old Sunny Bridge system where I had to > live with VESA for about a year with a 3/4 aspect ratio stretched to fill the > 9x16 screen. Really ugly. Hopefully, I've been using this system since about May with the panics and poor audio sometimes it drives me crazy and I use my old workstation. Losing those 8 E-cores really hurts when doing long compiles. I booted a Debian live CD and there were no issues with audio or the CPUs. The CPU I have now is one of the ones where the graphics chip didn't come out right so it's disabled. Small savings but I would haven't used it anyway. Thankfully the video card works extremely well so I can do my pytorch work with no issues. > Thanks again for your help. I really appreciate it even if it doesn't resolve > my issues. No worries it doesn't seem there are many using Alder Lake right now on FreeBSD. Hopefully our chats on the topic attract others! Amar.