Skip to content

Commit

Permalink
#521: description, constructing script, and dataset files
Browse files Browse the repository at this point in the history
  • Loading branch information
ppebay authored and cwschilly committed Jul 25, 2024
1 parent c0b88ee commit f02d4e2
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 0 deletions.
Binary file added data/synthetic-blocks/conf-blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions data/synthetic-blocks/synthetic-dataset-blocks.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{"type":"LBDatafile","rank":0},"phases":[{"id":0,"tasks":[{"entity":{"home":0,"id":0,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":1.0,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":1,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":2,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":3,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":5},"messages":1,"from":{"type":"object","id":0},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":4},"messages":1,"from":{"type":"object","id":1},"bytes":1.0},{"type":"SendRecv","to":{"type":"object","id":2},"messages":1,"from":{"type":"object","id":3},"bytes":1.0},{"type":"SendRecv","to":{"type":"object","id":8},"messages":1,"from":{"type":"object","id":3},"bytes":0.5}]}]}
1 change: 1 addition & 0 deletions data/synthetic-blocks/synthetic-dataset-blocks.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{"type":"LBDatafile","rank":1},"phases":[{"id":0,"tasks":[{"entity":{"home":1,"id":5,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":2.0,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":6,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":1.0,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":7,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":0.5,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":4,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":0.5,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":1}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":1},"messages":1,"from":{"type":"object","id":4},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":8},"messages":1,"from":{"type":"object","id":5},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":6},"messages":1,"from":{"type":"object","id":7},"bytes":1.0}]}]}
1 change: 1 addition & 0 deletions data/synthetic-blocks/synthetic-dataset-blocks.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{"type":"LBDatafile","rank":2},"phases":[{"id":0,"tasks":[{"entity":{"home":2,"id":8,"migratable":true,"type":"object"},"node":2,"resource":"cpu","time":1.5,"user_defined":{"shared_id":2,"shared_bytes":9.0,"home_rank":2}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":6},"messages":1,"from":{"type":"object","id":8},"bytes":1.5}]}]}
1 change: 1 addition & 0 deletions data/synthetic-blocks/synthetic-dataset-blocks.3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{"type":"LBDatafile","rank":3},"phases":[{"id":0,"tasks":[]}]}
30 changes: 30 additions & 0 deletions data/synthetic-blocks/synthetic-dataset-blocks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# config: synthetic data set with blocks
tasks: [1.0, 0.5, 0.5, 0.5, 0.5, 2.0, 1.0, 0.5, 1.5]
communications:
- {from: 0, size: 2.0, to: 5}
- {from: 1, size: 1.0, to: 4}
- {from: 3, size: 1.0, to: 2}
- {from: 3, size: 0.5, to: 8}
- {from: 4, size: 2.0, to: 1}
- {from: 5, size: 2.0, to: 8}
- {from: 7, size: 1.0, to: 6}
- {from: 8, size: 1.5, to: 6}
ranks:
0:
tasks: [0, 1, 2, 3]
1:
tasks: [4, 5, 6, 7]
2:
tasks: [8]
3:
tasks: []
shared_blocks:
- size: 9.0
tasks: [0, 1, 2, 3]
home_rank: 0
- size: 9.0
tasks: [4, 5, 6, 7]
home_rank: 1
- size: 9.0
tasks: [8]
home_rank: 2

0 comments on commit f02d4e2

Please sign in to comment.