More freedom how to time the cams with Dohc. Adjust the duration and overlap. High compression causing pinging, open it up for more overlap as long as valves runs free from each other and pistons. The other way possible too, decrease overlap , increase compression.
Sohc cam has less tuning possibilities. You cant change in vs ex relation (overlap) except just a little by different valve lash. More lash, less duration and overlap. Less lift too.
I guess ex can like some extra lash on some cams.