Skip to content

Commit

Permalink
Performace improvement for vpicio (#211)
Browse files Browse the repository at this point in the history
* Paritial fix for the region transfer/wait performance issue

* Committing clang-format changes

* Improve the async processing for vpicio_mts_all, also fix a few compile issues

* Committing clang-format changes

* Minor change

* Continue to optimize start_all performance for vpicio, add a few time related convinient functions

* Committing clang-format changes

* Fix hanging issue in CI testing

* Committing clang-format changes

* Disable debug prints

* Revert back for non-all ops

* Better pthread management

* Better pthread management

* Fix timeout issue with CI testing and clang-formatting

* Committing clang-format changes

* Test

* Trigger test

* Committing clang-format changes

* Trigger CI

* Committing clang-format changes

* Trigger CI

* Switch to static partition for vpicio

* Replace vpicio_mts with new implementation

---------

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and jeanbez committed Dec 3, 2024
1 parent 5fe5929 commit 435f745
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/pdc_client_connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -3268,6 +3268,9 @@ PDC_Client_transfer_request_all(int n_objs, pdc_access_t access_type, uint32_t d
if (hg_ret != HG_SUCCESS)
PGOTO_ERROR(FAIL, "%s: Could not create local bulk data handle @ line %d\n", __func__, __LINE__);

hg_atomic_set32(&atomic_work_todo_g, 1);
PGOTO_ERROR(FAIL, "%s: Could not create local bulk data handle @ line %d\n", __func__, __LINE__);

hg_atomic_set32(&atomic_work_todo_g, 1);

hg_ret = HG_Forward(client_send_transfer_request_all_handle, client_send_transfer_request_all_rpc_cb,
Expand Down
2 changes: 2 additions & 0 deletions src/tests/region_transfer_all.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ main(int argc, char **argv)
}
}

MPI_Barrier(MPI_COMM_WORLD);

// close object
for (i = 0; i < OBJ_NUM; ++i) {
if (PDCobj_close(obj[i]) < 0) {
Expand Down

0 comments on commit 435f745

Please sign in to comment.