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

Keep long-lived threads instead of short-lived ones #2

Open
charmoniumQ opened this issue Jan 24, 2021 · 0 comments · May be fixed by #5
Open

Keep long-lived threads instead of short-lived ones #2

charmoniumQ opened this issue Jan 24, 2021 · 0 comments · May be fixed by #5
Assignees

Comments

@charmoniumQ
Copy link
Member

This helps performance, as the thread creation overhead in Linux is ~10us.

This also helps profiling, since the threads which handle a certain task have a consistent thread id.

This also helps CPU logging have a smaller number of stacks to manage.

@charmoniumQ charmoniumQ self-assigned this Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant