Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

Mrunal SarvaiyaM

Mrunal Sarvaiya

@Mrunal Sarvaiya
Unfollow Follow
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Utilizing all CPUs on Voxl2
    Mrunal SarvaiyaM Mrunal Sarvaiya

    @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

    Ask your questions right here! voxl2

  • Utilizing all CPUs on Voxl2
    Mrunal SarvaiyaM Mrunal Sarvaiya

    @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

    Ask your questions right here! voxl2

  • Utilizing all CPUs on Voxl2
    Mrunal SarvaiyaM Mrunal Sarvaiya

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

    Ask your questions right here! voxl2

  • Utilizing all CPUs on Voxl2
    Mrunal SarvaiyaM Mrunal Sarvaiya

    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!

    Ask your questions right here! voxl2
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups