由于我的 Linux 输出,我知道我的机器硬件名称是 i686,处理器类型是 i686。但我不知道为什么它们是一样的。我想知道机器硬件名称和处理器类型之间有什么区别。
更清楚地解释了这一点info uname:
`-m'
`--machine'
Print the machine hardware name (sometimes called the hardware
class or hardware type).
`-p'
`--processor'
Print the processor type (sometimes called the instruction set
architecture or ISA). Print `unknown' if the kernel does not make
this information easily available, as is the case with Linux
kernels.
Run Code Online (Sandbox Code Playgroud)
因此,硬件名称是 CPU架构,而处理器类型是所用指令集的名称。引用维基百科:
指令集架构区别于微架构,微架构是一组用于实现指令集的处理器设计技术。具有不同微架构的计算机可以共享一个通用指令集。例如,Intel Pentium 和 AMD Athlon 实现了几乎相同版本的 x86 指令集,但具有完全不同的内部设计。
| 归档时间: |
|
| 查看次数: |
873 次 |
| 最近记录: |