Skip to content

Commit

Permalink
Implement the example Workload from Graphene paper.
Browse files Browse the repository at this point in the history
  • Loading branch information
sukritkalra committed Feb 22, 2024
1 parent 4e8beff commit c91c873
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 0 deletions.
16 changes: 16 additions & 0 deletions configs/simple_graphene_workload.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Output configs
--log=./simple_graphene_workload.log
--log_level=debug
--csv=./simple_graphene_workload.csv

# Task configs
--runtime_variance=0

# Scheduler configs
--scheduler=Graphene
--scheduler_runtime=0

# Execution mode configs
--execution_mode=json
--workload_profile_path=./profiles/workload/simple_graphene_workload.yaml
--worker_profile_path=./profiles/workers/simple_graphene_workers.yaml
6 changes: 6 additions & 0 deletions profiles/workers/simple_graphene_workers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: WorkerPool_1
workers:
- name: Worker_1_1
resources:
- name: Slot
quantity: 3
73 changes: 73 additions & 0 deletions profiles/workload/simple_graphene_workload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Implementation of the example workload specified in the Graphene paper.
# This workload is being used to test the Offline and Online stages of the
# ILP-based reimplementation of the Graphene algorithm.
graphs:
- name: GrapheneMotivation
graph:
- name: "Task0"
work_profile: "Task0Profile"
children: ["Task6"]
- name: "Task1"
work_profile: "Task1Profile"
children: ["Task2"]
- name: "Task2"
work_profile: "Task2Profile"
children: ["Task6"]
- name: "Task3"
work_profile: "Task3Profile"
children: ["Task4"]
- name: "Task4"
work_profile: "Task4Profile"
children: ["Task5"]
- name: "Task5"
work_profile: "Task5Profile"
children: ["Task6"]
- name: "Task6"
work_profile: "Task6Profile"
release_policy: fixed
period: 0 # In us for now.
invocations: 1
deadline_variance: [2000, 2000]
profiles:
- name: Task0Profile
execution_strategies:
- batch_size: 1
runtime: 100
resource_requirements:
Slot:any: 1
- name: Task1Profile
execution_strategies:
- batch_size: 1
runtime: 20
resource_requirements:
Slot:any: 3
- name: Task2Profile
execution_strategies:
- batch_size: 1
runtime: 100
resource_requirements:
Slot:any: 1
- name: Task3Profile
execution_strategies:
- batch_size: 1
runtime: 20
resource_requirements:
Slot:any: 3
- name: Task4Profile
execution_strategies:
- batch_size: 1
runtime: 20
resource_requirements:
Slot:any: 3
- name: Task5Profile
execution_strategies:
- batch_size: 1
runtime: 100
resource_requirements:
Slot:any: 1
- name: Task6Profile
execution_strategies:
- batch_size: 1
runtime: 20
resource_requirements:
Slot:any: 1

0 comments on commit c91c873

Please sign in to comment.