From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 13 16:36:52 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADA5E37B405; Sun, 13 Apr 2003 16:36:52 -0700 (PDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79EC443FBF; Sun, 13 Apr 2003 16:36:51 -0700 (PDT) (envelope-from dgilbert@velocet.ca) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id E4913137FFE; Sun, 13 Apr 2003 19:36:49 -0400 (EDT) Received: by trooper.velocet.ca (Postfix, from userid 66) id 78D4874A44; Sun, 13 Apr 2003 19:36:49 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id DE73056791B; Sun, 13 Apr 2003 19:36:45 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16025.62605.808335.650450@canoe.velocet.net> Date: Sun, 13 Apr 2003 19:36:45 -0400 To: Mike Silbersack In-Reply-To: <20030401095201.O1612@odysseus.silby.com> References: <20030401123319.GA8399@comp.chem.msu.su> <32984.1049200665@critter.freebsd.dk> <20030401131616.GA11282@comp.chem.msu.su> <20030401095201.O1612@odysseus.silby.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: Yar Tikhiy cc: hackers@freebsd.org cc: Poul-Henning Kamp Subject: Expensive MII code (was Re: "Expensive timeout(9) function...") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 23:36:53 -0000 Mike> The _tick routines are not easy to fix, FWIW. MII access Mike> functions are quite time consuming almost any way you look at Mike> it. Mike> Well, actually, I figured out a way to make them much faster, Mike> but it's been a few months since I looked at that patch, I guess Mike> I should pull it back up and post it somewhere... Expensive, certainly. The em driver locks up the whole machine for several seconds when ifconfig'ing cards. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================