What should my timing be set at to stop pinging at wot

Adjusted the distributor with allen key , was not getting vacuum advance at 2000- 2500 , there was almost no vacuum from the port on the carb , it was causing it to stutter from dead stop and flooring it , then started pinging as revs climbed . Seems to work better now , had to re adjust distributor with allen key again to get it right with vacuum from brake booster port .
I have been playing with this for weeks trying to get rid of the ping adjusting distributor , never looked at if it was getting vacuum from the port on the carb , just happened to check and it was getting almost nothing at 1800-2500 , figured I would try another port .
Thanks anything you can think of helps , if you think I screwed up , no problem , never to old to learn . Rather you call me on it than I end up with bigger problems .