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

Fix encode_app poll error and encode time too long #348

Merged
merged 4 commits into from
Oct 8, 2022

Conversation

longyiluo
Copy link
Contributor

PR描述:

poll error happened when heavy loading.
After isolcpus=1, 2 channels 1080p rtsp happens encode time too long.

详细描述:

root cause:

  1. encode_app doesn't QBUF when buffer overflow
  2. After isolcpus=1, userspace app needs to balance threads by itself.
    counter measure:
  3. queue all v4l2 buffers after buffer overflow
  4. dispatch rtsp thread to core 1

关联issue:

fix #347

@longyiluo longyiluo added the bug Something isn't working label Oct 6, 2022
@longyiluo longyiluo added this to the v1.9 milestone Oct 6, 2022
@zhangxiaojingCAN zhangxiaojingCAN merged commit 2ea2209 into kendryte:dev Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix encode_app poll error and dispatch rtsp thread to core 1
2 participants