Giter Site home page Giter Site logo

Comments (4)

jsquyres avatar jsquyres commented on June 6, 2024

I'm afraid that there isn't enough information here to definitively say what is going on.

  • Your application might well be bound to a single core; running multiple threads bound to that one core may cause contention.
  • Your application may simply not be scalable -- i.e., the overhead of splitting the work up into multiple threads and then gathering all the results may overwhelm the benefit of having multiple workers
  • You are testing over an incredibly small amount of work. Increase your workload to get more realistic results (e.g., if the overheads of splitting / gathering are [more or less] fixed, increasing the amount of work for each thread can dramatically improve the efficiency).

from ompi.

AIBSCT80 avatar AIBSCT80 commented on June 6, 2024

@jsquyres thanks. it seems to me the threads are binded to one core. There is no scalability.

from ompi.

jsquyres avatar jsquyres commented on June 6, 2024

I'm not quite sure how to parse your reply.

You didn't provide answers to the templated questions in the github issue, so I don't know what version you're running. If it's Open MPI v5, you can see https://docs.open-mpi.org to see how to set process binding.

Does that resolve your question?

from ompi.

rhc54 avatar rhc54 commented on June 6, 2024

The problem lies in the salloc cmd line - you asked for 1 cpu, and that's what you were given.

from ompi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.