Run thread_scaling with all pairwise combinations