Actually, an increase in octane may eliminate detonation, but not preignition.
Detonation is caused by combustion pressures that develop so fast that the heat and pressure will "explode" the remaining unburned fuel. A knock or ping results from the violent explosion when the normal flame front runs into the secondary flame front. Detonation can be caused by lean fuel mixture,
fuel octane too low, improper ignition timing, lugging and
Excessive milling of heads or block (which increases compression ratio).
Pre-ignition, as the term suggests, is the ignition of the fuel-air mixture before the regular ignition spark from the spark plug.
Pre-ignition can be caused by carbon deposits that remain incandescent, spark plugs too hot a heat range, sharp edges in combustion chamber, valves operating at higher than normal temperature because of excessive guide clearance or improper seal with valve seats, overheating and ignition crossfiring from induced voltage in spark plug wires that run parallel to each other for long distances.
The only octane boosters that have worked for me are the ones with the ingredient MMT which acts as a lead substitute and slows down the combustion process preventing detonation.
In closing, if you have enough octane to prevent detonation,
you don't need more. Octane alone doesn't make horsepower.