Skip to main content

Batsim-py coverage coverage doc GitHub GitHub release (latest by date)

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.

Metadata

Release files for batsim-py 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for batsim-py 1.0.5
File Size Uploaded
batsim-py-1.0.5.tar.gz 50.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for batsim-py 1.0.5
File Interpreter ABI Platform
batsim_py-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 104.1 kB

Release files / batsim-py-1.0.5.tar.gz

Download URL batsim-py-1.0.5.tar.gz
Size 50.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4dca306c653679e80948b11c67dbf3b0c1e08fa47d2ce06d7114891e2038d3f1
BLAKE2b-256 checksum
How to use checksums
0efb81327163e791c2626240d39ca4ef1fbb4b5843a88c379a82c18ea0611163
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / batsim_py-1.0.5-py3-none-any.whl

Download URL batsim_py-1.0.5-py3-none-any.whl
Size 53.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe60a4a49ff6f7bf83066df70050de12d33c0e01fc14fc30e9b21dfded28d16
BLAKE2b-256 checksum
How to use checksums
d6da1471d4f7eec9b29127af467fbd4826ad747f17d8bbff0770bd29c5069ea8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page