Linux to read the Processor model, physical cores, virtual cores and L1, L2 cache
来源:互联网 发布:微店和淘宝的付款方式 编辑:程序博客网 时间:2024/05/23 17:51
The information about the CPU of a Linux computer is stored in the file /proc/cpuinfo(cat /proc/cpuinfo)
It is a long file so that we need to use pipeline tool to process our information.
In general, the information inside the cpuinfo is about the setting of each processor. Since the Intel company has the technique of hyper-thread. Therefore, the processor here is the virtual cores.
About the actual cores is the number displayed in the row of cpu cores of each processor.
The model name is also displayed in each processor.
If the computer has two CPU, then we can distinguish them by the physical id. If the processors' physical id are the same, then they belong to one CPU.
The way to see the L1/ L2 cache is use command:
See which level is:
$ cat /sys/devices/system/cpu/cpu0/cache/index0/level
See the size:
cat /sys/devices/system/cpu/cpu0/cache/index0/size
- Linux to read the Processor model, physical cores, virtual cores and L1, L2 cache
- cores
- Does Android Support Dual-Cores or Multi-Cores Processor
- On Linux, how to tell how many cores of the machine are active?
- Nodes, Sockets, Cores and FLOPS
- Manage CPU cores in Linux
- retroarch cores
- 理清Processor, Processor Sockets, Processor Cores, Logical Processors, Hyperthreading这些概念吧
- How to run program or process on specific CPU cores on Linux(转)
- C64x L1 L2 cache
- L1 L2 L3 cache
- How WhatsApp Grew to Nearly 500 Million Users, 11,000 cores, and 70 Million Messages a Second
- Cloud, computing-cores, and dock…
- Problem: How to coordinate activities of thousands of cores
- How do I utilise all the cores for nmake?
- Working with Kernel Cores
- 取得 CPU Cores信息
- 171121 Differences between the L1-norm and the L2-norm
- Android Studio com.android.dex.DexException: Multiple dex files define(重复引用包)
- ecshop中使用ueditor(或其他特效)報錯:b.replace is not a function/b[d].split is not a function
- IE环境下判断IE版本的语句...[if lte IE 6]……[endif][if lte IE 7]……[endif]
- Windows环境下Python v2.7.9,Notepad++编写程序中涉及中文,执行时CMD中显示乱码的解决办法
- float 与double类型范围和精度
- Linux to read the Processor model, physical cores, virtual cores and L1, L2 cache
- Android36_样式主题与自定义View
- 首字母下沉
- IntelliJ IDEA 显示行号方法
- 常用工具
- Android逆向工程-第三部分
- 数据结构:线性表的链式存储
- js instanceof
- 帝国cms 自定义二级栏目导航--showclasstemp