|
| 1 | +COUCHDB_URL = 'http://openwhisk:[email protected]:5984/' |
| 2 | +REDIS_HOST = '10.2.64.8' |
| 3 | +REDIS_PORT = 6380 |
| 4 | +REDIS_DB = 0 |
| 5 | +GATEWAY_ADDR = '10.2.64.8:7000' |
| 6 | +MASTER_HOST = '10.2.64.8:8000' |
| 7 | +WORKFLOW_YAML_ADDR = {'fileprocessing': '/home/openwhisk/Workflow/benchmark/fileprocessing/flat_workflow.yaml', |
| 8 | + 'illgal_recognizer': '/home/openwhisk/Workflow/benchmark/illgal_recognizer/flat_workflow.yaml', |
| 9 | + 'video': '/home/openwhisk/Workflow/benchmark/video/flat_workflow.yaml', |
| 10 | + 'wordcount': '/home/openwhisk/Workflow/benchmark/wordcount/flat_workflow.yaml', |
| 11 | + 'cycles': '/home/openwhisk/Workflow/benchmark/generator/cycles/flat_workflow.yaml', |
| 12 | + 'epigenomics': '/home/openwhisk/Workflow/benchmark/generator/epigenomics/flat_workflow.yaml', |
| 13 | + 'genome': '/home/openwhisk/Workflow/benchmark/generator/genome/flat_workflow.yaml', |
| 14 | + 'soykb': '/home/openwhisk/Workflow/benchmark/generator/soykb/flat_workflow.yaml'} |
| 15 | +NETWORK_BANDWIDTH = 25 * 1024 * 1024 / 4 # 25MB/s / 4 |
| 16 | +NET_MEM_BANDWIDTH_RATIO = 15 # mem_time = net_time / 15 |
| 17 | +CONTAINER_MEM = 256 * 1024 * 1024 # 256MB |
| 18 | +NODE_MEM = 256 * 1024 * 1024 * 1024 # 256G |
| 19 | +RESERVED_MEM_PERCENTAGE = 0.2 |
| 20 | +GROUP_LIMIT = 100 |
| 21 | +RPMs = {'genome-25': [2, 4, 6, 8], 'genome-50': [2, 4, 6, 8, 10], 'genome-75': [2, 4, 6, 8, 10], 'genome-100': [2, 4, 6, 8, 10], |
| 22 | +'video-25': [4, 8, 16, 24], 'video-50': [8, 16, 24, 32, 40], 'video-75': [8, 16, 24, 32, 40], 'video-100': [8, 16, 24, 32, 40]} |
| 23 | +FUNCTION_INFO_ADDRS = {'genome': '../../benchmark/generator/genome', 'epigenomics': '../../benchmark/generator/epigenomics', |
| 24 | + 'soykb': '../../benchmark/generator/soykb', 'cycles': '../../benchmark/generator/cycles', |
| 25 | + 'fileprocessing': '../../benchmark/fileprocessing', 'wordcount': '../../benchmark/wordcount', |
| 26 | + 'illgal_recognizer': '../../benchmark/illgal_recognizer', 'video': '../../benchmark/video'} |
| 27 | +DATA_MODE = 'raw' # raw, optimized |
| 28 | +CONTROL_MODE = 'WorkerSP' # WorkerSP, MasterSP |
| 29 | +CLEAR_DB_AND_MEM = True |
0 commit comments