To best understand this requires understanding the basic math involved. Simply put, the customer selects a key to be used for a given region. Then, you have to design your hashcode. This is simply a mechanism to take that key, and convert it to some number.
This conversion is very important. It must create a very random distribution. For example, if your "black box" hashcode always pops out the value of 24, regardless of the key, every entry is going to end up in the same 1 GemFire Partitioned Region bucket.
This is worst case. If you create a great distribution of values, up to some very large value of N, you likely have the best change of seeing a great distribution of entries across all of your total-num-buckets Buckets. Here is a simple illustration:

The perfect hashcode would result in a distribution where you end up with the same number of keys ending up in each bucket. For the default total-num-buckets of 113, for example, if the hashcode black box pops out a 1, or a 114, both of those will end up in bucket 1. 1 modulo 113 = 1. 114 modulo 113 = 1. Any key that results in a value of N popped out that gives N modulo 113 = 1 will end up in that same bucket.
When designing hashcodes, understand your keys, and understand the distribution it will create from 0 - N. This can be tested and studied. Once you have a great distribution from 0 to N, you will then have a great distribution across your GemFire PR buckets, independent of the choice of total-num-buckets.