Skip to main content

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

  1. 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
  1. Install batsim-py from PyPI:

pip install batsim-py
  1. [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
  1. [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

batsim-py-1.0.1.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

batsim_py-1.0.1-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

Details for the file batsim-py-1.0.1.tar.gz.

File metadata

  • Download URL: batsim-py-1.0.1.tar.gz
  • Upload date:
  • Size: 49.9 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

Hashes for batsim-py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c99e07ee350dc2560231ddee85007007d778791e84de4185da3b225078af42d1
MD5 32cb50bfcaeff94081729e164b58df8f
BLAKE2b-256 de323c9d2fd3816bdb41e9e10bbc8cf284b95e5f881109b3bcc7be811d67fca6

See more details on using hashes here.

File details

Details for the file batsim_py-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: batsim_py-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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

Hashes for batsim_py-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79a2982514fd4a0e33c1587381274de2e30603dcefbad538c2e1b65ed065fab4
MD5 664d0f201c07a29b4dc1c665c9d2c175
BLAKE2b-256 d69250c6713269da9443679f98688516b514d464c3b65a32732f3fb8a04810fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page