There is an old question very similar to your: what-is-the-optimal-size-of-a-udp-packet-for-maximum-throughput whose answers are complete and informative.
Keep in mind that there can be important differences between a local network and the Internet.