Files
mirror_zfs/include
Alexander Motin cbd8f5b759 Few microoptimizations to dbuf layer
Move db_link into the same cache line as db_blkid and db_level.
It allows significantly reduce avl_add() time in dbuf_create() on
systems with large RAM and huge number of dbufs per dnode.

Avoid few accesses to dbuf_caches[].size, which is highly congested
under high IOPS and never stays in cache for a long time.  Use local
value we are receiving from zfs_refcount_add_many() any way.

Remove cache_size_bytes_max bump from dbuf_evict_one().  I don't see
a point to do it on dbuf eviction after we done it on insertion in
dbuf_rele_and_unlock().

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #9931
2020-02-05 11:08:44 -08:00
..
2020-01-23 11:01:24 -08:00
2020-02-05 11:08:44 -08:00
2017-09-19 12:17:29 -07:00
2020-01-10 10:16:58 -08:00
2019-12-11 11:58:37 -08:00
2020-01-14 08:49:54 -08:00
2019-12-19 16:26:07 -08:00
2017-08-09 15:31:08 -07:00
2019-12-05 13:10:29 -08:00
2019-06-24 16:44:01 -07:00