Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2022 22:07:55 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Amar Takhar <verm@darkbeer.org>
Cc:        questions@freebsd.org
Subject:   Re: Disabling CPUs
Message-ID:  <CAN6yY1vTxGMAhXcKEd%2BqZbMtbo13yS%2Buk25gjES_K1KF=zz2EA@mail.gmail.com>
In-Reply-To: <20220924070708.GA48911@darkbeer.org>
References:  <CAN6yY1s=ds_=yWsEWtVfoXchD5XXqU5uPw6bdFNW%2BdaU6t491A@mail.gmail.com> <20220922180626.GB79310@darkbeer.org> <CAN6yY1voZgRRc8hCe_hVXusdoeQrt%2B=shO28FbiUNMzK_5F2hQ@mail.gmail.com> <20220924070708.GA48911@darkbeer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000061694705e9796648
Content-Type: text/plain; charset="UTF-8"

On Sat, Sep 24, 2022 at 12:07 AM Amar Takhar <verm@darkbeer.org> wrote:

> On 2022-09-23 22:58 -0700, Kevin Oberman wrote:
> > Thanks, Amar! I'll give this a try tomorrow.
>
> No problem!
>
> Well, no joy. My BIOS had no ability to disable cores. Confirmed with
Lenovo support. So no ability to do more than cpuset.

>
> > Have you compared performance using only P cores vs. only E cores? My
> testing
> > (using only cpuset) compiles C faster with 8 E cores than 2 P cores (4
> "CPUs").
>
> Well my CPU has 8 P-cores, 16 with HT and then 8 E-cores so I'm always
> going to
> do better with the P cores.  The boost is different on the P cores as well
> and
> I'm using DDR5 memory which is also better from what I've heard with P
> cores.
>

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.

>
>
> > By any chance have you run a VirtualBox VM? I have found that a Windows
> 10 VM
> > loads, but the system panics as soon as the VM starts running. I have a
> couple
> > of things to try that could be triggering the problem. Notably, I have
> 3D HW
> > acceleration enabled and, since it is not available with scfb, it's a
> possible
> > cause.
>
> Oh boy.. I was actually planning on doing this in the next few days Wine
> isn't
> cutting it for a few programs.  I use emulators/libc6-shim/ to turn CUDA
> on for
> my FreeBSD apps and another one for Linux you could try that it's been
> amazing
> to have CUDA on FreeBSD.
>

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.

>
> > I'm getting tired of trailblazing! My current laptop did not have a
> working Wii
> > interface until iwlwifi. I had seen almost no comments on CURRENT, so I
> had no
> > idea how much trouble I was gettig into.
>
> haha well I still use this as my main workstation it's really annoying
> losing
> 1/2 my cores but it is what it is.  Wait until you get to the sound
> issues.  I
> haven't had time to dig real deep into what's going on with that but it's
> starting to get really annoying as well.  I'm sure this all has the same
> root
> problem.
>

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.

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.

Thanks again for your help. I really appreciate it even if it doesn't
resolve my issues.

>
>
> Amar.
>
>

-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--00000000000061694705e9796648
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small">On Sat, Sep 24, 2022 at 12:07 A=
M Amar Takhar &lt;<a href=3D"mailto:verm@darkbeer.org" target=3D"_blank">ve=
rm@darkbeer.org</a>&gt; wrote:<br></div></div><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">On 2022-09-23 22:58 -0700, =
Kevin Oberman wrote:<br>
&gt; Thanks, Amar! I&#39;ll give this a try tomorrow.<br>
<br>
No problem!<br>
<br></blockquote><div><span class=3D"gmail_default" style=3D"font-family:ta=
homa,sans-serif;font-size:small">Well</span><span class=3D"gmail_default" s=
tyle=3D"font-family:tahoma,sans-serif;font-size:small">, no joy. My BIOS ha=
d no ability to disable cores. Confirmed with Lenovo support. So no ability=
 to do more than cpuset.</span></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
<br>
&gt; Have you compared performance using only P cores vs. only E cores? My =
testing<br>
&gt; (using only cpuset) compiles C faster with 8 E cores than 2 P cores (4=
 &quot;CPUs&quot;).<br>
