-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.ned
62 lines (59 loc) · 1.79 KB
/
job.ned
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
moduleinterface IJobSubmitter
{
parameters:
// int max_jobs_to_submit;
// int shrink_iter_factor;
// int gpu_scale_factor;
// bool submit_all_when_start;
gates:
input directin;
output jobout;
}
simple NJobSubmitter like IJobSubmitter
{
parameters:
int num_jobs = default(1);
int num_gpus_per_job = default(8);
int iters = default(1);
string model = default("resnet50");
double submit_interval @unit(us) = default(0us);
gates:
input directin;
output jobout;
}
simple CSVJobSubmitter like IJobSubmitter
{
parameters:
int max_jobs_to_submit = default(0);
int shrink_iter_factor = default(1);
int gpu_scale_factor = default(1);
string file = default("60_job.csv");
bool submit_all_when_start = default(false);
gates:
input directin;
output jobout;
}
simple JobDispatcher
{
parameters:
@signal[iterTime](type=simtime_t);
@signal[jobCompletionTime](type=simtime_t);
@signal[jctInflation](type=double);
@signal[jobSubmissionTime](type=simtime_t);
@signal[jobWaitTime](type=simtime_t);
@signal[jobStartTime](type=simtime_t);
@signal[jobPlacementType](type=int);
string hierarchy = default("two_layers");
string job_scheduling = default("fifo");
string job_placement = default("random_multiracks");
bool custom_model = default(false);
string custom_model_sizes = default("");
string custom_fp_times = default("");
string custom_bp_times = default("");
string custom_wu_times = default("");
string custom_placement = default("");
int custom_iters = default(0);
gates:
input jobin;
input directin;
}