LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 02-03-2005, 12:26 PM   #1
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Strange Cups Performance


So earlier this week I brought up a new machine with FreeBSD 5.3-RELEASE. This isn't my first time using FreeBSD but I have to say I'm not nearly as familure with it as I am Linux.

Anyway, I decided to move my IPP Printer Server (aka cups server) to the FreeBSD box. I used ports to install cups-1.1.23.0. Configuration went just fine.

What I can't figure out is why cups is taking so long to print anything. It does work, the documents do get printed out correctly. However, it is taking forever for it to happen. The printer comes to life almost immediatly whether I'm printing directly from the FreeBSD box or over the network via IPP. However, it seams to only print about 1 line per second as appose to the usual 6-10 ppm.

Anyway have any ideas?

Just to give you an idea of the full setup, I'm using pmn2ppa-1.12 with a Deskjet 720C and the foomatic script stuff to interface the two.


List of all print related ports packages I've installed:
cups-1.1.23.0
cups-base-1.1.23.0_3
cups-lpr-1.1.23.0
cups-pstoraster-7.07_3
foomatic-db-20040107_2
foomatic-db-engine-3.0.2,1
foomatic-filters-3.0.2_4
ghostsccript-gnu-7.07_12
enscript-letter-1.6.4
pmn2ppa-1.12

Also, if it helps anyone:

dmesg Parallel I/O Startup
Code:
ppc0: <Standard parallel printer port> port 0x378-0x37b irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 720C> SCP,VLINK
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
interesting dmesg message
Code:
stray irq7
Interrupt storm detected on "irq7: lpt0"; throttling interrupt source
stray irq7

Last edited by jtshaw; 02-03-2005 at 12:48 PM.
 
Old 02-03-2005, 12:57 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Ok.... I figured out a way to fix the problem. Apparently the default setting for hw.intr_storm_threshold is 500 which is way to low for printing. Setting it up to around 20,000 does the trick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
performance of IPP vs. SAMBA + CUPS benyamin1 Linux - Networking 1 08-13-2006 05:47 AM
Strange Distro / PC performance problem Clemente Linux - General 2 11-24-2005 02:01 PM
Strange performance leonidg Programming 38 01-06-2005 06:50 AM
Strange Error with CUPS to SAMBA server printing pnh73 Linux - Hardware 0 06-12-2004 02:42 PM
strange cups behavior realnubee Linux - Networking 0 04-27-2004 05:52 PM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration