1
0
Fork 0
alex-retrieval/graph/collect.py
2019-12-06 11:42:21 +01:00

13 lines
439 B
Python

import subprocess
def main():
for num_servers in [2]:
for database_size in [2, 64, 512, 2048, 8192, 32_768, 65_536, 131_072, 262_144, 524_288, 1_048_576, 2_097_152, 4_194_304, 8_388_608]:
for block_size in [2, 64, 512, 1024, 4096, 8192, 16_384]:
subprocess.run(["java", "dk.au.pir.Driver", "-Xmx60G", str(num_servers), str(database_size), str(block_size)])
if __name__ == '__main__':
main()