From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 9 12:31:11 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 3AB7A37B401 for ; Wed, 9 Apr 2003 12:31:11 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BCB343F93 for ; Wed, 9 Apr 2003 12:31:10 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h39JV5E29501; Wed, 9 Apr 2003 21:31:05 +0200 (MEST) Date: Wed, 9 Apr 2003 21:31:05 +0200 (CEST) From: Harti Brandt To: Luigi Rizzo In-Reply-To: <20030409121408.A23344@xorpc.icir.org> Message-ID: <20030409212923.J1322@beagle.fokus.fraunhofer.de> References: <20030409114957.GN83126@cicely9.cicely.de> <200304091900.h39J0igT063938@strings.polstra.com> <20030409121408.A23344@xorpc.icir.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: John Polstra Subject: Re: realtime problem 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: Wed, 09 Apr 2003 19:31:11 -0000 On Wed, 9 Apr 2003, Luigi Rizzo wrote: LR>On Wed, Apr 09, 2003 at 12:00:44PM -0700, John Polstra wrote: LR>... LR>> Huh? I'm not aware of any hz-related botches in the mii code. LR>> Could you give me a specific example? I'd like to fix it if I can LR>> find it. LR> LR>it is not hz-related, the fact is that some PHY events are LR>handled by busy-waiting in the interrupt service routine LR>thus causing unpredictable latencies in the response to LR>interrupts. Well, in this case it is not exacly what one would call an 'event'. It's the periodcally called status update routine and this routine botches the callout timing because it cannot generate the minimum timing that MII requires. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org