Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

线上运行时发现CPU.sys是CPU.user的两倍以上 #1718

Closed
SheepQi opened this issue Mar 17, 2023 · 0 comments
Closed

线上运行时发现CPU.sys是CPU.user的两倍以上 #1718

SheepQi opened this issue Mar 17, 2023 · 0 comments

Comments

@SheepQi
Copy link

SheepQi commented Mar 17, 2023

最近线上查看性能消耗的时候发现了这个异常情况。
通过strace查看发现syscall里只有futex,而且频率还很高。
cpu.sys为42%,user为20%时,strace的显示如下:

% time        seconds        usecs/call        calls        errors        syscall
100.00        7.751199        129187           60            60             futex
100.00        7.751199                         60            60             total

不知道skynet的API中什么地方可能会触发到futex的情况,希望各位大佬们指点下迷津!拜谢♪(・ω・)ノ

系统为Ubuntu 18.04.6 LTS

Repository owner locked and limited conversation to collaborators Mar 17, 2023
@cloudwu cloudwu converted this issue into discussion #1719 Mar 17, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant