To identify your AMD processor’s generation, perform the following steps on Linux:
Run the command:
$ lscpuCheck the values of CPU family and Model fields:
For 1st Gen AMD EPYCTM Processors (codenamed “Naples”), CPU Core AMD “Zen”
CPU Family: 23
Model: Values in the range <1-47>
For 2nd Gen AMD EPYCTM Processors (codenamed “Rome”), CPU Core AMD “Zen2”
CPU Family: 23
Model: Values in the range <48-63>
For 3rd Gen AMD EPYCTM Processors (codenamed “Milan”), CPU Core AMD “Zen3”
CPU Family: 25
Model: Values in the range <1-15>
For 4th Gen AMD EPYCTM Processors (codenamed “Genoa”), CPU Core AMD “Zen4”
CPU Family: 25
Model: Values in the range <16-31, 96-111, 120-123, 160-175>
For 5th Gen AMD EPYCTM Processors (codenamed “Turin”), CPU Core AMD “Zen5”
CPU Family: 26
Model: Values in the range <0-15, 16-31>