timing advance problem

I’m driving around and when the tach hits 4k rpm the engine gets a big spike in power. I’m leaning towards the idea that my timing advance isn’t working until the engine reaches 4k. any thoughts on this would be appreciated. btw where is the gizmo that automatically advances the spark?inside the distributer? its not vacuum activated is it? and this is a '91 b18a. thanks in advance