This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: High cpu usage using asyncio streams
Type: performance Stage:
Components: asyncio Versions: Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, romikforest, yselivanov
Priority: normal Keywords:

Created on 2021-04-01 13:04 by romikforest, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg389981 - (view) Author: Роман Коптев (romikforest) Date: 2021-04-01 13:04
Hi. I have a high cpu usage using asyncio streams/sockets with connection pool (I tried on cpython 3.8-3.9 on mac and debian). Seems some noop handler is continously called polling ports in selectors.
Here is a simple example to reproduce https://github.com/romikforest/asyncio_streams_high_cpu_usage2

Thank you a lot if you can take a look.
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87862
2021-04-01 13:04:02romikforestcreate