On 22/6/22 23:54, Matthew Miller wrote:
On Tue, Jun 14, 2022 at 05:44:27PM -0600, Jerry James wrote:
Just a quick question. To determine how many cpu's/cores/channels
the kernel is configured to support, do I need to look at the kernel
source to determine if all of the cores I have are capable of being
used, or is there something else available to tell me without going to
the source?
The values the kernel was configured with are in
/boot/config-<version>. If I understand your question correctly, you
are looking for CONFIG_NR_CPUS, which is 8192 on my machine.
You can also look at /proc/cpuinfo for what's actually detected — or run
`lscpu` for a more human-readable view (especially when there are a lot of
identical cores!)
Or, `cpu-x` for a GUI view with a lot of detail.
Thanks Greg. I installed cpu-x and tried all the commands. What makes
the first two processes difficult from my perspective is the cpu I have
has 32 treads all of which are the same so the first two processes lists
all 32.
I ran the cpu-x bench marks for random numbers and what was interesting
was the results for 32 threads were only around 16 times the result for
1 thread, which is probably to be expected given the cpu has 16 cores.
regards,
Steve
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure