To find out whether a CPU on a Linux system supports 36-bit physical addressing, you can use the lscpu
command. This command displays information about the CPU architecture, including the supported physical address size.
To use lscpu
, you can run the following command:
lscpu
This will output a variety of information about the CPU, including the model name, number of cores, threads, and sockets, as well as the architecture and capabilities of the CPU. You can then look for the "Physical address bits" field, which will indicate the size of the physical address space supported by the CPU. A value of 36 bits indicates support for 36-bit physical addressing.
Alternatively, you can use the /proc/cpuinfo
file to view information about the CPU. This file contains a list of key-value pairs that provide various details about the CPU. To view the physical address size supported by the CPU, you can use the following command:
grep 'address sizes' /proc/cpuinfo
This will output a line with the physical address size in the format "address sizes : bits physical, bits virtual". The value for "bits physical" indicates the size of the physical address space supported by the CPU.