Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
3
-
NW - 2021-04-14, NW - 2021-04-28
-
43647
-
1
-
Added cores per socket and threads per core details to processors fact
-
Needs Assessment
Description
The current processors fact only contains the following information:
https://puppet.com/docs/puppet/7.5/core_facts.html#processors
We have received user's feedbacks that it is good to include more details such as Thread(s) per core, Core(s) per socket. For example:
lscpu | grep -e '^CPU(s)' -e '^Thread(s)' -e '^Core(s)' -e '^Socket(s)' |
CPU(s): 96 |
Thread(s) per core: 2 |
Core(s) per socket: 24 |
Socket(s): 2 |
Our processors fact only has the CPU count without Core(s) per socket and Thread(s) information:
{
|
count => 96, |
isa => "x86_64", |
models => [
|
"Intel(R) Xeon(R) Platinum 8268 CPU @ 2.90GHz", |
<this line repeats 95 more times> |
],
|
physicalcount => 2 |