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.6.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.6-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anrg.saga-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 ad4dcb3716850a7a6cce83650329fdceb02ffe03e3a2bf87206c0938fe5e045c
MD5 410216cfbff0cc592b330f3bf925a133
BLAKE2b-256 6960ae8d41d9eea8d7a86c69e3afe34612fbc81d38a0844b47c0cb79f09da7e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anrg.saga-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1972192099c8d665d304230d276b4e5d30db27fc52444a1c516a7eec7e78f9f8
MD5 716c557dc491d27ed98be0792765158b
BLAKE2b-256 650bcf86c1c30e6e2f1fddc13ea254b3992eb0ad144da0951c39f5a31aa41d60

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