PWM frequency settings

After having a mess on with the PWM frequncy settings I’m guessing the goal is to get the smallest waveform with the least fluctuations? Would someone mind having a look at the attached log abd comment?