Giter Site home page Giter Site logo

Comments (2)

andre-merzky avatar andre-merzky commented on August 27, 2024

demonstrator.txt

The above shell script is a poor-man's rendering of running a homogeneous workload. It executes 1000 tasks (each being a sleep 1), by running at most 100 of them at the same time (those numbers can be changed in line 4 and 5). This is a small scale version of what we run on clusters: the amount of resources limits the number of tasks we can run concurrently, and the total number of tasks is usually much larger than that.

The script also takes some timestamps during execution and computes the overhead. A typical output would be:

$ bash ./demonstrator.txt 
tasks: started  :       1000 
       running  :          0 
       completed:       1000 
time : expected :  10.000000 sec 
       measured :  10.176738 sec 
       overhead :   0.176738 sec (1.7 %)

The ideal runtime for that workload would be 10 seconds. Here we measure 10.17 seconds, i.e. an overhead of 1.7%. Plots for this run are also attached (you find them in /tmp/demo*.pdf after the run, iff gnuplot is installed to create them).

demo.dur.2.pdf
demo.dur.1.pdf

In the real world, instead of running sleep from a shell, we want to run mpirun <some science code. This is where MVAPICH/Hydra enter the picture: What is the best / fastest way (with the least overhead) to run many short running tasks suing HYDRAA?

from radical.pilot.

andre-merzky avatar andre-merzky commented on August 27, 2024

Hi all - we are going to close this ticket as the demo script was provided. Please use the discussion thread for any follow-up exchange. Thanks!

from radical.pilot.

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.