Date: Sat, 4 Nov 2006 03:52:24 +0000 From: MQ <antinvidia@gmail.com> To: freebsd-net@freebsd.org Cc: davidch@freebsd.org Subject: device polling problem with the bge(4) Message-ID: <be0088ce0611031952g2fba2b76g3c45c805d81f4a73@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have two boxes running bge(4). One is ARIMA SW330 with two 5780 on board, another is HP NC6000 notebook with 5701. After I enabled device polling, I found the lost_polls is always increasing. I looked through the codes in /sys/dev/bge/if_bge.c, and finally found that the problem lies in the function bge_tick. More exactly, the problem is caused by mii_tick. It is called frequently, and normally returns in 0.5ms. But it always get one chance to cost 4~5ms in every 4s. This behavior causes the BGE_LOCK statement in bge_poll() to delay 4~5ms, and finally makes the lost_polls increasing. Additionally, the HZ for bge(4), at least for my bge(4) cards, is limited to at most 2000, or there will be lost_polls every second. I hope this is a fixable problem, and fixed soon. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be0088ce0611031952g2fba2b76g3c45c805d81f4a73>