[Freeipa-devel] [PATCH] 0024 - Better random ranges

Simo Sorce ssorce at redhat.com
Mon Dec 6 23:51:54 UTC 2010


This patch reduced the size of the default range (from 1 million to
200.000) and also changes the way the range is selected.
Instead of starting at a completely random number, it selects 1 out of
10000 random 200k ranges so that the range starts at multiples of 200k.

This makes it so that 2 different installs either do not overlap at all
or overlap completely (once in 10k times) instead of potentially
partially overlapping.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-0024-Give-back-smaller-and-more-readable-ranges-by-defaul.patch
Type: text/x-patch
Size: 2169 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101206/03b9f34d/attachment.bin>


More information about the Freeipa-devel mailing list