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.3.tar.gz (14.7 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.3-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anrg.saga-0.0.3.tar.gz
  • Upload date:
  • Size: 14.7 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.3.tar.gz
Algorithm Hash digest
SHA256 4b5b89a8bc00919bd66a724b72b62e019bd3a026d6332c6311b937c1fd0c0161
MD5 d3910c1cdad43937e6f952cfec899aae
BLAKE2b-256 5972b769b59f828d04a18f8de283c94c5d8ed90181d39541518469792b2bad9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anrg.saga-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c0d61b2250f1e0059e5b44359de71a46fb67d2d64442ed49e09fc15e7b7e48a5
MD5 beec87416ec6ab264023cddc40f5ef83
BLAKE2b-256 dafca9d74937fd6566ba3b5577d53861d7def4cfdace4f8b36a79016ef2ca97e

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