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

CPU usage is quite time-consuming.(NativeUnixSocket.receive) #164

Open
wzfxue opened this issue Dec 20, 2024 · 0 comments
Open

CPU usage is quite time-consuming.(NativeUnixSocket.receive) #164

wzfxue opened this issue Dec 20, 2024 · 0 comments

Comments

@wzfxue
Copy link

wzfxue commented Dec 20, 2024

Describe the bug

I'm sorry, I'm not quite sure what caused the CPU usage to be particularly high.
Can you help me check if there is a problem with the code writing?

To Reproduce
Steps to reproduce the behavior:

  1. com.sdtp.uds.JmsServer
  2. com.sdtp.uds.JmsClient
    
    Expected behavior
    I am running JmsServer and JmsClient with 12 threads on a 48 core CPU host, which can generate approximately 4TB of data per minute, but the CPU usage is nearly 17%.
    
    Output/Screenshots
    If applicable, add console output/screenshots to help explain your problem.
    
    
    Notes
    Add any other context about the problem here. Please link/attach any source code that is useful to diagnose the issue.
    com.kohlschutter.junixsocket:junixsocket-native-common:2.10.1

image

JmsClient.java.txt
JmsServer.java.txt

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

No branches or pull requests

1 participant