ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Mrunal Sarvaiya
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Mrunal Sarvaiya

    @Mrunal Sarvaiya

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Mrunal Sarvaiya Unfollow Follow

    Latest posts made by Mrunal Sarvaiya

    • RE: Utilizing all CPUs on Voxl2

      @Alex-Kushleyev Correct, I just used the last 4 more powerful cpus. That was enough of a performance boost to run my optimization at the frequency I was hoping for. I didn't try using all 8 threads, I can give it a shot if that's useful information for you

      posted in Ask your questions right here!
      Mrunal SarvaiyaM
      Mrunal Sarvaiya
    • RE: Utilizing all CPUs on Voxl2

      @Alex-Kushleyev Thanks a ton! I was able to explicitly specify the cpus to use and the optimization is 3-4x faster.

      Posting the command needed here in case someone else stumbles upon this post. Export the following environment variables
      export OMP_PROC_BIND=close # this may not be necessary
      export GOMP_CPU_AFFINITY="4 5 6 7" # here 4 5 6 7 specifies the cpus to use

      posted in Ask your questions right here!
      Mrunal SarvaiyaM
      Mrunal Sarvaiya
    • RE: Utilizing all CPUs on Voxl2

      @Darshit-Desai Yup, all these tests were run with the cpu mode set to performance mode

      posted in Ask your questions right here!
      Mrunal SarvaiyaM
      Mrunal Sarvaiya
    • Utilizing all CPUs on Voxl2

      Hi,

      I had a question related to utilizing all the cores available on the voxl2. I’m using a cpp library that runs multi threaded optimization using openmp and allows me to specify the number of available threads. What I notice is that the performance increased as I increase the number of threads upto 4, but after that there’s no increase in performance. I would have expected an increase in performance up to 8 threads, since there’s 8 cpus on the voxl2. During my tests, upon running voxl-inspect-cpu, I see that cpu 0-3 have a high utilization while cpu 4-7 have very low utilization even when using 8 threads.

      Could you shed some light on whether this is expected, and if so how I could go about better utilizing the last 4 cpus? (I’m pretty confident that the optimization is resource limited, the same optimization problem runs faster on a laptop with more cpus)

      Thanks!

      posted in Ask your questions right here! voxl2
      Mrunal SarvaiyaM
      Mrunal Sarvaiya