CUPS 1.3 performance observation

Michael Sweet mike at easysw.com
Fri Feb 29 07:45:13 PST 2008


angelb wrote:
>> angelb wrote:
>>> ...
>>> rem 639080 667704   0 16:33:45  pts/4  0:00 lpstat -p
>>>  rem 667704 450650   0 16:33:45  pts/4  0:00 timex lpstat -p
>>>     cups 188600 553036   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     root 553036      1 109 15:46:32      -  1:52 /opt/TWWfsw/cups135/sbin/cupsd -c /etc/opt/TWWfsw/cups135/cupsd.conf
>>>  rem 639080 667704   0 16:33:45  pts/4  0:00 lpstat -p
>>>  rem 667704 450650   0 16:33:45  pts/4  0:00 timex lpstat -p
>>>     cups 188600 553036   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     root 553036      1 114 15:46:32      -  1:54 /opt/TWWfsw/cups135/sbin/cupsd -c /etc/opt/TWWfsw/cups135/cupsd.conf
>>>  rem 639080 667704   0 16:33:45  pts/4  0:00 lpstat -p
>>>  rem 667704 450650   0 16:33:45  pts/4  0:00 timex lpstat -p
>>>     cups 188600 553036   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     root 553036      1 120 15:46:32      -  1:56 /opt/TWWfsw/cups135/sbin/cupsd -c /etc/opt/TWWfsw/cups135/cupsd.conf
>>>  rem 639080 667704   0 16:33:45  pts/4  0:00 lpstat -p
>>>  rem 667704 450650   0 16:33:45  pts/4  0:00 timex lpstat -p
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>>>     cups 188600      1   0 15:46:32      -  0:00 cups-polld cupserver1 631 3600 631
>> You have a lot of old processes - I'd guess they are the reason for
>> the performance problems.
>>
> 
> No. I wish it was that simple but this was a new install and there are
> no old processes.
> 
> What you see above is an output of the loop I ran to capture the lpstat
> command and cupsd to show when cupsd dies or disappear from the list
> as lpstat continues to process.
> 
> If you noticed at the last line where cupsd was still there and
> suddenly disappear and only the cups-polld remaining. The strange
> thing is that even with debug2 on, there is no error message reported.
> 
> Four identical systems reacting the same way is hard for me to ignore
> especially when they all work well in previous version.
> 
> Anyway, I think I'm just beating a dead horse so I'll just wait until
> someone else experience it...could be a long wait.

Well, I do know that 1.3.6 fixes the leftover cups-polld problem, and
some of the log message calls were touched, so it might be worthwhile
to try 1.3.6 on one of the systems to see if those problems have been
resolved.

Still don't know why poll() is so much slower than select() on your
systems, though... :(

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list