Batsim-py allows using Batsim from Python 3.
Project description
Batsim is a scientific simulator commonly used to evaluate Resource and Job Management System (RJMS) policies. Batsim-py allows using Batsim from Python 3.
Main Features
Developed on Python 3.8
Simple API for evaluating the performance of Scheduling/Shutdown/DVFS policies
Time/Event-based design
Simple to be extended
Fully documented
Installation
Make sure you have Batsim v3.1.0 installed and working. Otherwise, you must follow Batsim installation instructions. Check the version of Batsim with:
batsim --version
Install batsim-py from PyPI:
pip install batsim-py
[Optional] If you prefer, you can install batsim-py and run tests with:
git clone https://github.com/lccasagrande/batsim-py.git
cd batsim-py
pip install -e .
python setup.py test
[Optional] Go to the Tutorials section to find examples.
For further information, check the API Documentation to understand how to customize the simulation behavior.
Simulation Inputs
To evaluate the behavior of a RJMS policy, you must provide:
A platform description (XML): describes the network and resource characteristics.
A workload (JSON): defines the jobs to be submitted to the system and their execution profiles.
The expected format of both files is the same adopted in Batsim. Check Batsim docs to get further information on how to define platforms and workloads.
Tutorials
The tutorials section provides examples of different simulation scenarios:
API Documentation
The API documentation provides information on classes and modules in the Batsim-py package.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file batsim-py-1.0.2.tar.gz
.
File metadata
- Download URL: batsim-py-1.0.2.tar.gz
- Upload date:
- Size: 50.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5950ae114936b4e38dd037ef0bdc192ffc123a0895784a31198d53212321e2bf |
|
MD5 | cf4524b96b863483a16438dafcf7fd9d |
|
BLAKE2b-256 | ef4631f811130b98fb5a89244d699d8656fae6ed8c27984176bff5e11eee0fad |
File details
Details for the file batsim_py-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: batsim_py-1.0.2-py3-none-any.whl
- Upload date:
- Size: 53.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c21ea7c792e61b8eca15aed80c3f9e8c5e979ba9405c88505c87c9f678b09e |
|
MD5 | f1003446926c790ca0308e966ffb3fa1 |
|
BLAKE2b-256 | c5d4046b733e4bdad33d778f2e9d6faa3542e8c615ea2f117e7d74d3812658ab |