My bike was pinging, lifted the needle one slot and it all went away, 7.25 and 334 set as per the manual, also started going quite a bit harder.
Personally I would be playing with fuel before messing with the timing.
As far as I am aware, fuel octane plays an issue only with compression, 8.5:1 should run easily in 98/95 without pinging.
Avgas is 100 octane, whilst I try to run my bike on it, it really does not make much difference.
One simple thing you can try to see if your bike is running too lean is, when riding apply choke/the air level should give a loss of power, i.e. getting much much richer.
http://www.popularhotrodding.com/tech/0311_phr_compression_ratio_tech/photo_18.htmlIf there is an increase of power / loss of pinging, the engine is too lean.
If you are running leaded fuel, i.e. avgas, the colour of the exhaust pipe stain will give you an idea of the mixture.