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

[Enhancement]: Mark cgo pool with thread name #37999

Open
1 task done
congqixia opened this issue Nov 25, 2024 · 0 comments
Open
1 task done

[Enhancement]: Mark cgo pool with thread name #37999

congqixia opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
kind/enhancement Issues or changes related to enhancement

Comments

@congqixia
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

Use system API to mark cgo thread to make it easier to distinguish extra unexpected threads

Why is this needed?

Thread number is crucial to Milvus performance, with customized thread name, it is convenient for developer to locate the "leaked" thread source

Anything else?

No response

@congqixia congqixia added the kind/enhancement Issues or changes related to enhancement label Nov 25, 2024
@congqixia congqixia self-assigned this Nov 25, 2024
congqixia added a commit to congqixia/milvus that referenced this issue Nov 25, 2024
Related to milvus-io#37999

This PR add `SetThreadName` API for marking cgo thread and utilize it
when initializing cgo worker.

Signed-off-by: Congqi Xia <[email protected]>
congqixia added a commit to congqixia/milvus that referenced this issue Nov 25, 2024
Related to milvus-io#37999

This PR add `SetThreadName` API for marking cgo thread and utilize it
when initializing cgo worker.

Signed-off-by: Congqi Xia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

1 participant