Hi Team,
Let' s say I have 1e4 tasks to run and each task requires 1CPU and 1GB memory, should I specify the machine type to have option1 = 2cpu and 2gb memory (each machine run 2 tasks at a time) or should I specify it to have option2 = 16cpu and 16gb memory (each machine run 16 tasks at a time)? Which one would be the fastest and cheapest way to get things done?
My prior is the following:
1. running_time(option_1)<run_time(option_2). option_2 machine is more rare, making it harder to be allocated faster.
2. cost(option_1)>cost(option_2) The memory cost and cpu cost of two options should roughly be the same if the run_time is roughly the same(depending on answer for quesiton #1) but option2 could help reduce the number of vm instances so that the total bootdisk cost and ip address cost etc would be much lower.
Could the team correct me if I am wrong? Thanks!