Kernel thread stack usage

Jeff Roberson jroberson at chesapeake.net
Sun Sep 30 14:24:38 PDT 2007


On Sun, 30 Sep 2007, Alexander Motin wrote:

> Alfred Perlstein ?????:
>> Not that I know of, but one could defer to queueing once the chain
>> gets to a certain length.
>
> It will not be accurate as different nodes have different stack usage and 
> also stack partially used (part may be significant) before packet entered 
> netgraph.

Does it really need to be that precise?  If you queue every 10 or 20 deep 
the queueing cost should be substantially amortized and it sounds like 
this is not a common condition anyway or the stack would already be 
overflowing with some workloads.

Jeff

>
> -- 
> Alexander Motin
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
>


More information about the freebsd-arch mailing list