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 utils occupies a lot when inference #352
Comments
Hm didn't realize that before. I currently don't know what is causing this. Let me know if you found the issue. |
@sfchen94 - Which tracker are you running? |
@srama2512 |
BTW, this problem only occurs when inferencing, |
@sfchen94 - Got it. I'm noticing high CPU usage during inference with KYS tracker as well. The GPU usage is quite low. |
Hm I am still not sure why this is happening. Maybe it is related to |
@2006pmach |
So to compute the FPS we only measure the time that the tracker takes here namely the call |
@2006pmach - Thanks for the taskset solution. It appears to be working right now. I restricted the CPU usage to 0-39 in my 80-core cluster machine. Interestingly, I'm observing that more kernel threads (red) are occupying the CPU load when compared to normal threads (green). Is this suggestive of anything specific to you? |
Yes, the real problem was not solved. But actually, this case assigned 50% CPU loading to 25% CPU core. The program still needs the same CPU loading after we use taskset. |
Hi. I think the following code may help you to solve this issue. In my case, the CPU occupation can be reduced by inserting these code, and the inference speed can also be improved a little.
|
This method can actually ease the CPU utils, |
Hi,
when inferencing, I notice that the program occupies a lot of CPU load.
Before running the program:
After running the program:
set the thread as 1
set the thread as 30
It seems that there is no improvement.
Is there any way to reduce CPU utils?
The text was updated successfully, but these errors were encountered: