From owner-freebsd-stable Tue May 28 20:17:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 9E11137B400 for ; Tue, 28 May 2002 20:17:12 -0700 (PDT) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.12.3/8.12.3) with ESMTP id g4T3H9Yo064948 for ; Wed, 29 May 2002 11:17:09 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.12.3/8.12.3/Submit) id g4T3H7Ik064947 for stable@freebsd.org; Wed, 29 May 2002 11:17:07 +0800 (KRAST) Date: Wed, 29 May 2002 11:17:07 +0800 From: Eugene Grosbein To: stable@freebsd.org Subject: DEVICE_POLLING problem with 4.5-STABLE Message-ID: <20020529111706.A63231@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I tried to use DEVICE_POLLING for my router. So I rebuilt a kernel and added kern.polling.enable=1 to /etc/sysctl.conf My system has two fxp and two ed network interfaces acting as router/shaper, it heavily uses dummynet/WF2Q making lots of low-bandwidth pipes (100Kbit/s and less) with short queue lenght (5 slots). When I created 200Kbit/s flow from the segment served by ed1 to the segment served by fxp0, the system became practically unresponsible and I got the load of kernel messages written to console and syslog: May 28 21:27:50 gw2 /kernel: poll stalled [7] in phase 4 May 28 21:32:47 gw2 /kernel: poll stalled [8] in phase 4 May 28 21:32:47 gw2 /kernel: poll stalled [9] in phase 4 May 28 21:32:53 gw2 /kernel: poll stalled [10] in phase 4 May 28 21:32:53 gw2 /kernel: poll stalled [11] in phase 4 .... May 29 10:38:56 gw2 /kernel: poll stalled [1651] in phase 4 And so on. Sometimes there was 'phase 6'. It was not possible to manage it using ssh and console's respose time was unacceptable: it took about a minute to login. However, I could successfully (ehem) reboot router using C-A-D, booted it to the single mode, disabled polling and repeated the experiment. No lockups, no messages, 75% idle time, 190Kbit/s of FTP transfer. I know ed(4) doesn't currently support polling. Does it mean I cannot use polling here? My system is Intel P75, both fxp run in 100baseTX mode. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message