-
Notifications
You must be signed in to change notification settings - Fork 163
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占用异常 #39
Comments
我后续再改改吧,现在占用确实有点高,主要是为了低延迟考虑。 |
看了一下老哥的代码,个人觉得是不是变成信号控制比较好,感觉空转的话确实CPU受不了,会成为热点 |
---原始邮件---
发件人: ***@***.***>
发送时间: 2024年8月1日(周四) 晚上8:02
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [CodingHanYa/workspace] cpu占用异常 (Issue #39)
老哥,前段时间把你这个线程池用到生产环境了,今天突然发现(之前没注意)cpu占用率一直高达700%多。我线程池数量设置的8,这是把八个核都占满了......且每个线程的cpu占用率都是90%+。 然后我抓堆栈看了一下,好像有一个misson()函数一直在空跑?
不知道这个问题有没有人遇到?或者最新版本已经解决了嘛?
看了一下老哥的代码,个人觉得是不是变成信号控制比较好,感觉空转的话确实CPU受不了,会成为热点
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
老哥,前段时间把你这个线程池用到生产环境了,今天突然发现(之前没注意)cpu占用率一直高达700%多。我线程池数量设置的8,这是把八个核都占满了......且每个线程的cpu占用率都是90%+。 然后我抓堆栈看了一下,好像有一个misson()函数一直在空跑?
不知道这个问题有没有人遇到?或者最新版本已经解决了嘛?
The text was updated successfully, but these errors were encountered: