Subject: Re: Making ipintrq ifq_len and ifq_max readable and writable via sysctl
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-net
Date: 08/15/2003 18:56:48
On Friday, August 15, 2003, at 04:19  PM, Jonathan Stone wrote:

> I propose to add sysctl knobs to allow examining and modifying the
> current and max depth of inpintrq:
>
> 	  net.inet.ip.intr_queue_maxlen
> 	  net.inet.ip.intr_queue_drops
> 	  net.inet.ip.intr_queue_len
>
> (intr_queue_len is new, the other two match the FreeBSD names.)  I've
> had the code running on a couple of test systems for some time, I just
> need to clean it up and remerge it again after fast-ipsec.
>
> Any objections?

Just to the names.  Its name exposes the implementation details.  I'd 
prefer net.inet.ip.maxqlen, net.inet.ip.qdrops, and net.inet.ip.qlen.

BTW, I would also support changing the default queue len to some larger 
number.

Also, the qdrops is available via netstat, right?  Why expose it here, 
too?

         -- Jason R. Thorpe <thorpej@wasabisystems.com>