Depends on the cpu and the sticks themselves.
For instance if you have a Zen3 Ryzen then 2x16 is best, because Zen3 has a preference for dual rank ram. You can use 4x8 and it's almost the same, the MC will treat the 2x single rank sticks like a single dual rank stick in dual channel with the other pair. Moving down to 2x8, you run into mostly single rank sticks which don't perform as well, even with identical speeds and timings.
And then there's prior Zen releases where single rank outperforms and is more stable than dual rank dimms and using 4x dimms is either problematic or impossible to get xmp/docp timings and speeds.
And none of that applies to Intel, who doesn't seem to care about rank, putting all its chips on timings and speeds, where 3200/14 is intrinsically identical to 3600/16.
Real world differences are mostly irrelevant, there's not enough difference to enable a human to quantify it one way or another. A benchmark is required to show the results.