--- cvsroot/AnyEvent-SNMP/README 2009/04/19 11:06:21 1.3 +++ cvsroot/AnyEvent-SNMP/README 2010/01/06 10:43:20 1.5 @@ -1,5 +1,5 @@ NAME - AnyEvent::SNMP - adaptor to integrate Net::SNMP into Anyevent. + AnyEvent::SNMP - adaptor to integrate Net::SNMP into AnyEvent. SYNOPSIS use AnyEvent::SNMP; @@ -44,6 +44,7 @@ GLOBAL VARIABLES $AnyEvent::SNMP::MAX_OUTSTANDING (default: 50, dynamic) + AnyEvent::SNMP::set_max_outstanding $new_value Use this package variable to restrict the number of outstanding SNMP requests at any point in time. @@ -67,10 +68,20 @@ AnyEvent::SNMP tries to dynamically adjust this number dynamically upwards and downwards. + Increasing $MAX_OUTSTANDING will not automatically use the extra + request slots. To increase $MAX_OUTSTANDING and make + "AnyEvent::SNMP" make use of the extra paralellity, call + "AnyEvent::SNMP::set_max_outstanding" with the new value, e.g.: + + AnyEvent::SNMP::set_max_outstanding 500; + + Although due to the dynamic adjustment, this might have little + lasting effect. + Note that you can use Net::SNMP::XS to speed up parsing of responses considerably. - $AnyEvent::SNMP::MIN_RECVQUEUE (default: 4) + $AnyEvent::SNMP::MIN_RECVQUEUE (default: 8) $AnyEvent::SNMP::MAX_RECVQUEUE (default: 64) These values specify the minimum and maximum receive queue length (in units of one response packet).