I would start by using dtrace to get some profiling information of where the time is being spent while on-CPU and generate a flame graph for it. ...there's some examples using dtrace included there. It's a super useful way to visualize the profiling data. -- thorpej
|