In S.I. engines detonation is caused by the auto-ignition of end gas towards the end of combustion whereas knocking in CI engines is due to auto-ignition of the first charge at the start of combustion. Larger size of cylinder promotes detonation in SI engines whereas detonation in CI engines is reduced with the same.