Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Launch Synapse processes using fork() in Complement with workers CI #13051

Closed
reivilibre opened this issue Jun 14, 2022 · 0 comments · Fixed by #13127
Closed

Launch Synapse processes using fork() in Complement with workers CI #13051

reivilibre opened this issue Jun 14, 2022 · 0 comments · Fixed by #13127
Assignees
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@reivilibre
Copy link
Contributor

reivilibre commented Jun 14, 2022

The basic idea is that we load the Python bytecode once and then fork to spawn all the needed worker processes, thus reducing CPU contention.

Empirical attempts show that this reduces CI time of Complement-with-workers by a half.

It's an attempt at making #12848 better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
1 participant