ktrace and KTR_DROP

Peter Edwards peadar.edwards at gmail.com
Fri Jul 1 14:11:41 GMT 2005


On 7/1/05, John Baldwin <jhb at freebsd.org> wrote:
> On Friday 01 July 2005 09:21 am, Peter Edwards wrote:
> > Y'all,
> >
> > Ever since the introduction of a separate ktrace worker thread for
> > writing output, there's the distinct possibility that ktrace output
> > will drop requests. For some proceses, it's actually inevitable:
> > as long as the traced processes can sustain a rate of generating
> > ktrace events faster than the ktrace thread can write them, you'll
> > eventually run out of ktrace requests.
> 
> The patch looks good to me, and I'd even be ok with having neverdrop on by
> default.

FWIW, that would also be my preference, I was just being conservative.


More information about the freebsd-arch mailing list