Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 14:34:03 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>, freebsd-stable@FreeBSD.org
Subject:   Re: zfs, a directory that used to hold lot of files and listing pause
Message-ID:  <87197469-f69e-04ae-5cd5-30d0499bb5c7@FreeBSD.org>
In-Reply-To: <577ab7b2-46c1-5cf0-b6ad-50895978d957@norma.perm.ru>
References:  <4d9269af-ed64-bb73-eb7f-98a3f5ffd5a2@norma.perm.ru> <40fa9fd6-15aa-d8f7-b958-8783e763e6bc@multiplay.co.uk> <577ab7b2-46c1-5cf0-b6ad-50895978d957@norma.perm.ru>

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


Instead of the guesswork and black magic, you could try to use tools to analyze
the problem.  E.g., determine if the delay is because a CPU does a lot of work
or it is because of waiting.  Find the bottleneck, etc.
pmcstat, dtrace are your friends :-)

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87197469-f69e-04ae-5cd5-30d0499bb5c7>