Skip to main content

Collection of schedulers for distributed computing

Project description

Saga

Saga: Scheduling Algorithms Gathered.

Introduction

This repository contains a collection of scheduling algorithms. The algorithms are implemented in python using a common interface. Scripts for validating the schedules produced by the algorithms are also provided. Scripts for comparing the performance of the algorithms are also provided.

Algorithms

The following algorithms are implemented:

  • Common:
    • HEFT: Heteregeneous Earliest Finish Time
    • CPoP: Critical Path on Processor
    • FastestNode: Schedule all tasks on the fastest node
  • Stochastic: (stochastic task cost, data size, compute speed, and communication strength)
    • SHEFT
    • Improved SHEFT
    • Stochastic HEFT
    • Mean HEFT

Usage

Installation

Clone the repository and install the requirements:

pip install anrg.saga

Running the algorithms

The algorithms are implemented as python modules. The following example shows how to run the HEFT algorithm on a workflow:

from saga.common.heft import HeftScheduler

scheduler = HeftScheduler()
network: nx.Graph = ...
task_graph: nx.DiGraph = ...
scheduler.schedule(network, task_graph)

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

anrg.saga-0.0.4.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anrg.saga-0.0.4-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file anrg.saga-0.0.4.tar.gz.

File metadata

  • Download URL: anrg.saga-0.0.4.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for anrg.saga-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fdf2afda6787c31403be0a2ad623562e0741374e9b41efdde6fbddc71a855b58
MD5 4e26881653d9ef002f93b109a1ab130f
BLAKE2b-256 c153eec767c492b43f817f6597dd80fdf6fb82117ce2cbf659e7538a5cc3e31a

See more details on using hashes here.

File details

Details for the file anrg.saga-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: anrg.saga-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for anrg.saga-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c3049ea16cfc7b4f78c6e311c91af456e9cce2b6b3d20e49883b371d541548a1
MD5 ba8d6af89bfbbf2f2a3e2254419272f4
BLAKE2b-256 e21c6a6c826c650830bee23150092a0d94e3f5e8727ac016759a6f5df7ef81ed

See more details on using hashes here.

Supported by

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