'401.bzip2', '403.gcc', '410.bwaves', '416.gamess', '429.mcf',
        '433.milc', '434.zeusmp', '435.gromacs', '436.cactusADM',
        '437.leslie3d', '444.namd', '445.gobmk', '453.povray', '454.calculix',
        '456.hmmer', '458.sjeng', '459.GemsFDTD', '462.libquantum',
        '464.h264ref', '465.tonto', '470.lbm', '471.omnetpp', '473.astar',
        '481.wrf', '482.sphinx3', '998.specrand', '999.specrand'
    ]
    # unavailable benchmarks: 400.perlbench,447.dealII,450.soplex,483.xalancbmk

    for cpu in cpus:
        for size in benchmark_sizes[cpu]:
            for benchmark in benchmarks:
                run = gem5Run.createFSRun(
                    'gem5/build/X86/gem5.opt',  # gem5_binary
                    'gem5-configs/run_spec.py',  # run_script
                    'results/{}/{}/{}'.format(cpu, size,
                                              benchmark),  # relative_outdir
                    gem5_binary,  # gem5_artifact
                    gem5_repo,  # gem5_git_artifact
                    run_script_repo,  # run_script_git_artifact
                    'linux-4.19.83/vmlinux-4.19.83',  # linux_binary
                    'disk-image/spec2006/spec2006-image/spec2006',  # disk_image
                    linux_binary,  # linux_binary_artifact
                    disk_image,  # disk_image_artifact
                    cpu,
                    benchmark,
                    size,  # params
                    timeout=5 * 24 * 60 * 60  # 5 days
                )
                run_gem5_instance.apply_async((run, ))
예제 #2
0
        'is.x', 'ep.x', 'cg.x', 'mg.x', 'ft.x', 'bt.x', 'sp.x', 'lu.x'
    ]

    classes = ['A', 'B', 'C', 'D']
    cpus = ['kvm', 'atomic']

for cpu in cpus:
    for num_cpu in num_cpus:
        for clas in classes:
            for bm in benchmarks:
                if cpu == 'atomic' and clas != 'A':
                    continue
                run = gem5Run.createFSRun(
                    'npb_tests',
                    'gem5/build/X86/gem5.opt',
                    'configs-npb-tests/run_npb.py',
                    f'''results/run_npb/{bm}/{clas}/{cpu}/{num_cpu}''',
                    gem5_binary,
                    gem5_repo,
                    experiments_repo,
                    'linux-stable/vmlinux-4.19.83',
                    'disk-image/npb/npb-image/npb',
                    linux_binary,
                    disk_image,
                    cpu,
                    bm.replace('.x', f'.{clas}.x'),
                    num_cpu,
                    timeout=24 * 60 * 60  #24 hours
                )
                run_gem5_instance.apply_async((run, os.getcwd()))
예제 #3
0
    ]

    classes = ['A']
    cpus = ['kvm', 'timing']

for cpu in cpus:
    for num_cpu in num_cpus:
        for clas in classes:
            for bm in benchmarks:
                run = gem5Run.createFSRun(
                    'npb_multicore_tests',
                    'gem5/build/X86/gem5.opt',
                    'configs-npb-tests-multicore/run_npb_multicore.py',
                    f'''results/run_npb_multicore/{bm}/{clas}/{cpu}/{num_cpu}''',
                    gem5_binary,
                    gem5_repo,
                    experiments_repo,
                    'linux-stable/vmlinux-4.19.83',
                    'disk-image/npb/npb-image/npb',
                    linux_binary,
                    disk_image,
                    cpu,
                    bm.replace('.x', f'.{clas}.x'),
                    num_cpu,
                    timeout=240 * 60 * 60  #240 hours
                )
                run_gem5_instance.apply_async((
                    run,
                    '/fasthome/aakahlow/npb_tests/',
                ))