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

[High thread usage]Extremely high thread occupancy when using "pixel_format"="yuyv2rgb". #309

Open
6 tasks done
zymouse opened this issue Jan 9, 2024 · 0 comments
Open
6 tasks done

Comments

@zymouse
Copy link

zymouse commented Jan 9, 2024

@flynneva

reappear

  • start usb_cam
  • rqt_image_raw Subscribe to image_raw
  • Use top to get the PID
  • Use ps to get thread occupancy

TEST

test-1

  • "pixel_format": "yuyv"
    ps p 1015861 -L -o pcpu,pid,tid,time,tname,cmd
image

test-2

  • "pixel_format": "yuyv2rgb"
    ps p 1016275 -L -o pcpu,pid,tid,time,tname,cmd
image

Conclusion

yuyv2rgb :yuyv to rgb when a thread is over-occupied.

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