Eng Noise, help

I was smoking crack the engine always idles at 30 psi when warm, The hammering disappeared. I took it to 5500rpm and 162 mph and the hammering sound is gone. Gunna pull the heads and pan anyway. Check my crank endplay, plus moving to a mech roller cam
thank you