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

Improve the thread_stats result #1316

Merged
merged 9 commits into from
Dec 27, 2023
Merged

Conversation

nichamon
Copy link
Collaborator

No description provided.

The patch separates the process of reducing the number of Zap endpoints
associated with an IO thread from the process of releasing the endpoint
from the IO thread. Additionally, it defers the nullification of
`zap->thread` until the endpoint reference reaches zero.

`zap_sock` and `zap_ugni` need to remove their events from epoll before
delivering the disconnected event to applications, preventing the
reception of additional epoll events. However, without this patch, this
results in resetting `zap->thread` to NULL. Thus, the applications
cannot retrive Zap thread information in the disconnected path. The
patch addresses this limitation.
@nichamon nichamon requested review from tom95858 and narategithub and removed request for tom95858 and narategithub December 20, 2023 19:22
@nichamon nichamon force-pushed the imp-thread_stats branch 2 times, most recently from 54ac90a to c0a5b24 Compare December 20, 2023 19:26
@nichamon
Copy link
Collaborator Author

The pull request contains the commits that make the result of the thread_stats command more informative. The patches add the usage of IO threads of LDMS operations, e.g., update, lookup, and connection setup. They also add the statistics of LDMSD's worker threads.

Here is an example of thread_stat's new output.
image

@tom95858 tom95858 merged commit 6e5dd94 into ovis-hpc:OVIS-4 Dec 27, 2023
14 checks passed
@nichamon nichamon deleted the imp-thread_stats branch January 5, 2024 15:35
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.

2 participants