Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    t113-s3 adbd cpu占用率45%

    MR Series
    2
    2
    1090
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      diguohaha LV 2 last edited by

      t113-adbd (1).png
      我使用t113-s3全志的tinasdk2.0,开启adb,进入板子,发现adbd cpu占用率高达45%,几乎都是在30%以上,请问各位大佬有遇到过吗?
      我使用strace跟了一下,发现adbd里面有个线程在系统调用时出现了问题,一直在循环调用,估计是这里的问题,不清楚是不是musl库问题还是kernel阉割了什么导致的。

      root@TinaLinux:/proc/154/task/202# strace -p 202
      strace: Process 202 attached
      futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)
      futex(0xb6f07cd8, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 ENOSYS (Function not implemented)
      futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)
      futex(0xb6f07cd8, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 ENOSYS (Function not implemented)
      futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)

      C 1 Reply Last reply Reply Quote Share 0
      • C
        chenyinchang LV 4 @diguohaha last edited by

        @diguohaha 在 t113-s3 adbd cpu占用率45% 中说:

        t113-adbd (1).png
        我使用t113-s3全志的tinasdk2.0,开启adb,进入板子,发现adbd cpu占用率高达45%,几乎都是在30%以上,请问各位大佬有遇到过吗?
        我使用strace跟了一下,发现adbd里面有个线程在系统调用时出现了问题,一直在循环调用,估计是这里的问题,不清楚是不是musl库问题还是kernel阉割了什么导致的。

        root@TinaLinux:/proc/154/task/202# strace -p 202
        strace: Process 202 attached
        futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)
        futex(0xb6f07cd8, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 ENOSYS (Function not implemented)
        futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)
        futex(0xb6f07cd8, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 ENOSYS (Function not implemented)
        futex(0xb6f07cd8, FUTEX_WAIT, 2, NULL) = -1 ENOSYS (Function not implemented)

        我也发现了,我直接kill掉了,不然太吃CPU了。

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策