How can I determine how many threads Linux Mint sees and can use?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.
Sep 30, 2024
83
12
8
I simply want to know if Linux is capable of using all the threads available in the CPU.
Are you referring to the usage of the available cores or to how many threads can be created?

Threads are probably a software limit.

The usage of available cores can nicely be shown with 'top -1'. The load average also depends on the number of available cores in that the load average can, for example, go up to 400%, when 4 cores are used 100% each.

Some mainboards have a BIOS that can allow you to limit the number of available cores. I don't know if there's a way to limit the number of available cores once Linux is booted.

You can use tools to pin (the threads of) programs to particular cores with tools like taskset. Htop can show threads.
 
  • Like
Reactions: Fritz

Fritz

Well-Known Member
Apr 6, 2015
3,509
1,481
113
70
Are you referring to the usage of the available cores or to how many threads can be created?

Threads are probably a software limit.

The usage of available cores can nicely be shown with 'top -1'. The load average also depends on the number of available cores in that the load average can, for example, go up to 400%, when 4 cores are used 100% each.

Some mainboards have a BIOS that can allow you to limit the number of available cores. I don't know if there's a way to limit the number of available cores once Linux is booted.

You can use tools to pin (the threads of) programs to particular cores with tools like taskset. Htop can show threads.
Thanks for this.