From owner-freebsd-stable Thu Sep 27 9:42: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id B9C4137B412 for ; Thu, 27 Sep 2001 09:42:01 -0700 (PDT) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f8RGfsx167056; Thu, 27 Sep 2001 12:41:54 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20010927100726.F58293-100000@mail1.hub.org> References: <20010927100726.F58293-100000@mail1.hub.org> Date: Thu, 27 Sep 2001 12:41:51 -0400 To: "Marc G. Fournier" , From: Garance A Drosihn Subject: Re: Printer daemon killing machine ... ? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 10:09 AM -0400 9/27/01, Marc G. Fournier wrote: >Just upgraded to the most recent version of 4.4, via CVSup ... we have a >printer (HP 880c) attached to the back, that we have our windows boxes >printing to via samba ... if a print job is sent, the machine pretty >much dies for several minutes and then goes on its merry way ... > >the machine is a dual celeron with 256meg of RAM ... not what I'd >consider to be a small machine ... 0 swap is being used ... > >something I'm overlooking, as far as config might be concerned? How is the printer connected? (serial or parallel?) Some time ago there was a thread on "stray irq's 7, printing hangs, about 20000-50000 irqs per second", which had to do with the configuration of a parallel-connected HP printer. I think the key suggestion in that thread was: Antony T Curtis : You may want to investigate changing the default mode of the printer port driver by playing with the flags for the printer port device (see `man ppc' ) ECP mode should give the best performance by using a DMA channel to transfer data and only issuing an IRQ at the end of DMA. Should yield up to 2MB/s. However, I always seem to get occasional bytes going missing when printing to a Panasonic laser printer. Otherwise, one can opt for EPP or PS/2 mode, which should enable the small FIFO available in most printer ports - this should slash the number of IRQs. disclaimer: I'm just guessing here. Everything that I do with printing is done with network-connected printers. I avoid serial and parallel connections! -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message