-
Notifications
You must be signed in to change notification settings - Fork 6
/
test-6inputs.json
260 lines (256 loc) · 9.32 KB
/
test-6inputs.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
{
"faasnap": {
"log_level": "Warning",
"base_path": "",
"kernels": {
"v4.14": "",
"sanpage": ""
},
"images": {
"debian": ""
},
"executables": {
"vanilla": "",
"uffd": ""
},
"redis_host": "",
"redis_passwd": ""
},
"home_dir": "",
"host": "http://<ip>:8080",
"trace_api": "http://<ip>:9411/api/v2/trace",
"test_dir": "",
"repeat": 1,
"parallelism": [1],
"par_snapshots": [1],
"record_input": [2],
"test_input": [0,1,3,4,5],
"vcpu": 2,
"setting": [
"vanilla",
"vanilla-cache",
"reap",
"faasnap"
],
"function": [
"ffmpeg",
"json",
"image",
"matmul",
"pyaes",
"chameleon",
"compression",
"recognition",
"pagerank"
],
"settings": {
"vanilla": {
"name": "vanilla",
"prepare_steps": "vanilla",
"invoke_steps": "vanilla",
"record_regions": {
"record_regions": false
},
"patch_state": {
"dig_hole": false,
"load_cache": false,
"drop_cache": true
},
"invocation": {
"use_mem_file": true,
"overlay_regions": false,
"use_ws_file": false
},
"kernel": "v4.14"
},
"vanilla-cache": {
"name": "vanilla-cache",
"prepare_steps": "vanilla",
"invoke_steps": "vanilla",
"record_regions": {
"record_regions": false
},
"patch_state": {
"dig_hole": false,
"load_cache": false,
"drop_cache": false
},
"invocation": {
"use_mem_file": true,
"overlay_regions": false,
"use_ws_file": false
},
"kernel": "v4.14"
},
"warm": {
"name": "warm",
"kernel": "v4.14"
},
"faasnap": {
"name": "faasnap",
"prepare_steps": "mincore",
"invoke_steps": "mincore",
"mincore_size": 1024,
"record_regions": {
"record_regions": true,
"size_threshold": 0,
"interval_threshold": 32
},
"patch_base_state": {
"dig_hole": false,
"load_cache": false,
"drop_cache": true
},
"patch_state": {
"dig_hole": false,
"load_cache": false,
"drop_cache": true
},
"patch_mincore": {
"trim_regions": false,
"to_ws_file": "",
"inactive_ws": false,
"zero_ws": false,
"size_threshold": 0,
"interval_threshold": 32,
"drop_ws_cache": true
},
"invocation": {
"use_mem_file": false,
"overlay_regions": true,
"use_ws_file": true
},
"kernel": "sanpage"
},
"reap": {
"name": "reap",
"prepare_steps": "reap",
"invoke_steps": "reap",
"patch_state": {
"dig_hole": false,
"load_cache": false,
"drop_cache": true
},
"kernel": "v4.14"
}
},
"functions": {
"ffmpeg": {
"id": "ffmpeg",
"name": "ffmpeg",
"image": "debian",
"params": [
"{\"input_object_key\":\"100K.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}",
"{\"input_object_key\":\"200K.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}",
"{\"input_object_key\":\"399K.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}",
"{\"input_object_key\":\"400K.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}",
"{\"input_object_key\":\"800K.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}",
"{\"input_object_key\":\"1.5M.mp4\", \"output_object_key\":\"output-ffmpeg.mp4\"}"
]
},
"json": {
"id": "json",
"name": "json",
"image": "debian",
"params": [
"{\"input_object_key\":\"200K.json\"}",
"{\"input_object_key\":\"400K.json\"}",
"{\"input_object_key\":\"750K.json\"}",
"{\"input_object_key\":\"759K.json\"}",
"{\"input_object_key\":\"1.5M.json\"}",
"{\"input_object_key\":\"3M.json\"}"
]
},
"image": {
"id": "image",
"name": "image",
"image": "debian",
"params": [
"{\"input_object_key\":\"100K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"input_object_key\":\"200K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"input_object_key\":\"400K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"input_object_key\":\"409K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"input_object_key\":\"800K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"input_object_key\":\"1.6M.jpg\", \"output_object_key_prefix\": \"outputimg-\"}"
]
},
"matmul": {
"id": "matmul",
"name": "matmul",
"image": "debian",
"params": [
"{\"n\":\"500\"}",
"{\"n\":\"700\"}",
"{\"n\":\"1000\"}",
"{\"n\":\"1000\"}",
"{\"n\":\"1400\"}",
"{\"n\":\"2000\"}"
]
},
"pyaes": {
"id": "pyaes",
"name": "pyaes",
"image": "debian",
"params": [
"{\"length_of_message\":\"5000\", \"num_of_iterations\":\"1\"}",
"{\"length_of_message\":\"10000\", \"num_of_iterations\":\"1\"}",
"{\"length_of_message\":\"20000\", \"num_of_iterations\":\"1\"}",
"{\"length_of_message\":\"20000\", \"num_of_iterations\":\"1\"}",
"{\"length_of_message\":\"40000\", \"num_of_iterations\":\"1\"}",
"{\"length_of_message\":\"80000\", \"num_of_iterations\":\"1\"}"
]
},
"chameleon": {
"id": "chameleon",
"name": "chameleon",
"image": "debian",
"params": [
"{\"num_of_rows\":\"100\", \"num_of_cols\":\"100\"}",
"{\"num_of_rows\":\"100\", \"num_of_cols\":\"200\"}",
"{\"num_of_rows\":\"200\", \"num_of_cols\":\"200\"}",
"{\"num_of_rows\":\"200\", \"num_of_cols\":\"200\"}",
"{\"num_of_rows\":\"200\", \"num_of_cols\":\"400\"}",
"{\"num_of_rows\":\"400\", \"num_of_cols\":\"400\"}"
]
},
"compression": {
"id": "compression",
"name": "compression",
"image": "debian",
"params": [
"{\"input_object_key\":\"senators.json\", \"output_object_key\":\"compressed.zip\"}",
"{\"input_object_key\":\"prize.json\", \"output_object_key\":\"compressed.zip\"}",
"{\"input_object_key\":\"IAmA.json\", \"output_object_key\":\"compressed.zip\"}",
"{\"input_object_key\":\"IAmA.json\", \"output_object_key\":\"compressed.zip\"}",
"{\"input_object_key\":\"1M.json\", \"output_object_key\":\"compressed.zip\"}",
"{\"input_object_key\":\"italian.json\", \"output_object_key\":\"compressed.zip\"}"
]
},
"recognition": {
"id": "recognition",
"name": "recognition",
"image": "debian",
"params": [
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"100K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"200K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"400K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"409K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"800K.jpg\", \"output_object_key_prefix\": \"outputimg-\"}",
"{\"model_object_key\":\"resnet50-19c8e357.pth\", \"input_object_key\":\"1.6M.jpg\", \"output_object_key_prefix\": \"outputimg-\"}"
]
},
"pagerank": {
"id": "pagerank",
"name": "pagerank",
"image": "debian",
"params": [
"{\"size\":\"25000\"}",
"{\"size\":\"50000\"}",
"{\"size\":\"100000\"}",
"{\"size\":\"100000\"}",
"{\"size\":\"200000\"}",
"{\"size\":\"400000\"}"
]
}
}
}