在安装Ubuntu的POWER服务器上,开启SMT
来源:互联网 发布:ubuntu 打开u盘 编辑:程序博客网 时间:2024/06/02 05:31
1 SMT,Simultaneous Multithreading
同步多线程(SMT)是一种在一个CPU 的时钟周期内能够执行来自多个线程的指令的硬件多线程技术。本质上,同步多线程是一种将线程级并行处理(多CPU)转化为指令级并行处理(同一CPU)的方法。
2 命令ppc64_cpu
<span style="font-size:14px;">NAME ppc64_cpu - cpu settings utilitySYNOPSIS ppc64_cpu [OPTION]DESCRIPTION This utility allows users to view and set the cpu SMT, DSCR and smt-snooze-delay settings.OPTIONS --smt Get current SMT state. --smt={on|off} Set SMT state. --cores-present Get the number of cores present. --cores-on Get the number of cores currently online. --cores-on=X Put exactly X cores online. --dscr [-p <pid>] Get current DSCR system setting or, optionally, for <pid>. --dscr=<val> [-p <pid>] Change DSCR system setting or, optionally, for <pid>. --smt-snooze-delay Get current smt-snooze-delay setting. --smt-snooze-delay=<val> Change smt-snooze-delay setting. --run-mode Get current diagnostics run mode. --run-mode=<val> Set current diagnostics run mode. --frequency [-t <time>] Determine cpu frequency for <time> seconds, default is 1 second. --subcores-per-core Get number of subcores per core. --subcores-per-core=X Set subcores per core to X (1 or 4). --threads-per-core Get number of threads per core. --info Display system state information.</span>
3开启及状态
3.1查看SMT状态
root@zhaippc64le:~# ppc64_cpu --smtSMT is off
此时用ppc64_cpu --info查看时,只有第一列带*号
root@zhaippc64le:~# ppc64_cpu --infoCore 0: 0* 1 2 3 4 5 6 7Core 1: 8* 9 10 11 12 13 14 15Core 2: 16* 17 18 19 20 21 22 23Core 3: 24* 25 26 27 28 29 30 31Core 4: 32* 33 34 35 36 37 38 39Core 5: 40 41 42 43 44 45 46 47Core 6: 48* 49 50 51 52 53 54 55Core 7: 56* 57 58 59 60 61 62 63Core 8: 64* 65 66 67 68 69 70 71Core 9: 72* 73 74 75 76 77 78 79
3.2开启
ppc64_cpu --smt=on# ppc64_cpu --smtSMT is on用ppc64_cpu --info查看时,只有所有列带*号
# ppc64_cpu --infoCore 0: 0* 1* 2* 3* 4* 5* 6* 7*Core 1: 8* 9* 10* 11* 12* 13* 14* 15*Core 2: 16* 17* 18* 19* 20* 21* 22* 23*Core 3: 24* 25* 26* 27* 28* 29* 30* 31*Core 4: 32* 33* 34* 35* 36* 37* 38* 39*Core 5: 40* 41* 42* 43* 44* 45* 46* 47*Core 6: 48* 49* 50* 51* 52* 53* 54* 55*Core 7: 56* 57* 58* 59* 60* 61* 62* 63*Core 8: 64* 65* 66* 67* 68* 69* 70* 71*Core 9: 72* 73* 74* 75* 76* 77* 78* 79*
4 lscpu及/proc/cpuinfo
# lscpuArchitecture: ppc64leByte Order: Little EndianCPU(s): 160On-line CPU(s) list: 0-159Thread(s) per core: 8Core(s) per socket: 5Socket(s): 2NUMA node(s): 2Model: 8284-22ACPU max MHz: 3690.0000CPU min MHz: 2061.0000L1d cache: 64KL1i cache: 32KL2 cache: 512KL3 cache: 8192KNUMA node0 CPU(s): 0-39NUMA node1 CPU(s): 40-79
cat /proc/cpuinfo后查看processor,用ppc64_cpu --info查看到的带*号的cpu号都会在/proc/cpuinfo中显示。
参考:
1 处理器CPU概念及CPU多线程:http://blog.csdn.net/zhaihaifei/article/details/51015528
0 0
- 在安装Ubuntu的POWER服务器上,开启SMT
- 将 Ubuntu 安装在 IBM Power System LC 服务器上
- ubuntu on power服务器上安装docker binary package
- 在Ubuntu服务器上安装Node.js
- 如何在Ubuntu的服务器安装mongodb并开启远程连接
- thinkpad T430s 在win8上安装ubuntu双系统(UEFI开启)
- thinkpad T430s 在win8上安装ubuntu双系统(UEFI开启)
- 在Ubuntu上快速安装MySQL,远程连接云服务器上安装的mysql
- 在ubuntu上安装tftp服务器与nfs服务器
- ubuntu 安装Apache cgi在自己的服务器上网页上只显示内容
- 在Linux服务器上如何开启安全的SNMP代理
- 如何在Linux服务器上开启安全的SNMP代理
- ubuntu 上的 exim4邮件服务器安装
- ubuntu 14.4 上 nginx服务器的安装
- 如何在现有 SharePoint 服务器上安装 Power Pivot for SharePoint
- 关于在ubuntu服务器上安装R的igraphe的包遇到的问题的解决方案
- 在Ubuntu上安装MYSQL作为服务器, XP连接
- 如何在Ubuntu上安装LAMP服务器系统?
- WR720N上实现基于opwnwrt的Upnp音乐播放器(DLNA-wifi音箱移植)
- java数组和list互转方法
- JavaSe基础(19)-- String 与 StringBuffer
- System V消息队列
- 三、Java学习之语言基础(2)
- 在安装Ubuntu的POWER服务器上,开启SMT
- 关联容器:unordered_map详细介绍(附可运行代码)
- 【Android】笔记本
- JavaSe基础(20)-- 时间日期类
- enable-assembler,--enable-static,--enable-shared编译项的研究 .
- [HDU2588]GCD(数论)
- ffmpeg中的时间单位
- javascript中的字符串函数
- shiro jsp标签使用