lockless file descriptor lookup
ed at 80386.nl
Tue May 12 16:59:51 UTC 2009
* Jeff Roberson <jroberson at jroberson.net> wrote:
> Once the file descriptor is resolved, we verify the path via the
> descriptor table once more to ensure that it has not changed. At this
> point, we have a valid reference or we drop an invalid reference and
It's nice to see someone stepped up to implement this. Just out of
curiosity, have you done any benchmarks to see how many percent of the
time a thread needs more than one attempt to obtain a valid reference on
a common workload?
Maybe it would be nice for diagnostic purposes to add two sysctls to
obtain the amount of successful and unsuccessful attempts.
Ed Schouten <ed at 80386.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20090512/57409b4c/attachment.pgp
More information about the freebsd-arch