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

Uploaded Python 3

File details

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

File metadata

  • Download URL: anrg.saga-0.0.2.tar.gz
  • Upload date:
  • Size: 2.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.2.tar.gz
Algorithm Hash digest
SHA256 03f1d19db5a15b980b519324f534b4e74fb9fe04ea36bb821d5e1349ac95dd07
MD5 0f4345a82d5bd29ea766c38ce338a948
BLAKE2b-256 491362643416167d81e3dfc25e3bd7dc108fda384b1380b56fab3aad96699fe2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anrg.saga-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c8475450c19b1377516de6b0592e14658d20a8716de02e5de118aee5ca87ba1e
MD5 b114f1cb514a86673d2507e53824db67
BLAKE2b-256 1aafc348d2655b9fde7a04a74deb1035683f9f96933277022595cd189382cf29

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