From owner-freebsd-current@FreeBSD.ORG Sat May 1 01:27:09 2004 Return-Path: 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 0A38516A4CE for ; Sat, 1 May 2004 01:27:09 -0700 (PDT) Received: from Reineke.Malepartus.de (reineke.malepartus.de [194.25.4.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CB6C43D1F for ; Sat, 1 May 2004 01:27:08 -0700 (PDT) (envelope-from bm@Reineke.Malepartus.de) Received: from Reineke.Malepartus.de (localhost [127.0.0.1]) i418R5qe001510; Sat, 1 May 2004 10:27:05 +0200 (CEST) (envelope-from bm@Reineke.Malepartus.de) Received: (from bm@localhost) by Reineke.Malepartus.de (8.12.11/8.12.11/Submit) id i418R5Do001509; Sat, 1 May 2004 10:27:05 +0200 (CEST) (envelope-from bm) Date: Sat, 1 May 2004 10:27:05 +0200 From: Burkard Meyendriesch To: othermark Message-Id: <20040501102705.7a7ec726.bm@malepartus.de> In-Reply-To: References: <20040426111754.38a855c4.bm@malepartus.de> <20040426233925.Y5300@gamplex.bde.org> <20040430102504.477152ce.bm@malepartus.de> Organization: The Home of Reineke Fuchs X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; amd64-portbld-freebsd5.2) X-Face: "[-; ]oI+8gP9>*J%knDN8d%DuhvJS2Lj4L\bRb7gz(pcT?2Zh6_Vam_6csAum3$<&lhAFd^ jt|!&Ut1C~Vg*E/q}+#cbFg-GU]c.bB8Ad,L'W$'9{^0y'AzM4#hS[C[F-1'|O; Kg3Vrq5q6dsU*TmJ@}+QPM\ b[^9Rhd,UoMpRpd5k[X=h.Dom*kbT`cNQ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: sio: lots of silo overflows on Asus K8V with Moxa Smartio C104H/PCI solved X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 08:27:09 -0000 On Fri, 30 Apr 2004 10:51:41 -0700 othermark wrote: > > Burkard Meyendriesch wrote: > > > > Meanwhile I plugged the Moxa board into another PCI slot of my > > motherboard and the conflict with the ata6 interrupt seems to be > > solved. The silo over- flows are still there. > > > > By the way: How should I set the BIOS parameters "PCPI 2.0 yes/no" > > and"ACPI APIC yes/no"? Do they have anything to do with the PCI > > interrupt behaviour? > > I had to enable APIC to get my puc supported card to work. W/o it the > interrupts were shared and I received a ton of silo overflows and lost > data on line. > > so try the following in your kernel and rebuild > > options COM_MULTIPORT > options PUC_FASTINTR > > device apic > Thanks for the hint, this solves my problem. I now have a constant char input flow rate of about 11000 chars/s at 115200 bps. This makes an average interupt rate of 1400 ints/s, so each interrupt service gets about 8 input chars of the silo. With a 16[45]50 silo size of 16 chars this seems to be a reasonable rate. All the silo overflow warnings disappeared. Btw, "device apic" doesn't exist; did you mean "device acpi"? Burkard -- Burkard Meyendriesch Stevern 2 D-48301 Nottuln