On 2022-02-09, Hrvoje Popovski <hrv...@srce.hr> wrote:
> On 9.2.2022. 19:04, Kapetanakis Giannis wrote:
>> On 09/02/2022 19:48, Mihai Popescu wrote:
>>> $ dmesg | grep smt
>>> cpu0: smt 0, core 0, package 0
>>> cpu1: smt 1, core 0, package 0
>>> cpu2: smt 0, core 1, package 0
>>> cpu3: smt 1, core 1, package 0
>>>
>>> for
>>>
>>> AMD A8-5500B APU with Radeon(tm) HD Graphics, 3194.46 MHz, 15-10-01
>>>
>>> What could be the "smt" thing?
>>>
>> 
>> multi threading
>> 
>> # sysctl hw.smt
>> 
>> G
>> 
>
> and i think that "package" is cpu socket ..

Yes.

The numbers come from what's reported by the relevant CPUID instruction,
the only one actually used by OpenBSD is smt to disable all but one
thread in a core, otherwise they're just for information.

I'm not sure the reason for the gaps in numbering on some AMDs, but the
documentation just talks about IDs and doesn't imply that they have to
be contiguous. (https://www.amd.com/system/files/TechDocs/24594.pdf
page 629).


Reply via email to