[CUPS] r5778 - trunk/backend
Michael Sweet
mike at easysw.com
Mon Jul 31 08:17:43 PDT 2006
Kurt Pfeifle wrote:
> cups-dev at easysw.com <cups-dev at easysw.com> wrote (Thursday 27 July 2006 22:32):
>
>> Author: mike
>> Date: 2006-07-27 16:32:08 -0400 (Thu, 27 Jul 2006)
>> New Revision: 5778
>> Log:
>> SNMP backend improvements (STR #1737, STR #1742, STR #1790, STR
>> #1835)
>>
>> Attempt to minimize the time that the SNMP backend probes IPP
>> devices, and report the printers we find as we find them...
>
> Time is considerably down now (again). I used a rather huge snmp.conf
> file which individually listed all of the addresses in the range
> 10.162.[0-7].[0-255] (I could not probe via broadcast, because I
> had to use an SSH connection to connect to a neighboring LAN there).
>
> I did run the snmp backend from the commandline.
>
> * Before this modification, it took 140 seconds to complete
> (tested twice).
> * After, it was down to 13 seconds (tested 5 times).
>
> The web interface took 19 seconds to display the page with the newly
> found printer list (tested 3 times).
>
> AFAICT, still the same number of printers are returned (43) as
> compared to before the change..
Great, thanks for testing this!
I'm now working on implementing a "MaxRunTime" option for snmp.conf
that will default to 10 seconds - that will prevent super-long waits
while returning most (if not all) printers on the network. We'll add
a web interface to manually run a SNMP query and edit the snmp.conf
parameters in 1.3, which should hopefully address the last of the
SNMP printer discovery issues in 1.2.x...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list