From owner-freebsd-questions@FreeBSD.ORG Wed Nov 1 15:50:07 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 DE19E16A4AB for ; Wed, 1 Nov 2006 15:50:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id F22F643D88 for ; Wed, 1 Nov 2006 15:49:40 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 16717 invoked from network); 1 Nov 2006 15:49:40 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Nov 2006 15:49:40 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3BFE428432; Wed, 1 Nov 2006 10:49:39 -0500 (EST) To: mexas@bristol.ac.uk, freebsd-questions@freebsd.org, Reply-To@be-well.ilk.org, freebsd-questions@freebsd.org References: <20061101000426.GA60303@mech-aslap33.men.bris.ac.uk>, <45485490.D5trgMIQ1JYsEyMX%perryh@pluto.rain.com> From: Lowell Gilbert In-Reply-To: <45485490.D5trgMIQ1JYsEyMX%perryh@pluto.rain.com> Date: Wed, 01 Nov 2006 10:49:36 -0500 Message-ID: <44slh3goa7.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 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: Wed, 01 Nov 2006 15:50:08 -0000 perryh@pluto.rain.com writes: >> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND >> 18 root 1 -60 -179 0K 8K *Giant 15:09 77.05% irq7: lpt0 >> 11 root 1 171 52 0K 8K RUN 48.0H 11.13% idle > > The interrupt service for the parallel port is using over 3/4 of > the CPU, and half of the rest is "idle". > > I take it this is a laser printer, which can consume bytes from the > parallel port as fast as the processor can send them. Top-of-head > dump of ways to cut down on the interrupt traffic: > > * Get a DMA-capable parallel port (supposing such exist, and FreeBSD > supports them); > > * Move the printer to a network connection or dedicated print server; > > * Somehow tell the printer not to receive so quickly. * Change the printer port to polled mode. ["lptcontrol -p"] With this kind of hardware, it may even speed up your printing as well.