Or> How about (for the meantime, till this rework is designed && Or> done) going to projecting the initial random local id into the Or> range of (say) [0-1022] (i think 1023 is prime, if not choose Or> a prime near it) this way with very good probability and with Or> very little overhead on memory consumption a client Or> connect/reboot/"reconnect" would work.
Of course 1023 is not prime -- since (a^2 - b^2) = (a - b) * (a + b), it follows 2 ^ 10 - 1 = (2^5 - 1) * (2^5 + 1) = 31 * 33. I don't see why you care about the range being prime, but the closest primes to 1024 are 1021 and 1031. - R. _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general