Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 16:40:15 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        current@freebsd.org
Subject:   xl_stats_update taking very long
Message-ID:  <20020909163158.C30835-100000@beagle.fokus.gmd.de>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020909163158.C30835-100000>