Some profiling tips during 10G workload

pmcstat

pmcstat -S CPU_CLK_UNHALTED_CORE -O pmc.out ; run that for like 30 seconds during active traffic
pmcstat -R pmc.out -G -

lock profiling

LOCK_PROFILING is the kernel option. To be enabled in sysctl (debug.lock.prof.enable=1); do a run; disable it (enable=0); then just grab debug.lock.prof.stats

10gFreeBSD/Profiling (last edited 2015-01-21 14:05:42 by OlivierCochardLabbé)