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:

git clone <repo>
cd <repo>
pip install -e . # -e flag is optional - it installs the package in editable mode

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: anrg.saga-0.0.1.tar.gz
  • Upload date:
  • Size: 2.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.1.tar.gz
Algorithm Hash digest
SHA256 b46e6b2f6524a016382a12afbf0fbdd312f8a081bd2b9d044048c99e3a7b8deb
MD5 ca5b2e47e17e98820352d6bc4dd503ad
BLAKE2b-256 bc3d805dbe0f9e50cc839768cc260b581f7388e6dfeb8f8109cd93b9a9cd114b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anrg.saga-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e225982634d8fa758f6b8886826d66cb60238603f935f13ef512ec4d1a4f224
MD5 018d5488556248eb670a125329661520
BLAKE2b-256 b8e564283d0bfe7a3e023768881c3e9e68aed179c71e97449f88edf262ae07c3

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