well you can install a retarder like stap 00b, that will automatically readjust the timing when you switch to petrol
most mechanics won't know about this, the ones that do will tell you not to do it, they just are too lethargic for the job, it can be installed easily and will only have positive effects.
the knocking is because the timing is set for best performance on cng