From owner-freebsd-current Mon Sep 9 7:40:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F42937B400 for ; Mon, 9 Sep 2002 07:40:24 -0700 (PDT) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5179343E3B for ; Mon, 9 Sep 2002 07:40:22 -0700 (PDT) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g89EeFh26870 for ; Mon, 9 Sep 2002 16:40:17 +0200 (MEST) Date: Mon, 9 Sep 2002 16:40:15 +0200 (CEST) From: Harti Brandt To: current@freebsd.org Subject: xl_stats_update taking very long Message-ID: <20020909163158.C30835-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have a system that I use for simulation purposes. I have set HZ to 10000 and everything is just fine. Except for one thing: the routine xl_stats_update has a mean execution time of 7.6 milliseconds. For my feeling this is far too long (compare to dc_tick, which takes only 1.5 usecs). If I comment out most of ukphy_status in ukphy_subr.c the problem disappears. It seems, that the READ_PHY() takes very long. If the reason for this behaviour is a hardware design bug, xl_stats_update should be called from a kernel thread rather then from a callout. Is there anybody with xl, mii, what-ever knowledge who knows what happens here? Regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message