<br>
Well my CPU has 8 P-cores, 16 with HT and then 8 E-cores so I&#39;m always =
going to <br>
do better with the P cores.=C2=A0 The boost is different on the P cores as =
well and <br>
I&#39;m using DDR5 memory which is also better from what I&#39;ve heard wit=
h P cores.<br></blockquote><div><br></div><div style=3D"font-family:tahoma,=
sans-serif;font-size:small" class=3D"gmail_default">Yes, your system is muc=
h bigger than my little Lenovo T16 ThinkPad. I have 11 &quot;CPUs&quot;. I =
always quote those number as there are only cores with hyperthreading to lo=
ok like 4 CPUs. <br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>
<br>
<br>
&gt; By any chance have you run a VirtualBox VM? I have found that a Window=
s 10 VM<br>
&gt; loads, but the system panics as soon as the VM starts running. I have =
a couple<br>
&gt; of things to try that could be triggering the problem. Notably, I have=
 3D HW<br>
&gt; acceleration enabled and, since it is not available with scfb, it&#39;=
s a possible<br>
&gt; cause.<br>
<br>
Oh boy.. I was actually planning on doing this in the next few days Wine is=
n&#39;t <br>
cutting it for a few programs.=C2=A0 I use emulators/libc6-shim/ to turn CU=
DA on for <br>
my FreeBSD apps and another one for Linux you could try that it&#39;s been =
amazing <br>
to have CUDA on FreeBSD.<br></blockquote><div><br></div><div style=3D"font-=
family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">It may wo=
rk, but I realized that my 8G of soldered memory is all I have until my Cru=
cial order arrives with an added 16G of DDR4. I suspect that there might st=
ill be issues, but I won&#39;t know until there is enough RAM to actually l=
oad the system. I did see a very consistent=C2=A0 panic at the same place i=
n the VM code, so it is probably easily traced down if more memory does not=
 fix it.<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span c=
lass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:sma=
ll"> </span>
<br>
&gt; I&#39;m getting tired of trailblazing! My current laptop did not have =
a working Wii<br>
&gt; interface until iwlwifi. I had <span class=3D"gmail_default" style=3D"=
font-family:tahoma,sans-serif;font-size:small">s</span>een almost no commen=
ts on CURRENT, so I had no<br>
&gt; idea how much trouble I was gettig into.<br>
<br>
haha well I still use this as my main workstation it&#39;s really annoying =
losing <br>
1/2 my cores but it is what it is.=C2=A0 Wait until you get to the sound is=
sues.=C2=A0 I <br>
haven&#39;t had time to dig real deep into what&#39;s going on with that bu=
t it&#39;s <br>
starting to get really annoying as well.=C2=A0 I&#39;m sure this all has th=
e same root <br>
problem.<br></blockquote><div><br></div><div style=3D"font-family:tahoma,sa=
ns-serif;font-size:small" class=3D"gmail_default">I&#39;m already seeing so=
und issues, but I have not even looked at them at this point. This is my ma=
in system. Have not used a desktop system since I retired.</div><div style=
=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">=
<br></div><div style=3D"font-family:tahoma,sans-serif;font-size:small" clas=
s=3D"gmail_default">It does appear that the cpuset processor setup does, la=
rgely stop the panics. Stll, the system is not really stable. With both Int=
el and AMD committed to mixed speed cores in this and the next generation, =
these issues are likely to get serious attention from kernel developers whi=
ch I have not been since the end of the 70s when I programmed mostly in ass=
embly 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.</div><div =
style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_defa=
ult"><br></div><div style=3D"font-family:tahoma,sans-serif;font-size:small"=
 class=3D"gmail_default">Thanks again for your help. I really appreciate it=
 even if it doesn&#39;t resolve my issues.<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
<br>
<br>
Amar.<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr"><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">=
Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail:=
 <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.c=
om</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055=
683</div></div></div></div></div></div></div></div></div>

--00000000000061694705e9796648--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vTxGMAhXcKEd%2BqZbMtbo13yS%2Buk25gjES_K1KF=zz2EA>