From nobody Sat Aug 20 06:39:34 2022 X-Original-To: current@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 4M8prg6d24z4ZS7T for ; Sat, 20 Aug 2022 06:39:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M8prg1Xnpz3k1Y; Sat, 20 Aug 2022 06:39:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id a13so3291008ild.3; Fri, 19 Aug 2022 23:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=4am89rNSnXQ6GrzzukZnCFY5hvolSYlIVlCV4HXtwYA=; b=T+WDNPia4n8lfl58JLuE/5Qp4epOa5imOrkT6enH9sn/avnRrqdYrpJs7a+wG68jYr AD24O2uRGZGbBUtuLVjSLb2/p632Bz4FMdX2cd4N6/kGFHPo8lsxeJ5m/xVV2HbMOdC2 tDLUOx4iaLyan+4WhW9JEKW224ZR+E/Z6+elRUM2TJW+oE2VrrBKzv3PYtF6+Ywy/FpK F7vtTurd+NcSAD5DaAegELJHtCzUHfRx95xgGLf7n59l2/0PIKYGqD7GVMu68H/ZwunF lQqgXNScA3/v/2hM7nJlZ3t8MSVrxImDDV+30Xs98YUJhiEgs21Wz2tINEM34lT3mc4K bccw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=4am89rNSnXQ6GrzzukZnCFY5hvolSYlIVlCV4HXtwYA=; b=hNL1bPd+xgI4s6oNjf9GmBPul6eYZL9ptooWNLJT1320o+1nFEGNkoClwdYqWOIkyF 7qw+b4hzgRNbsTGC4cw/e5XHAbFNS8rguq6ZStw1kyCl1Y6odYPPfEZs4cugIRYpUFSV M4NRn3NIAhKstKm0qjK22roFujdcVY7/IEF6LvsWW8njwWboQ2QCeG0LaOXrxtv5TxNz HolhFqTNLMoqdinrPbrVZ7CRIWIeTMJCfjRgevjANSa8SJ6Ew0saW8vjYyv2I7kDix2I odgBXWV8Q9l+QrA/S4hh4+zl5YpOHN5vbKHcY4/P9aG57Xo3o6o1B1bTXdY9iP/U4JFQ HWdQ== X-Gm-Message-State: ACgBeo0BS5fIOblD7uJCMgdtjqaQ6JqiD8dT7n4MsEirlsLtYBlljhiU xZcAzS8bSY+V5a976ewACp4RftZeKyEVvNEMfLpZyUwr X-Google-Smtp-Source: AA6agR5RDiypu+cwRQRQIqBNBN+i4fxRLtIfoG+L0hJXz3E4vEA5p+MHGZWcIzL/AaelVde8+7CKDky1ELxRSLWrk58= X-Received: by 2002:a05:6e02:1489:b0:2df:a555:be93 with SMTP id n9-20020a056e02148900b002dfa555be93mr5287896ilk.290.1660977586041; Fri, 19 Aug 2022 23:39:46 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <2ba3e191-64c1-b854-3eb3-080345b56839@FreeBSD.org> In-Reply-To: <2ba3e191-64c1-b854-3eb3-080345b56839@FreeBSD.org> From: Kevin Oberman Date: Fri, 19 Aug 2022 23:39:34 -0700 Message-ID: Subject: Re: Status of Alder Lake support To: Alexander Motin Cc: current Content-Type: multipart/alternative; boundary="000000000000fefa8f05e6a67aed" X-Rspamd-Queue-Id: 4M8prg1Xnpz3k1Y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=T+WDNPia; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::12e as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.62 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.986]; NEURAL_HAM_LONG(-0.97)[-0.973]; NEURAL_HAM_MEDIUM(-0.96)[-0.958]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12e:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000fefa8f05e6a67aed Content-Type: text/plain; charset="UTF-8" Thanks for the info, Alexander. I really appreciate it. I'll find out for myself next week when my SSD gets here, though I might try booting from a thumb drive and see what happens. On Fri, Aug 19, 2022, 18:43 Alexander Motin wrote: > Hi Kevin, > > On 19.08.2022 20:50, Kevin Oberman wrote: > > What is the current state of support for Alder Lake CPUs with a mix of > > "performance" and "Efficiency" cores. I just received my first system > > with such a processor and will be installing FreeBSD as soon as my SSD > > arrives. I have no idea what issues I might run into. (Will it even > work?) > > Generally they work. I have one in my lab since they appeared, and its > biggest problem is UEFI console screwed by ASUS, which I partially > fixed. At some BIOS versions they also broke PXE booting, but then > fixed it in later update. > > The FreeBSD scheduler still has no idea about P and E cores, just trying > to balance load equally based on cache topology (which is not symmetric > there), but it is not too bad, since cores performance is not so > dramatically different. > > hwpmc(4) also does not differentiate P and E cores, and since they have > different counters, it means that only few universal architectural > counters are usable, which are sufficient for basic profiling though. > > There were some stability issues reported, but were solved by either > FreeBSD or BIOS update, so still not really diagnosed AFAIK. > > -- > Alexander Motin > --000000000000fefa8f05e6a67aed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the info, Alexander. I really appreciate it. I= 'll find out for myself next week when my SSD gets here, though I might= try booting from a thumb drive and see what happens.

On Fri, Aug 19, 2022= , 18:43 Alexander Motin <mav@freebsd.= org> wrote:
Hi Kevin,

On 19.08.2022 20:50, Kevin Oberman wrote:
> What is the current state of support for Alder Lake CPUs with a mix of=
> "performance" and "Efficiency"=C2=A0 cores. I just= received my first system
> with such a processor and will be installing FreeBSD as soon as my SSD=
> arrives. I have no idea what issues I might run into. (Will it even wo= rk?)

Generally they work.=C2=A0 I have one in my lab since they appeared, and it= s
biggest problem is UEFI console screwed by ASUS, which I partially
fixed.=C2=A0 At some BIOS versions they also broke PXE booting, but then fixed it in later update.

The FreeBSD scheduler still has no idea about P and E cores, just trying to balance load equally based on cache topology (which is not symmetric there), but it is not too bad, since cores performance is not so
dramatically different.

hwpmc(4) also does not differentiate P and E cores, and since they have different counters, it means that only few universal architectural
counters are usable, which are sufficient for basic profiling though.

There were some stability issues reported, but were solved by either
FreeBSD or BIOS update, so still not really diagnosed AFAIK.

--
Alexander Motin
--000000000000fefa8f05e6a67aed--