[Bug 242427] zfsshutdown -> zfs_fini -> kmem_cache_destroy(zio_*_buf) is very slow causing 10+ minutes long reboots

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 5 16:23:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242427

--- Comment #7 from Peter Eriksson <pen at lysator.liu.se> ---
>      keg_free_slab: keg->uk_freef(mem) {page_free} took 2190 µs
>      keg_drain: while()-keg_free_slab-loop took 163 s (163765748 µs) [240297 loops, 4 slow, avg=681 µs, min=246 µs, max=7922 µs]

Just a FYI:

The "max" value should probably be subtracted with ~6000µs - calling printf()
with a line of text seems to take about that time - so if I run the same test
without printing anything in keg_free_slab() the max is around 2000µs instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list