On Wed, Dec 3, 2014 at 5:37 PM, Josef 'Jeff' Sipek via illumos-zfs <
z...@lists.illumos.org> wrote:

> So, the reason I managed to find this is because I tried to remove the
> global dbuf hash table - making use of the per-dnode dbuf avl trees to find
> dbufs.
>
>
I imagine that the performance impact of this would be significant.
Looking up dbufs is in the hot path of cached reads, and is currently
O(1).  Your change would make it O(log(number of dbufs in this dnode)).

--matt
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to