线程的状态有5种还是6种
作者:啊鲁
前言:
在上一篇文章中啊鲁测试了i9 13900K关闭/开启效能E核心后的性能对比,得出的结论是关闭小核心然并卵,除了极少部分游戏有一丢丢的提升,其他都是核心全开优势更高。
从12代酷睿处理器开始,Intel采用性能核与大小核的设计,再配上超线程技术,使得CPU多线程性能得到了长足提的进步。
早在很久以前,江湖上有一种传闻是CPU关闭超线程会让CPU单核性能有所提升,以损失不一定用得上的多核性能来换取更高单核性能,这种方法可取么?在13代酷睿处理器中性能核和效能核都有了,超线程还是性能核心才支持,后台多任务交给效能核心群应该是足够了,由此看来,性能核的超线程完全有理由关闭,从而获得更高的单核性能,今天啊鲁就来试试13代酷睿关闭超线程前后的性能体验会不会拉开明显差距。
测试平台:
测试平台用的CPU是i9 13900K,8个性能核心与16个效能核心,配合HT加持共有32线程。
主板用的是微星MPG Z790 EDGE WIFI D4刀锋。
黑色PCB和银白色的装甲,看起来蛮搭配。
MSI标志性的龙魂LOGO,即使是还未通电,颜值依旧在线。
供电模块均配有全金属散热片。
你还别说,这个角度看还能发现不一样的美。
16+1+1相供电配置,16相为核心供电,每相最大稳定输出电流为90A,即使是遇到i9 13900K旗舰也丝毫不慌。
第一路M.2散热片采用快拆设计,免工具,这个设计确实方便,虽然用户不是经常进行更换M.2固态硬盘的操作。
该主板最高支持5333MHz DDR4内存,这频率的DDR4应该还是能正面刚一下DDR5内存的,哈哈。
前置Type-C接口,支持PD快冲,前提是你的机箱前置接口也要支持才行。
五路M.2接口均支持PCIe4.0协议,其中四路M.2接口加入了金属加固处理。也都配备了免工具M.2固态硬盘快拆卡扣。主板带有2*PCIe X16与1*PCIe X1插槽,第一条由CPU直出,原生更支持PCIe 5.0速率。其余两条分别支持PCIe 3.0X1,PCIe 4.0X4,由主板南桥负责提供。
ALC4080音频处理芯片,附近布有高质量音频液态电容,独立的音频区域设计,带来更纯净的电流设计。
后置I/O接口颇为丰富,DP1.4+HDMI2.1视频输出接口、数据接口方面:3*USB 5Gbps、4*USB 10Gbps、2*TYPE-C,速率分别为10Gbps和20Gbps。2.5G速率的 RJ45网卡接口、WiFi6E无线网卡。下方的两个小圆按钮分别用于清空BIOS设定和一键刷新BIOS。
显卡用的是目前最新旗舰微星RTX 4090超龙,刀锋7代风扇,镀镍铜底座机上气流导向技术与导流鳍片,让显卡满载运行温度表现也相当出色。
为了喂饱i9 13900K+RTX4090这两大顶级旗舰硬件,电源方面我使用了振华Leadex VP1000W PRO,全模组设计,在13cm小身尺寸,它有着80Plus铂金认证+输出波纹控制优秀+输出电压稳定+保持时间非常充足,风扇支持ECO低负载低温停转诸多亮点。不得不说实在是小身材大能量。
测试成绩:
PS:上图成绩为默认状态,下图成绩为关闭超线程状态
CPU-Z单线程成绩,关闭超线程后基本没有影响。但多核性能下降了0.5%。
Vary渲染测试,关闭超线程后,渲染成绩下降23%。
凡事总有例外,H.264转码测试,关闭超线程后成绩提升4%。
cinbenchmark R23渲染测试,默认状态下的i9 13900K领先关闭超线程的幅度高达24%。
光线追踪3DM PR测试,两者分数几乎一样,
地平线5,关闭超线程后,i9 13900K比默认状态平均帧率高3帧。
古墓丽影暗影:关闭超线程后,i9 13900K比默认状态平均帧率高4帧。
尘埃5,两者的平均帧率一模一样。
总结:
可见在13代酷睿处理器关闭超线程后,在生产力上性能损失最高达24%。虽然也有提升的地方但也聊胜于无。再看游戏,关闭超线程后确实有游戏会有帧率提升,但提升幅度不多,总的来说没有必要关闭超线程来瞎折腾。毕竟关闭超线程收益远不如失去的性能多。感谢阅读全文,欢迎打赏点赞。
","gnid":"9e3ec6e8742d8cc77","img_data":[{"flag":2,"img":[{"desc":"","height":"428","title":"","url":"https://p0.ssl.img.360kuai.com/t0194e2cfeb19dddfea.jpg","width":"600"},{"desc":"","height":"596","title":"","url":"https://p0.ssl.img.360kuai.com/t0108834317ea8568f0.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01d643dec09ac969fd.jpg","width":"600"},{"desc":"","height":"443","title":"","url":"https://p0.ssl.img.360kuai.com/t01122950465672ed59.jpg","width":"600"},{"desc":"","height":"574","title":"","url":"https://p0.ssl.img.360kuai.com/t01ee884be11ac30424.jpg","width":"600"},{"desc":"","height":"455","title":"","url":"https://p0.ssl.img.360kuai.com/t017eb92c4b582c6928.jpg","width":"600"},{"desc":"","height":"295","title":"","url":"https://p0.ssl.img.360kuai.com/t014a177dfcfb52af6f.jpg","width":"600"},{"desc":"","height":"288","title":"","url":"https://p0.ssl.img.360kuai.com/t016edde0ef83b634c6.jpg","width":"600"},{"desc":"","height":"340","title":"","url":"https://p0.ssl.img.360kuai.com/t016970fef522fc2245.jpg","width":"600"},{"desc":"","height":"464","title":"","url":"https://p0.ssl.img.360kuai.com/t01fd8a34b15f360b39.jpg","width":"600"},{"desc":"","height":"362","title":"","url":"https://p0.ssl.img.360kuai.com/t01e8e236afad501f2c.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t016646e4270e7460ac.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t019f3fa72598387bce.jpg","width":"600"},{"desc":"","height":"372","title":"","url":"https://p0.ssl.img.360kuai.com/t0186084026a95e60a3.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01ed44d77460f42e8e.jpg","width":"600"},{"desc":"","height":"443","title":"","url":"https://p0.ssl.img.360kuai.com/t01f780ee28b45ff190.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01c7924abc5a050de5.jpg","width":"600"},{"desc":"","height":"384","title":"","url":"https://p0.ssl.img.360kuai.com/t018a049dbec35fbee6.jpg","width":"600"},{"desc":"","height":"366","title":"","url":"https://p0.ssl.img.360kuai.com/t0131d74acb04351acd.jpg","width":"600"},{"desc":"","height":"475","title":"","url":"https://p0.ssl.img.360kuai.com/t01e12e0e7b53a74cb2.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t016900ebbf1fe824ec.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01acd6a185527737c3.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01af3a430f3a8f3e10.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t010421f4733220a5fc.jpg","width":"600"},{"desc":"","height":"409","title":"","url":"https://p0.ssl.img.360kuai.com/t017c30b0850f4823d0.jpg","width":"600"},{"desc":"","height":"400","title":"","url":"https://p0.ssl.img.360kuai.com/t01b1b8124a52fac7db.jpg","width":"600"},{"desc":"","height":"433","title":"","url":"https://p0.ssl.img.360kuai.com/t01823917ea18fd7941.jpg","width":"600"},{"desc":"","height":"537","title":"","url":"https://p0.ssl.img.360kuai.com/t017e3f3ed9890ea896.jpg","width":"600"},{"desc":"","height":"388","title":"","url":"https://p0.ssl.img.360kuai.com/t017d0975151e0ebaa4.jpg","width":"600"},{"desc":"","height":"300","title":"","url":"https://p0.ssl.img.360kuai.com/t01e125392f57dbd17f.jpg","width":"600"},{"desc":"","height":"301","title":"","url":"https://p0.ssl.img.360kuai.com/t0189509fa2f8133e43.jpg","width":"600"},{"desc":"","height":"377","title":"","url":"https://p0.ssl.img.360kuai.com/t01247723a5171891e9.jpg","width":"600"},{"desc":"","height":"377","title":"","url":"https://p0.ssl.img.360kuai.com/t018649294106593e76.jpg","width":"600"},{"desc":"","height":"529","title":"","url":"https://p0.ssl.img.360kuai.com/t012fff45087161abe0.jpg","width":"600"},{"desc":"","height":"529","title":"","url":"https://p0.ssl.img.360kuai.com/t0170ba357bc56dee9d.jpg","width":"600"},{"desc":"","height":"600","title":"","url":"https://p0.ssl.img.360kuai.com/t01d06eabe39937c603.jpg","width":"600"},{"desc":"","height":"415","title":"","url":"https://p0.ssl.img.360kuai.com/t01ee25fa7a2b46faf4.jpg","width":"600"},{"desc":"","height":"415","title":"","url":"https://p0.ssl.img.360kuai.com/t01f0ca852c2a10b379.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t01e6c21ca55ca44b6d.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t01e5007c07fe341604.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t018d4070dc489dae53.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t015a7b6e8f7d04c8ad.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t016b117df4dba9a2a3.jpg","width":"600"},{"desc":"","height":"338","title":"","url":"https://p0.ssl.img.360kuai.com/t014e7d70cf9c2aa42c.jpg","width":"600"},{"desc":"","height":"402","title":"","url":"https://p0.ssl.img.360kuai.com/t0178143c40398af2d2.jpg","width":"600"}]}],"original":0,"pat":"art_src_1,fts0,sts0","powerby":"hbase","pub_time":1681115989000,"pure":"","rawurl":"http://zm.news.so.com/270127df64ddd0dd4de348098200a1c8","redirect":0,"rptid":"5e7341b840bfa1f6","rss_ext":[],"s":"t","src":"什么值得买","tag":[{"clk":"kdigital_1:bios","k":"bios","u":""},{"clk":"kdigital_1:cpu","k":"cpu","u":""},{"clk":"kdigital_1:酷睿处理器","k":"酷睿处理器","u":""}],"title":"关闭CPU超线程打游戏会更流畅?
廉询勉4851进程和线程的区别和linux运行状态查看简单 -
卢都印13448518422 ______ 要了解二者的区别与联系,首先得对进程与线程有一个宏观上的了解.进程,是并发执行的程序在执行过程中分配和管理资源的基本单位,是一个动态概念,竟争计算机系统资源的基本单位.每一个进程都有一个自己的地址空间,即进程空间或...
廉询勉4851嵌入式os中线程通常有几种状态以及每个状态的特点 -
卢都印13448518422 ______ linux中的线程状态 1、TASK_RUNNING: 进程当前正在运行,或者正在运行队列中等待调度. 2、TASK_INTERRUPTIBLE: 进程处于睡眠状态,正在等待某些事件发生.进程可以被信号中断.接收到信号或被显式的唤醒呼叫唤醒之后,进程...
廉询勉4851一个线程在它的完整生命周期中有四种状态: - ---、----、----和------状态. -
卢都印13448518422 ______ 1、默认为NORM_PRIORITY,最高为MAX_PRIORITY2、B3、B4、D5、D 标题答案是:新建-就绪-(阻塞)-运行--死亡
廉询勉4851写一个java程序打印线程的六种状态 -
卢都印13448518422 ______ public class DoubleThread { public static void main(String[] args) { Thread t1 = new Thread() { @Override public void run() { for (char i = 'a'; i System.out.println(i); } } }; Thread t2 = new Thread() { @Override public void run() { for (char i = 'A'; i System.out.println(i); } } }; t1.start(); t2.start(); } }