-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #673 from SteVwonder/unbalanced-tiered-storage
t: add storage-constrained tests for tiered storage systems
- Loading branch information
Showing
42 changed files
with
4,651 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
t/data/resource/commands/mt-storage/L0/cmds-ssd-constrained-alloc-orelse.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 8x node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# ->ssd[2048] | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L0/cmds-ssd-constrained-alloc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# ->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L0/storage-constrained.yaml | ||
quit |
13 changes: 13 additions & 0 deletions
13
t/data/resource/commands/mt-storage/L1/cmds-ssd-constrained-alloc-orelse.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 8x node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L1/cmds-ssd-constrained-alloc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained.yaml | ||
quit |
13 changes: 13 additions & 0 deletions
13
t/data/resource/commands/mt-storage/L1/cmds-ssd-constrained-same-rack-alloc-orelse.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 8x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L1/cmds-ssd-constrained-same-rack-alloc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L1/storage-constrained-same-rack.yaml | ||
quit |
13 changes: 13 additions & 0 deletions
13
t/data/resource/commands/mt-storage/L2/cmds-ssd-constrained-alloc-orelse.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 8x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl2unit[1]->ssd[2048] | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate_orelse_reserve @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L2/cmds-ssd-constrained-alloc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl2unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L2/storage-constrained.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L3/storage-constrained-global.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl2unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
quit |
16 changes: 16 additions & 0 deletions
16
t/data/resource/commands/mt-storage/L3/storage-constrained-mix.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 3x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
# | ||
# 2x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl2unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-global.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
quit |
11 changes: 11 additions & 0 deletions
11
t/data/resource/commands/mt-storage/L3/storage-constrained-same-rack.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 5x rack[1]->node[1]->slot[1]->socket[1]->core[18] | ||
# ->gpu[2] | ||
# ->memory[128] | ||
# mtl1unit[1]->ssd[2048] | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
# this must fail to match | ||
match allocate @TEST_SRCDIR@/data/resource/jobspecs/mt-storage/L3/storage-constrained-same-rack.yaml | ||
quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# override ignore of *.out in top-level .gitignore | ||
!*.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
---------------core18[1:x] | ||
---------------core19[1:x] | ||
---------------core20[1:x] | ||
---------------core21[1:x] | ||
---------------core22[1:x] | ||
---------------core23[1:x] | ||
---------------core24[1:x] | ||
---------------core25[1:x] | ||
---------------core26[1:x] | ||
---------------core27[1:x] | ||
---------------core28[1:x] | ||
---------------core29[1:x] | ||
---------------core30[1:x] | ||
---------------core31[1:x] | ||
---------------core32[1:x] | ||
---------------core33[1:x] | ||
---------------core34[1:x] | ||
---------------core35[1:x] | ||
---------------gpu2[1:x] | ||
---------------gpu3[1:x] | ||
---------------memory4[32:x] | ||
---------------memory5[32:x] | ||
---------------memory6[32:x] | ||
---------------memory7[32:x] | ||
------------socket1[1:x] | ||
------------ssd4[512:x] | ||
------------ssd5[512:x] | ||
------------ssd6[512:x] | ||
------------ssd7[512:x] | ||
---------node3[1:s] | ||
------rack1[1:s] | ||
---mtl0-test0[1:s] | ||
INFO: ============================= | ||
INFO: JOBID=1 | ||
INFO: RESOURCES=ALLOCATED | ||
INFO: SCHEDULED AT=Now | ||
INFO: ============================= | ||
---------------core18[1:x] | ||
---------------core19[1:x] | ||
---------------core20[1:x] | ||
---------------core21[1:x] | ||
---------------core22[1:x] | ||
---------------core23[1:x] | ||
---------------core24[1:x] | ||
---------------core25[1:x] | ||
---------------core26[1:x] | ||
---------------core27[1:x] | ||
---------------core28[1:x] | ||
---------------core29[1:x] | ||
---------------core30[1:x] | ||
---------------core31[1:x] | ||
---------------core32[1:x] | ||
---------------core33[1:x] | ||
---------------core34[1:x] | ||
---------------core35[1:x] | ||
---------------gpu2[1:x] | ||
---------------gpu3[1:x] | ||
---------------memory4[32:x] | ||
---------------memory5[32:x] | ||
---------------memory6[32:x] | ||
---------------memory7[32:x] | ||
------------socket1[1:x] | ||
------------ssd0[512:x] | ||
------------ssd1[512:x] | ||
------------ssd2[512:x] | ||
------------ssd3[512:x] | ||
---------node2[1:s] | ||
------rack1[1:s] | ||
---mtl0-test0[1:s] | ||
INFO: ============================= | ||
INFO: JOBID=2 | ||
INFO: RESOURCES=ALLOCATED | ||
INFO: SCHEDULED AT=Now | ||
INFO: ============================= | ||
---------------core18[1:x] | ||
---------------core19[1:x] | ||
---------------core20[1:x] | ||
---------------core21[1:x] | ||
---------------core22[1:x] | ||
---------------core23[1:x] | ||
---------------core24[1:x] | ||
---------------core25[1:x] | ||
---------------core26[1:x] | ||
---------------core27[1:x] | ||
---------------core28[1:x] | ||
---------------core29[1:x] | ||
---------------core30[1:x] | ||
---------------core31[1:x] | ||
---------------core32[1:x] | ||
---------------core33[1:x] | ||
---------------core34[1:x] | ||
---------------core35[1:x] | ||
---------------gpu2[1:x] | ||
---------------gpu3[1:x] | ||
---------------memory4[32:x] | ||
---------------memory5[32:x] | ||
---------------memory6[32:x] | ||
---------------memory7[32:x] | ||
------------socket1[1:x] | ||
------------ssd4[512:x] | ||
------------ssd5[512:x] | ||
------------ssd6[512:x] | ||
------------ssd7[512:x] | ||
---------node1[1:s] | ||
------rack0[1:s] | ||
---mtl0-test0[1:s] | ||
INFO: ============================= | ||
INFO: JOBID=3 | ||
INFO: RESOURCES=ALLOCATED | ||
INFO: SCHEDULED AT=Now | ||
INFO: ============================= | ||
---------------core18[1:x] | ||
---------------core19[1:x] | ||
---------------core20[1:x] | ||
---------------core21[1:x] | ||
---------------core22[1:x] | ||
---------------core23[1:x] | ||
---------------core24[1:x] | ||
---------------core25[1:x] | ||
---------------core26[1:x] | ||
---------------core27[1:x] | ||
---------------core28[1:x] | ||
---------------core29[1:x] | ||
---------------core30[1:x] | ||
---------------core31[1:x] | ||
---------------core32[1:x] | ||
---------------core33[1:x] | ||
---------------core34[1:x] | ||
---------------core35[1:x] | ||
---------------gpu2[1:x] | ||
---------------gpu3[1:x] | ||
---------------memory4[32:x] | ||
---------------memory5[32:x] | ||
---------------memory6[32:x] | ||
---------------memory7[32:x] | ||
------------socket1[1:x] | ||
------------ssd0[512:x] | ||
------------ssd1[512:x] | ||
------------ssd2[512:x] | ||
------------ssd3[512:x] | ||
---------node0[1:s] | ||
------rack0[1:s] | ||
---mtl0-test0[1:s] | ||
INFO: ============================= | ||
INFO: JOBID=4 | ||
INFO: RESOURCES=ALLOCATED | ||
INFO: SCHEDULED AT=Now | ||
INFO: ============================= | ||
INFO: ============================= | ||
INFO: No matching resources found | ||
INFO: JOBID=5 | ||
INFO: ============================= |
Oops, something went wrong.