Hi.
I have Proxmox and one LXC and one VM in it.
Both of them hosts Ubuntu 22.04.
Both have lscpu version 2.37
When I run lscpu in LXC:
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU family: 6
Model: 42
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 7
CPU max MHz: 5900.0000
CPU min MHz: 1600.0000
BogoMIPS: 7005.51
When I run lscpu in VM:
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU family: 6
Model: 42
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 7
BogoMIPS: 7005.27
The difference - in VM lscpu does not show CPU max\min MHz.
But when I run "lscpu -e=CPU,MHZ" I get on CT:
CPU MHZ
0 5900.000
1 -
2 -
3 -
4 -
5 -
6 -
7 -
and in VM:
CPU MHZ
0 3502.638
1 3502.638
2 3502.638
3 3502.638
Why plain lscpu shows different output?
I've tried to change CPU type (host, kvm, intel and so on) in VM, add kvm: 1 in VM conf file - nothing realy helps.
Virtualization is enabled in BIOS and nested virtualization also enabled on PVE host.
Thanks.
I have Proxmox and one LXC and one VM in it.
Both of them hosts Ubuntu 22.04.
Both have lscpu version 2.37
When I run lscpu in LXC:
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU family: 6
Model: 42
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 7
CPU max MHz: 5900.0000
CPU min MHz: 1600.0000
BogoMIPS: 7005.51
When I run lscpu in VM:
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU family: 6
Model: 42
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 7
BogoMIPS: 7005.27
The difference - in VM lscpu does not show CPU max\min MHz.
But when I run "lscpu -e=CPU,MHZ" I get on CT:
CPU MHZ
0 5900.000
1 -
2 -
3 -
4 -
5 -
6 -
7 -
and in VM:
CPU MHZ
0 3502.638
1 3502.638
2 3502.638
3 3502.638
Why plain lscpu shows different output?
I've tried to change CPU type (host, kvm, intel and so on) in VM, add kvm: 1 in VM conf file - nothing realy helps.
Virtualization is enabled in BIOS and nested virtualization also enabled on PVE host.
Thanks.