Skip to content
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

Improve executor pool size / speedup python 3.5 #8215

Merged
merged 3 commits into from Jun 27, 2017

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Jun 26, 2017

Description:

Python 3.5 change calc of executor pool size depens on running hardware.
https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor

This calc is realy better as fix 10 threads like before. That should also speedup hass with a lot of IO inside threads and help to reduce worker deadlocks.

@mention-bot
Copy link

@pvizeli, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabianhjr and @fabaff to be potential reviewers.

@balloob balloob merged commit 442dcd5 into home-assistant:dev Jun 27, 2017
@balloob balloob mentioned this pull request Jul 1, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
* Improve executor pool size / speedup python36

* fix style

* Add comment
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants