Date: Tue, 3 Dec 2019 18:31:49 +0100 From: Peter Eriksson <pen@lysator.liu.se> To: FreeBSD FS <freebsd-fs@freebsd.org> Cc: Andriy Gapon <avg@freebsd.org>, Mark Johnston <markj@freebsd.org> Subject: Re: Slow reboots due to ZFS cleanup in kern_shutdown() .. zio_fini() Message-ID: <247C6990-BC6E-4E3D-8CEF-5A861D8A25EC@lysator.liu.se> In-Reply-To: <20191203162219.GI43802@raichu> References: <AD17E454-6A51-436D-A853-07F04A406EC9@lysator.liu.se> <D2A11CE9-9B24-4E40-A51A-8D318E0288C9@lysator.liu.se> <20191202225424.GG43802@raichu> <3b71fe37-c29f-e3e5-ff96-5dce15cc7553@FreeBSD.org> <20191203162219.GI43802@raichu>
next in thread | previous in thread | raw e-mail | index | archive | help
zio_fini: kmem_cache_destroy(zio_buf_cache & zio_data_buf_cache): zone_free_item(zone=3DUMA Zones): zone->uz_dtor() took 16 seconds uma_zdestroy(zio_buf_12288) took 16 seconds kmem_cache_destroy: uma_zdestroy(0xfffff8034678e980) [zio_buf_12288] = took 16 seconds kmem_cache_destroy(zio_buf_cache[20]) took 16 seconds zone_free_item(zone=3DUMA Zones): zone->uz_dtor() took 60 seconds uma_zdestroy(zio_buf_16384) took 60 seconds kmem_cache_destroy: uma_zdestroy(0xfffff8034678e880) [zio_buf_16384] = took 60 seconds kmem_cache_destroy(zio_buf_cache[28]) took 60 seconds Looks like it is the call to zone->uz_dtor that is taking time (added = time check around the various parts of zone_free_item(). - Peter > Indeed, looking at the vmstat -z output this doesn't really make = sense. > It would be useful to confirm that we are in fact spending most of the > time reclaiming items.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?247C6990-BC6E-4E3D-8CEF-5A861D8A25EC>