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

Move htex interchange tasks incoming thread into main thread #3752

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benclifford
Copy link
Collaborator

This removes one of two non-main threads in the interchange - the task puller thread - and moves the behaviour there (receive a message and put it in an in-process queue) into the main thread (where that in-process queue is ultimately dequeued, anyway)

This is aimed at helping with ZMQ-vs-threads issues within the interchange -- most immediately, clean shutdown #3697

performance notes:

parsl-perf -t 30, my laptop, no logging

before this PR, 2320 tasks/second
post this PR, 2344 tasks/second

cc @rjmello who expressed especial interest in this

Changed Behaviour

Some performance difference, although the brief measurements above are not concerning.

Type of change

  • New feature

performance notes:

parsl-perf -t 30, my laptop, no logging

before this PR, 2320
post this PR, 2344
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 this pull request may close these issues.

1 participant