Utility: Network Service

851 vues
Passer au premier message non lu

Luke Curley

non lue,
17 sept. 2020, 04 h 27 min 20 s2020-09-17
à web-transport-dev
Hey all,

I'm running my QuicTransport application on Chrome 85 and noticed a performance issue. "Utility: Network Service" uses a constant 99.9% CPU.

Screen Shot 2020-09-17 at 1.15.39 AM.png

My application receives a constant stream of data and doesn't appear to be starved. Reducing the data rate doesn't make an impact and killing the task closes the QuicTransport connection. My guess would be a busy loop somewhere in the QuicTransport networking code.

Yutaka Hirano

non lue,
17 sept. 2020, 04 h 36 min 53 s2020-09-17
à Luke Curley,web-transport-dev
Oh, thank you! Could you file a bug and attach a tracing log?

--
You received this message because you are subscribed to the Google Groups "web-transport-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-transport-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/web-transport-dev/CAHVo%3DZmOnfv%2Bd2upe7dzJ3ofofFJM2%2Bj%3DwSw9pzuFUpwBuvrew%40mail.gmail.com.

Luke Curley

non lue,
17 sept. 2020, 17 h 23 min 15 s2020-09-17
à Yutaka Hirano,web-transport-dev
Hey Yutaka,

I filed issue 1129597 with a trace and a test case. 

My test case is to have the server open a stream, write "ping", and leave the stream open. Network service uses a full CPU core and the text "ping" is not flushed to the application (separate issue). There may be other ways to reproduce but this one is pretty easy.

We've been able to work around the other bugs found thus far but this is the first blocker. Can you keep me updated on roughly when the fix could be available so we can plan our internal experiment?


Thanks again!

Victor Vasiliev

non lue,
21 sept. 2020, 15 h 55 min 26 s2020-09-21
à Luke Curley,Yutaka Hirano,web-transport-dev
I just tested it in the latest release of Chrome Canary, and it appears that the test example you've linked no longer causes the Network Service to spin.  Thanks for reporting this!

Luke Curley

non lue,
22 sept. 2020, 23 h 24 min 59 s2020-09-22
à Victor Vasiliev,Yutaka Hirano,web-transport-dev
I can confirm that it's fixed now. Thanks Yutaka!
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message