Comments (6)
@Mequrel opinions?
from cloudworkflowsimulator.
The other idea is to use Apache CLI http://commons.apache.org/proper/commons-cli/index.html which would be similar to system.properties, but more flexible.
from cloudworkflowsimulator.
@Mequrel: I didn't wait for your opinion, because we're running out of time. I've used apache's CLI. Now cli arguments passing is much better that it was, though it is not perfect.
I didn't change some code related to storage manager initialization because I knew that I'd interfere with your work in different branch.
You can now run CWS with example command:
java -cp '../lib/*:./*:.' cws.core.algorithms.TestRun --application GENOME --input-dir /home/piotr/studia/inz/dags --output-file simulation_out.csv --distribution pareto_unsorted --ensemble-size 20 --algorithm SPSS --storage-manager void -s100 --storage-manager-read=1000000 --storage-manager-write=30000000 -sc fifo
Or provide no arguments for help:
$ java -cp '../lib/*:./*:.' cws.core.algorithms.TestRun --application GENOME --input-dir /homtudia/inz/dags --output-file simulation_out.csv --distribution pareto_unsorted --ensemble-size 20 --algorithm SPSS --storage-manager global -s100 --storage-manager-read=1000000
Initialising...
usage: cws.core.algorithms.TestRun
-alg,--algorithm <ALGO> (required) Algorithm
-app,--application <APP> (required) Application name
-dl,--delay <DELAY> Delay, defaluts to 0.0
-dst,--distribution <DIST> (required) Distribution
-es,--ensemble-size <SIZE> Ensemble size, defaults to 50
-fr,--failure-rate <RATE> Faliure rate, defaults to 0.0
-id,--input-dir <DIR> (required) Input dir
-of,--output-file <FILE> (required) Output file
-rv,--runtime-variance <VAR> Runtime variance, defaults to 0.0
-s,--seed <SEED> Random number generator seed, defaults to current time in milis
-sc,--storage-cache <CACHE> Storage cache, defaults to void
-sf,--scaling-factor <FACTOR> Scaling factor, defaults to 1.0
-sm,--storage-manager <MRG> (required) Storage manager
--storage-manager-read <SPEED> (required for storage-manager=global) Storage manager read speed
--storage-manager-write <SPEED> (required for storage-manager=global) Storage manager write speed
storage-manager-read and storage-manager-read required
from cloudworkflowsimulator.
The next step will be to add more comprehensive descriptions to CLI params.
from cloudworkflowsimulator.
Well done. I've been thinking about this issue since we started the project. I also think CLI is better option.
from cloudworkflowsimulator.
Done.
from cloudworkflowsimulator.
Related Issues (20)
- Use Java 8 HOT 1
- Unify code formatting HOT 1
- Runner script termination HOT 1
- Runner script improvements
- Drawing results fails
- Terminate idle VMs first in SimpleUtilisationBasedProvisioner
- Keep track of Terminating VMs
- Include multiple VMTypes in Environment class
- Reading heterogeneous simulation configuration
- Decide how to choose the best VM for predicting runtimes, workflow admission, DAGStats etc. HOT 2
- Extract pricing calculation and helper functions to PricingManager
- Implement Amazon/Microsoft pricing model
- Implement Google pricing model
- Test VmTypeSelection
- Test Multicore Cloud HOT 3
- Test Pricing Models HOT 1
- Modify ant build to include fat-jars HOT 1
- draw average simulation score for n simulation runs
- draw avg score for n datasets on one graph
- support for heterogenous vm types
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 cloudworkflowsimulator.