PAM doesn't care about how you arrange the sockets/cores. We don't license PAM based on the number of CPUs or Cores. I have seen numerous benchmarks (not PAM specific) where there is virtually no impact to performance assuming the same total number of cores.
That said, there are circumstances where VMWare could be optimized by a specific socket/core configuration, but that decision should be made by VMWare engineers. Generally such optimization offers minimal performance gains for an application like PAM; usually such optimization is reserved for high performance processing or database workloads.