Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2019 16:23:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242427] zfsshutdown -> zfs_fini -> kmem_cache_destroy(zio_*_buf) is very slow causing 10+ minutes long reboots
Message-ID:  <bug-242427-227-nh0Uzv8cIE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242427-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #7 from Peter Eriksson <pen@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242427-227-nh0Uzv8cIE>