I just launched the following trivial cpu performance test on ubuntu workers
for (int i=1; i<2000000000; i++)
Running this test two times sequentially takes about 5 seconds each, wall time 10 seconds
Running this test two times in parallel takes about 13 seconds each, wall time 13 seconds (it’s using separate linux processes, using mvn -T 2.0C package)
I expected the paralell test to be almost exactly twice as fast as the sequential test (that’s what it does on my computer).
What are the expected multithread performances of the Standard_DS2_v2 vcpus ? Did anyone get a noticeable speedup using parallelization ? Is there something to do ?
ps: it works as expected on macos workers