Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2007 14:27:15 -0700 (PDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Alexander Motin <mav@freebsd.org>
Cc:        Alfred Perlstein <alfred@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Kernel thread stack usage
Message-ID:  <20070930142545.V583@10.0.0.1>
In-Reply-To: <46FFF64B.3030700@FreeBSD.org>
References:  <46FFD850.1040508@FreeBSD.org> <20070930182427.GY53439@elvis.mu.org> <46FFF64B.3030700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070930142545.V583>