Any changes made to "Network Service" (CPU usage now can be over 100%)?

355 views
Skip to first unread message

Harry Zhang

unread,
Sep 13, 2022, 5:13:33 PM9/13/22
to Chromium-dev
About 5 months ago, I was investigating some QUIC (HTTP/3) issues and was suggested to look at the CPU usage of "Utility: Network Service" from Chrome task manager. Downloading using HTTP/3 made it reach 99-100% (capped at 100%) but 60-80% for HTTP/2. At that time I was using Chrome v99.

Recently I tested that again using updated Chrome (v101) and found HTTP/3 download reaches 160%+.

I wonder whether there were any specific changes related to this. Like previously "Utility: Network Service" only runs on one core but multiple cores now? Any pointer to the source code?

I could not find any relevant information from any "New in Chrome xxx" or "Deprecations and removals in Chrome xxx" posts.

Thanks in advance!
Harry

Bruce Dawson

unread,
Sep 13, 2022, 9:07:07 PM9/13/22
to Chromium-dev, Harry Zhang
I would recommend using a profiler to see where the CPU time goes. A good profiler will show which thread is consuming the CPU time. That will also tell you where the source code is, or at least function names, which you can look up in https://source.chromium.org/.

I was looking at Network Service CPU usage last month (crbug.com/1340556) - in that case the high usage was due to anti-virus software. FWIW.

Reply all
Reply to author
Forward
0 new messages