0号核心cpu的使用率很高 [英] the 0th core cpu usage very high

查看:339
本文介绍了0号核心cpu的使用率很高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cpu0  : 68.9%us,  4.6%sy,  0.0%ni, 20.5%id,  0.0%wa,  1.0%hi,  5.0%si,  0.0%st
Cpu1  : 58.1%us,  4.3%sy,  0.0%ni, 33.6%id,  0.0%wa,  0.0%hi,  4.0%si,  0.0%st
Cpu2  : 56.1%us,  5.0%sy,  0.0%ni, 34.9%id,  0.0%wa,  0.3%hi,  3.7%si,  0.0%st
Cpu3  : 55.8%us,  4.0%sy,  0.0%ni, 36.2%id,  0.0%wa,  0.0%hi,  4.0%si,  0.0%st
Cpu4  : 53.0%us,  5.6%sy,  0.0%ni, 38.4%id,  0.0%wa,  0.0%hi,  3.0%si,  0.0%st
Cpu5  : 53.0%us,  5.6%sy,  0.0%ni, 36.8%id,  0.0%wa,  0.0%hi,  4.6%si,  0.0%st
Cpu6  : 54.0%us,  4.3%sy,  0.0%ni, 38.1%id,  0.0%wa,  0.0%hi,  3.6%si,  0.0%st
Cpu7  : 53.6%us,  4.6%sy,  0.0%ni, 37.4%id,  0.0%wa,  0.3%hi,  4.0%si,  0.0%st
Cpu8  : 49.8%us,  5.6%sy,  0.0%ni, 40.2%id,  0.0%wa,  0.0%hi,  4.3%si,  0.0%st
Cpu9  : 55.4%us,  5.0%sy,  0.0%ni, 36.3%id,  0.0%wa,  1.0%hi,  2.3%si,  0.0%st
Cpu10 : 54.3%us,  6.0%sy,  0.0%ni, 34.8%id,  0.0%wa,  0.0%hi,  5.0%si,  0.0%st
Cpu11 : 53.6%us,  6.3%sy,  0.0%ni, 36.4%id,  0.0%wa,  0.7%hi,  3.0%si,  0.0%st
Cpu12 : 55.0%us,  4.0%sy,  0.0%ni, 37.1%id,  0.0%wa,  0.0%hi,  4.0%si,  0.0%st
Cpu13 : 53.7%us,  4.0%sy,  0.0%ni, 38.7%id,  0.0%wa,  0.3%hi,  3.3%si,  0.0%st
Cpu14 : 52.8%us,  5.0%sy,  0.0%ni, 37.6%id,  0.0%wa,  0.0%hi,  4.6%si,  0.0%st
Cpu15 : 56.8%us,  4.0%sy,  0.0%ni, 34.9%id,  0.0%wa,  1.0%hi,  3.3%si,  0.0%st



服务进程运行在MIPS平台的linux系统上.该进程大约有70个线程,其中16个线程绑定到16个核心,每个核心绑定一个线程.左线程不绑定操作.因此,从结果中我们可以看到,第0核的cpu使用率非常高.我怀疑linux系统是否使左线程在第0个内核上运行.因此,第0核的CPU使用率非常高.我该如何解决这个问题?



The service process running on linux system of MIPS platform. The process had about 70 threads, 16 threads bond to the 16 cores, every core bond a single thread. The left threads do not bond operation. So from the result we can see that the 0th core''s cpu usage very high. I doubt the linux system make the left threads running on the 0th core. So the 0th core''s cpu usage very high. How can I handle this problem? Thanks.

推荐答案

通常,由于管理共享内存和指令管道内衬的复杂性,应用程序中的线程将在单个CPU上执行.

如果执行2个或更多进程,则将在其他CPU上看到更多用法.
Generally the threads within an application will execute on a single CPU because of the complexities of managing shared memory and instruction pipe lining.

If you execute 2 or more processes then you will see more usage on other CPU''s.


这篇关于0号核心cpu的使用率很高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