FreeBSD 10.0-BETA1 #8 r256765M spend too much time in locks
Andriy Gapon
avg at FreeBSD.org
Fri Oct 25 06:38:43 UTC 2013
When that high load happens again could you please run some profiling tool that
is capable of capturing the whole stacks of hot code paths?
I can suggest two alternatives:
1. hwpmc
pmcstat -S instructions -O sample.out
pmcstat -R sample.out -G summary.out
2. The following DTrace script:
profile:::profile-1113
/!(curthread->td_flags & 0x20)/
{
@stacks[stack()] = count();
}
END
{
trunc(@stacks, 10);
printa(@stacks);
}
--
Andriy Gapon
More information about the freebsd-hackers
mailing list