Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP-GRAPHENE] Implement Graphene Scheduler #91

Merged
merged 11 commits into from
Feb 22, 2024

Conversation

sukritkalra
Copy link
Contributor

@sukritkalra sukritkalra commented Feb 21, 2024

This PR aims to replicate the scheduling algorithm proposed by GRAPHENE: Packing and Dependency-Aware Scheduling for Data-Parallel Clusters using two steps:

  1. Upon arrival of a TaskGraph, a min makespan schedule for that graph is computed assuming an empty resource-time space. This corresponds to the Offline phase proposed in the Graphene paper.
  2. The structure of the TaskGraph is then changed to conform to the min makespan schedule, and tasks are then released by the scheduler as their parents finish their execution. We use an ILP-based packing formulation to then pack tasks from various such TaskGraphs together. This corresponds to the Online phase proposed in the Graphene paper.

Testing

The offline phase of the Graphene scheduler was tested by implementing the example from Figure 2 of the Graphene paper. The original and the updated TaskGraphs are shown below:

Screenshot_22-2-2024_132425_
Screenshot_22-2-2024_132445_

@sukritkalra sukritkalra merged commit d12947b into main Feb 22, 2024
1 check passed
@sukritkalra sukritkalra deleted the sukritk/graphene-implementation branch February 22, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant