Comments (2)
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).
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.
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)
- Platform user guide: Rivanna and Bridges2 HOT 1
- Test and verify if MPI example works on Rivanna HOT 7
- pilot staging error HOT 12
- automated mongo deployment HOT 4
- deployment in docker and singularity HOT 3
- MVAPICH/HYDRA define metrics HOT 1
- Error while using base conda env for agent environment (`radical-pilot-create-static-ve`)
- raptor wait calls should all have a `timeout` parameter.
- Configuration file for Perlmutter@NERSC HOT 3
- Various errors in docutils doctree and rst formatting HOT 2
- Replace MongoDB with ZMQ
- add ssh tunneling for ZMQ proxy
- Change in `virtenv` set-up may introduce undocumented breaking changes. HOT 1
- Failed `prepare_env` due to missing env setup variables (`conda`-related) HOT 1
- more flexible service startup flag
- Rivanna Python3.11 is broken HOT 4
- raptor_worker and raptor_master modes are incorrect.
- Multiple Pilots Being Generated when Running FACTS on Amarel HOT 3
- Possibility to terminate services HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radical.pilot.