For all future readers,
Knocking is caused by any one of the cylinders firing up, before they are supposed to.
one of the reason that happens is because of bad fuel quality,
that is NOT the only reason.
Anything from the spark plug health, to distributor to ignition coils maybe at fault.
In some cases, cracked valve seals or bad guides can also cause knocking.
Some knocking will always happen, even with best 97 grade fuel, and everything else working properly
this is why we have knock sensors installed which retard or advance the ignition timing.
**So, please never try to paint the whole picture in only one color. **
proper diagnosis is the key to successful fix effort.