Date: Wed, 21 Sep 2022 19:05:54 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: "freebsd-questions@freebsd.org" <questions@freebsd.org> Subject: Disabling CPUs Message-ID: <CAN6yY1s=ds_=yWsEWtVfoXchD5XXqU5uPw6bdFNW%2BdaU6t491A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000004bb06105e93a815f Content-Type: text/plain; charset="UTF-8" I am looking to disable all 8 E-cores on my Alder Lake system to prevent repeated crashes. The man page has an example of this: Modify the cpuset all threads are in by default to contain only the first 4 CPUs, leaving the rest idle: cpuset -l 0-3 -s 1 I did this, but in subsequent port build, all 12 "CPUs" were running at 100%. Am I missing something? Maybe use -p 1" instead of "-s 1". I also found suggestions to use "hint.lapic.N.disabled", but teh lines that were supposed to be in dmesg and the messages log were not present. I am baffled, but really need to do something to stop the crashes currently impacting Alder Lake systems. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000004bb06105e93a815f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:small">I am looking to disable all 8 E-cores on my Alde= r Lake system to prevent repeated crashes. The man page has an example of t= his:</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-ser= if;font-size:small">Modify the cpuset all threads are in by default to cont= ain only the first 4 CPUs, leaving the rest idle:<br>=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0cpuset -l 0-3 -s 1</div><div style=3D"font-family:tahom= a,sans-serif;font-size:small" class=3D"gmail_default">I did this, but in su= bsequent port build, all 12 "CPUs" were running at 100%. Am I mis= sing something? Maybe use -p 1" instead of "-s 1".</div><div= style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_def= ault"><br></div><div style=3D"font-family:tahoma,sans-serif;font-size:small= " class=3D"gmail_default">I also found suggestions to use "hint.lapic.= N.disabled", but teh lines that were supposed to be in dmesg and the m= essages log were not present. I am baffled, but really need to do something= to stop the crashes currently impacting Alder Lake systems.<br></div>-- <b= r><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signat= ure"><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 Engine= er<br>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkob= erman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B3= 18AB39EF1B055683</div></div></div></div></div></div></div></div></div> --0000000000004bb06105e93a815f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1s=ds_=yWsEWtVfoXchD5XXqU5uPw6bdFNW%2BdaU6t491A>