Reading Robert Love’s Linux Kernel Development. I’m just a hobbyist. I’m familiar with hardware manufacturers listing CPU cores that each have two threads.

Reading about Kernel processes and executing threads makes very little sense compared to a hardware core with two threads. One of my main goals is to understand the CPU scheduler, and really how it relates to cache management, pipeline, and branch prediction. I’m also curious about the difference in these systems when multi (hw) threading is turned off.

  • statue_smudge@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I usually call the CPU cores physical cores and logical cores. So a CPU might have 6 physical cores and 12 logical cores. Meaning that it has 6 real cores, but it shows up as 12 because of hyper threading.

  • elmicha@feddit.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Reading about Kernel processes and executing threads makes very little sense compared to a hardware core with two threads.

    For me it’s the opposite: a hardware core “having two threads” still sounds a bit strange. It can run two threads at the same time. Maybe Intel should have invented a better name for the thread-runner-thingie.