Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 22:21:30 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        stable@freebsd.org
Subject:   DEVICE_POLLING and kern.hz
Message-ID:  <20021118221514.I34951-100000@woozle.rinet.ru>

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

we have FreeBSD router with 4 fxp's and moderately high traffic (up to 15 Mbps
at upstream port). There is about 2k5-3k5 interrupts per second, about 1k-1k5
of them are from fxp0.

Would it be useful to turn on DEVICE_POLLING on this machine? (it's not
high-end, Celeron 750/64M memory, acting as Zebra router and ipfw1)
What is the recommended kern.hz value for such machine? What are the drawbacks?

currently I have in loader.conf:

kern.ipc.nmbclusters=16384
kern.ipc.nmbufs=32768
kern.hz=250

mbuf count usually does not exceed 5k

For the reference, it is 4.7-RELEASE-p2-fxpfix (RELENG_4_7 + iedowse's fixes
for fxp).

Thanks in advance.

Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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