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.5.tar.gz (50.2 kB view details)

Uploaded Source

Built Distribution

batsim_py-1.0.5-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: batsim-py-1.0.5.tar.gz
  • Upload date:
  • Size: 50.2 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.5.tar.gz
Algorithm Hash digest
SHA256 4dca306c653679e80948b11c67dbf3b0c1e08fa47d2ce06d7114891e2038d3f1
MD5 37b565c9bd1bb355ec492bbd5d874bfc
BLAKE2b-256 0efb81327163e791c2626240d39ca4ef1fbb4b5843a88c379a82c18ea0611163

See more details on using hashes here.

File details

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

File metadata

  • Download URL: batsim_py-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 53.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cbe60a4a49ff6f7bf83066df70050de12d33c0e01fc14fc30e9b21dfded28d16
MD5 2cc1b11a43317256ef7c9fa153891d78
BLAKE2b-256 d6da1471d4f7eec9b29127af467fbd4826ad747f17d8bbff0770bd29c5069ea8

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