From owner-freebsd-questions@FreeBSD.ORG Thu Nov 2 17:12:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D5C16A415 for ; Thu, 2 Nov 2006 17:12:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE49543D6E for ; Thu, 2 Nov 2006 17:11:58 +0000 (GMT) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by diri.bris.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Gfg6Z-0004IB-1f; Thu, 02 Nov 2006 17:11:57 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by isis.bris.ac.uk with esmtp (Exim 4.60) (envelope-from ) id 1Gfg5i-0004P3-Fl; Thu, 02 Nov 2006 17:10:58 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4) with ESMTP id kA2H98Kq004240; Thu, 2 Nov 2006 17:09:08 GMT (envelope-from mexas@bristol.ac.uk) Received: (from shterenl@localhost) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4/Submit) id kA2H98S4004239; Thu, 2 Nov 2006 17:09:08 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: shterenl set sender to mexas@bristol.ac.uk using -f Date: Thu, 2 Nov 2006 17:09:08 +0000 From: Anton Shterenlikht To: Ian Smith Message-ID: <20061102170908.GA4213@mech-aslap33.men.bris.ac.uk> References: <20061101221408.9D04216A523@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Score: -1.2 X-Spam-Level: - Cc: freebsd-questions@freebsd.org Subject: Re: lpt0 printer slows system response significantly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 17:12:10 -0000 On Fri, Nov 03, 2006 at 03:03:21AM +1100, Ian Smith wrote: > On Wed, 1 Nov 2006 Anton Shterenlikht wrote: > > On Wed, Nov 01, 2006 at 10:49:36AM -0500, Lowell Gilbert wrote: > > > * Change the printer port to polled mode. ["lptcontrol -p"] > > > With this kind of hardware, it may even speed up your printing as well. > > Thanks a lot, I think it does print a bit faster. But more > > importantly I see virtually no performance degradation during > > printing. > > > > On slower machines using interrupt mode might cause > > significant degradation of the overall system perfor- > > mance due to the interrupt service using most of the > > CPU time. On such machines changing to polled mode > > will balance the CPU load as well as result in > > faster printing. > > > > I'm not sure if that's generally true for slower machines; you haven't > said (or I missed) what sort of printer you're using, what filters you > run via printcap, and such? Not one covered by the existing para? > > I have a 1500c, bit faster than your 1700 @300MHz, that has printed lots > of large files via gs without ever seeing any significant irq 7 load nor > any slowdown of the machine at all - albeit using a slow old printer. > > Not that I see any problem with your proposed addition. Perhaps 'On > some slower machines running fast printers using interrupt mode ..' ? > > Cheers, Ian That's interesting. I use lj2100 with apsfilter via printcap. aps1|lp|laserjet;r=1200x1200;q=medium;c=gray;p=a4;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ thanks anton