49
submitted 2 days ago by Virual@lemmy.dbzer0.com to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] thingsiplay@lemmy.ml 6 points 2 days ago

You can now assign processes to specific CPUs or groups of CPUs in System Monitor, known as setting CPU affinity. (Taras Oleksyn, KDE Bugzilla #429151)

Huh. I wonder when this is needed to set it after a process is started. Is there an actual use case for this? I understand what this does, but why would anyone change it? Is there a real world example someone could give me?

[-] Markaos@discuss.tchncs.de 9 points 2 days ago

Some generally older software has buggy multi threading implementation, and forcing its threads to execute "interleaved, but never simultaneously" often improves stability or even completely hides the issue.

Also I know some games used to have big performance issues if they had too many hardware threads available, but I don't know why exactly

[-] zurohki@aussie.zone 8 points 2 days ago

There's also modern CPU structure, where there might be a performance hit if you involve cores that are attached to a different cache or don't have direct access to memory. Threadripper ran into that sort of thing.

[-] buckykat@hexbear.net 3 points 1 day ago

Some processors, like Ryzen CPUs above 8 cores, have their cores physically split onto multiple chiplets, and having a process split across two or more chiplets can introduce overhead transferring data between them.

[-] AcornTickler@sh.itjust.works 6 points 2 days ago

Some older games (example: GTA 4) have broken physics with modern CPUs due to core count.

[-] tutter@lemmy.blahaj.zone 3 points 2 days ago

Emulation i would guess?

this post was submitted on 18 Jul 2026
49 points (100.0% liked)

Linux

66512 readers
1210 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 7 years ago
MODERATORS