From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 12 02:11:15 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC1F116A4CE; Sat, 12 Mar 2005 02:11:15 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A14B43D1D; Sat, 12 Mar 2005 02:11:15 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])j2C2BDA6025302; Sat, 12 Mar 2005 13:11:13 +1100 Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) j2C2B9S5003194; Sat, 12 Mar 2005 13:11:11 +1100 Date: Sat, 12 Mar 2005 13:11:09 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Suporte Matik In-Reply-To: <200503112027.41010.asstec@matik.com.br> Message-ID: <20050312130002.P56388@delplex.bde.org> References: <200503112242.j2BMgArp066753@smithers.neuro.mcw.edu> <200503112027.41010.asstec@matik.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: Jason Bacon cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/78711: Parallel printer incredibly slow X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 02:11:16 -0000 On Fri, 11 Mar 2005, Suporte Matik wrote: > On Friday 11 March 2005 19:42, Jason Bacon wrote: >>> Description: >> >> The parallel printer runs ridiculously slow. It prints normally >> for about 30 seconds, then prints one line every 5 or 10 minutes. >>... > > any two lines text file needs 15 minutes to be printed > >>> Fix: >> >> lptcontrol -s resolves the problem. This looks to me much >>... > > does not fix, the problem is as well with lpr and cups local/remote > > the only way to get "some more speed" is using b/w and 150 dpi on a HPDJ, any > gray or color mode is slow Try changing the interrupt storm threshold (hw.intr_storm_threshold) to something larger than the printer can generate. FreeBSD-5.3 has interrupt storm detection that misdetects the very high interrupt rates that can be caused by printers (combined with low quality interrupt handling in the lpt driver) as interrupt storms. > doesn't matter what you set in the BIOS or whatever, any gray or colormode on > 5.3 is that inacceptable slow > > using the exactly same printer and port settings on 5.2.1 or 4.11 brings you > back to the expected printing speed FreeBSD-5.2 and FreeBSD-current have different bugs in interrupt storm detection and handling. In at least some versions, the bugs make printers go even slower if an interrupt storm is misdetected for them, but misdetection is apparently rarer. FreeBSD-4 doesn't have interrupt storm detection, so any problems with printer speed are local to the driver. Bruce