From owner-freebsd-questions Fri Feb 1 14:29:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.rsasecurity.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 456F037B402 for ; Fri, 1 Feb 2002 14:29:55 -0800 (PST) Received: from sdtihq24.securid.com by tholian.rsasecurity.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 1 Feb 2002 22:29:20 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id RAA07744 for ; Fri, 1 Feb 2002 17:29:54 -0500 (EST) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with SMTP id g11MTqL28666 for ; Fri, 1 Feb 2002 17:29:52 -0500 (EST) Received: (qmail 598 invoked from network); 1 Feb 2002 22:29:51 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 1 Feb 2002 22:29:51 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id g11MTmd33458; Fri, 1 Feb 2002 14:29:48 -0800 (PST) (envelope-from mikko) Date: Fri, 1 Feb 2002 14:29:48 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200202012229.g11MTmd33458@mikko.rsa.com> To: erichey2@attbi.com Cc: questions@freebsd.org Subject: Re: System slow when printer active Newsgroups: local.freebsd.questions References: <20020131191605.23bff18e.erichey2@attbi.com> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >I am on 4.4 (standard GENERIC kernel). >I've setup the standard print controls using printcap and an if= that >invokes ghostscript for ps files. My printer (lpt0) is a laserjet. >When the printer is active, ie while the spooler is dumping data to the >printer, the system becomes very unresponsive. Mouse movements and >keystrokes are delayed for one or more seconds. >What causes this? Let me guess, "gs" uses up all available CPU, and the parallel port generates 75% interrupt load (have a look with "top" and "systat -vm"). There might be some tweaks you can do with your kernel configuration, or with lptcontrol, to make the parallel port more efficient, but I'm not sure (My printers have been moved to ethernet and USB :-). Check lpt(4) and lptcontrol(8). $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message