Strange slowdown when cache devices enabled in ZFS
Andriy Gapon
avg at FreeBSD.org
Tue Mar 19 14:57:41 UTC 2013
on 15/03/2013 16:58 Freddie Cash said the following:
> How does one do that? I've never done that before.
>
> Point me to some docs, and I'll see what I can find out.
hwpmc(4), pmcstat(8)
and/or
/usr/share/dtrace/toolkit/hotkernel
and/or (just an example)
dtrace -n 'profile:::profile-4001 { @stacks[pid, tid, execname, stack()] =
count(); } END { trunc(@stacks, 10); printa(@stacks); }'
> On Fri, Mar 15, 2013 at 4:34 AM, Andriy Gapon <avg at freebsd.org
> <mailto:avg at freebsd.org>> wrote:
>
> on 14/03/2013 20:13 Freddie Cash said the following:
> > the l2arc_feed_thread of zfskern will spin until it takes up 100%
> > of a CPU core
>
> If you see a thread taking 100% where it shouldn't, then just profile it and
> actually see what it's doing.
--
Andriy Gapon
More information about the freebsd-fs
mailing list