alex-retrieval/graph/collect.py

13 lines
439 B
Python
Raw Normal View History

2019-12-06 10:42:21 +00:00
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()