copy_user_enhanced_fast_string在UDP读取器线程中消耗了很多CPU
我有一个UDP应用程序,该应用程序从IO Reader线程中的UDP套接字中读取多datagram。从套接字上读取多幅度的读数,以通过队列传递给另一个线程以进行进一步处理。在通过PURF工具分析我的IO读取器线程时,我看到Copy_user_enhanced_fast_string()使用了最大CPU。
- 为什么我在io读取器线程的大多数消费者中看到copy_user_enhanced_fast_string()?
- 我可以做什么,以至于我的线程不会在copy_user_enhanced_fast_string()中花费太多时间
I have a UDP application that reads multi-datagrams from from UDP socket in IO reader thread. Post reading multidatagram from socket, multidatagram to passed to another to thread via queue for further processing. While analying my IO reader thread via perf tool, I saw that copy_user_enhanced_fast_string() is using maximum CPU.
- Why I am seeing copy_user_enhanced_fast_string() at top most consumer of IO reader thread?
- What I can do so that my thread doesn't spend so much time in copy_user_enhanced_fast_string()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论