knocking.... at random times

I think I had the same sort of problem with my engine after I installed the new manifold. I left off a cap for one of the vacuum inlets or something on the manifold. As soon as I capped it, it idled much smoother and the knocking disappeared. I'm just throwing in my two cents, but odds are I have no idea what I'm talking about.