From shino@zipper.net.ss.titech.ac.jp  Sun Dec 12 14:23:03 2004
Return-Path: <shino@zipper.net.ss.titech.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A4B0F16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Dec 2004 14:23:03 +0000 (GMT)
Received: from zipper.net.ss.titech.ac.jp (zipper.net.ss.titech.ac.jp [131.112.21.54])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3D74343D53
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Dec 2004 14:23:03 +0000 (GMT)
	(envelope-from shino@zipper.net.ss.titech.ac.jp)
Received: from zipper.net.ss.titech.ac.jp (localhost [127.0.0.1])
	by zipper.net.ss.titech.ac.jp (8.13.1/8.13.1) with ESMTP id iBCEN15n012617
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Dec 2004 23:23:01 +0900 (JST)
	(envelope-from shino@zipper.net.ss.titech.ac.jp)
Received: (from shino@localhost)
	by zipper.net.ss.titech.ac.jp (8.13.1/8.13.1/Submit) id iBCEN18m012616;
	Sun, 12 Dec 2004 23:23:01 +0900 (JST)
	(envelope-from shino)
Message-Id: <200412121423.iBCEN18m012616@zipper.net.ss.titech.ac.jp>
Date: Sun, 12 Dec 2004 23:23:01 +0900 (JST)
From: Shunsuke SHINOMIYA <shino@fornext.org>
Reply-To: Shunsuke SHINOMIYA <shino@fornext.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sysctlize a parameter of if_em's interrupt moderation
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74986
>Category:       kern
>Synopsis:       [patch] sysctlize a parameter of if_em's interrupt moderation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jfv
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 14:30:26 GMT 2004
>Closed-Date:    
>Last-Modified:  Wed Mar 28 14:07:37 GMT 2007
>Originator:     Shunsuke SHINOMIYA
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD zipper.net.ss.titech.ac.jp 5.3-RELEASE FreeBSD 5.3-RELEASE #28: Mon Nov 15 15:50:34 JST 2004 shino@zipper.net.ss.titech.ac.jp:/usr/obj/usr/src/sys/PM i386


	
>Description:
This change sysctlize last one of the parameter of if_em's interrupt
moderation .

sysctl hw.em?.int_throttle_ceil corresponds to the `absolute timer' at
AP450(*1), application note by intel.
*1 ftp://download.intel.com/design/network/applnots/ap450.pdf

`absolute timer' is for suppressing rate of interrupt per unit of time.
The value of int_throttle_ceil means a ceiling of the number of interrupt
fireing per unit of time.

Default value of int_throttle_ceil is 8000. Setting int_throttle_ceil 0
means disabling throttle moderation concerning the absolute timer.

>How-To-Repeat:
	
>Fix:
The diff of URL shown below adds sysctl int_throttle_ceil to hw.em?.

http://www.fornext.org/patch/if_em.diff

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->tackerman 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Sun Dec 12 15:31:30 GMT 2004 
Responsible-Changed-Why:  
Over to our Mr. em(4) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74986 

From: Shunsuke SHINOMIYA <shino@fornext.org>
To: freebsd-gnats-submit@FreeBSD.org, shino@fornext.org
Cc:  
Subject: Re: kern/74986: sysctlize a parameter of if_em's interrupt moderation
Date: Tue, 14 Dec 2004 11:00:36 +0900

  I'm sorry, there was a mistake in the description of int_throttle_ceil.
  int_throttle_ceil corresponds to the `throttle timer' at chapter 3.4 in
  AP450.
 
 -- 
 Shunsuke SHINOMIYA <shino@fornext.org>
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Wed Apr 5 00:38:03 UTC 2006 
State-Changed-Why:  
Did this change ever get incorporated? 


Responsible-Changed-From-To: tackerman->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Apr 5 00:38:03 UTC 2006 
Responsible-Changed-Why:  
Reset PR assigned to inactive committer. 

Hat:	gnats-admin 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74986 

From: linimon@lonesome.com (Mark Linimon)
To: bug-followup@FreeBSD.org
Cc: Mark Linimon <linimon@lonesome.com>
Subject: Re: kern/74986: sysctlize a parameter of if_em's interrupt moderation
Date: Wed, 5 Apr 2006 09:31:44 -0500

 ----- Forwarded message from Shunsuke SHINOMIYA <shino@fornext.org> -----
 
 From: Shunsuke SHINOMIYA <shino@fornext.org>
 To: Mark Linimon <linimon@FreeBSD.org>
 
  Thank you for your noticing.
  This patch has not been taken yet.
 
  And, I modified the patch for RELENG_6.
 http://www.fornext.org/patch/if_em_6.diff
 
  This function is useful for suppressing bursty traffic given by
 Interrupt Moderation.
 
  Thanks in advance.
 
 -- 
 Shunsuke SHINOMIYA <shino@fornext.org>
 
 ----- End forwarded message -----
State-Changed-From-To: feedback->suspended 
State-Changed-By: linimon 
State-Changed-When: Wed Apr 5 19:59:41 UTC 2006 
State-Changed-Why:  
The patch has not yet been incorporated.  Mark 'suspended' awaiting an 
interested committer to evaluate. 


Responsible-Changed-From-To: linimon->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Apr 5 19:59:41 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=74986 
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Fri Apr 7 09:14:32 UTC 2006 
Responsible-Changed-Why:  
I will look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74986 
Responsible-Changed-From-To: glebius->jfv 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Wed Mar 28 14:06:36 UTC 2007 
Responsible-Changed-Why:  
Cleaning old PRs assigned to myself... Assign this one to the em(4) maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74986 
>Unformatted:
