-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Optimizations on LCI parcelport: merge small messages; remove sender mutex lock. #6105
Conversation
@JiakunYan could you please take care of the inspect, clang-format and cmake-format complaints? |
@hkaiser Done. I am looking at the failed tests. OpenMPI links to UCX and LCI also links to part of the UCX (the registration cache). It seems there are some conflicts. It is weird I didn't have this issue on my system. |
libs/full/parcelport_lci/include/hpx/parcelport_lci/sender_connection.hpp
Show resolved
Hide resolved
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@hkaiser would it be better if I squash these commits into one? |
@JiakunYan please do as you prefer. |
@hkaiser Done. I think this PR is ready to be merged. |
@JiakunYan would you mind having a look at https://app.codacy.com/gh/STEllAR-GROUP/hpx/pullRequest?prid=10784819? |
Fixed! |
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This PR contains the changes from #6057, where I have requested changes. Once that has been merged, this PR needs to be rebased. |
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
…mutex lock - send header, data, tchunk in a single message if possible - replace sync with completion queue: remove lock on sender_connection - adapt to LCI v1.7.2 cmake change - Use unique_ptr for prg_thread_p
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@hkaiser This test failed: tests.unit.modules.runtime_components.distributed.tcp.migrate_polymorphic_component in 6105-clang-11-debug Do you think it is related to this PR? |
No, this is a known issue and unrelated to your work. |
Then I think this PR is ready to merge. |
@hkaiser Is there anything else I should do before we merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
bors merge |
6105: Optimizations on LCI parcelport: merge small messages; remove sender mutex lock. r=hkaiser a=JiakunYan ## Changes - Adapt to LCI v1.7.2 CMakeList.txt changes: LCI_PM_BACKEND renamed to LCI_PM_BACKEND_DEFAULT; new object lci-ucx (the ucx registration cache) to install and export; renamed include directory. - Send header, data (non-zero-copy chunks), and transmission chunks in a single message if possible - Reduce the thread contention on the sender side: replace sync with completion queue: remove mutex lock on sender_connection. Co-authored-by: Jiakun Yan <jiakunyan1998@gmail.com>
This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried. |
6105: Optimizations on LCI parcelport: merge small messages; remove sender mutex lock. r=hkaiser a=JiakunYan ## Changes - Adapt to LCI v1.7.2 CMakeList.txt changes: LCI_PM_BACKEND renamed to LCI_PM_BACKEND_DEFAULT; new object lci-ucx (the ucx registration cache) to install and export; renamed include directory. - Send header, data (non-zero-copy chunks), and transmission chunks in a single message if possible - Reduce the thread contention on the sender side: replace sync with completion queue: remove mutex lock on sender_connection. Co-authored-by: Jiakun Yan <jiakunyan1998@gmail.com>
Timed out. |
Changes