Hat Yai is smaller than Surat but bigger than Chiang Rai. Traffic in Hat Yai isn't bad. Surat is the biggest city in the south based on experience. I don't believe any of the population numbers.
Pattaya is a long way from Bangkok. It's a separate city. Pattaya seems as big as Chiang Mai.