lkml.org 
[lkml]   [2007]   [Nov]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 19 Nov 2007 22:44:47 -0800
From"H. Peter Anvin" <>
SubjectRe: [PATCH] Time-based RFC 4122 UUID generator
David Schwartz wrote:
> > Any UUID generator that can produce duplicate UUIDs with probability
> significantly less than purely random UUIDs is so badly broken that it
> should not ever be used. Anyone who finds such a UUID generator should
> immediately either fix it or throw it on the junk heap. Anyone who knowingly
> uses such a UUID generator should be publically shamed.
> > Rather than (or at the very least, in addition to) adding a new UUID
> generator, let's fix the one(s) we have.> 

I presume you mean "significantly higher."

Realistically speaking, a random UUID is probably the best you're going 
to ever get.  I highly suspect that any time- and MAC-address-based 
solution is going to suffer from mis-set clocks and misprogrammed MAC 
addresses more often than you will have collisions in a 122-bit random 
number.

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-20 07:49    [from the cache]
©2003-2008