this post was submitted on 13 Jul 2023
14 points (100.0% liked)

Linux

48074 readers
778 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 3 comments
sorted by: hot top controversial new old
[–] statue_smudge@lemmy.world 7 points 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 5 points 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.