[erlang-patches] SNMP performance optimization

Henrik Nord <>
Mon Dec 3 10:01:08 CET 2012


No not as of yet as I have not merged your patch to 'master-pu' before 
today.

Thank you for your contribution!


On 12/01/2012 11:18 PM, Ivan Dubovik wrote:
> Hi.
>
> Any feedback on my patch?
>
> Ivan Dubovik
>
> 2012/11/17 Ivan Dubovik <>:
>> Hi.
>>
>> I have a lot of agents:
>> ets:i().
>>   id              name              type  size   mem      owner
>>   ----------------------------------------------------------------------------
>> ...
>>   snmpm_agent_table snmpm_agent_table set   42932  2287790  snmpm_config
>>
>>
>> Was:
>> fprof:analyse().
>> ...
>> {[{{snmpm_server,agent_data,2},                 513,11826.813,    4.607},
>>    {undefined,                                     0,    0.446,    0.000}],
>>   { {snmpm_config,agent_info,2},                 513,11827.259,    4.607},     %
>>   [{{ets,match_object,2},                        513,11822.196,11524.680},
>>    {{ets,select_trap,1},                           0,    0.446,    0.373},
>>    {{snmpm_server,agent_data_item,2},              1,    0.010,    0.008}]}.
>> ...
>>
>> Now:
>> {[{{snmpm_server,agent_data,2},                 906,   20.413,    6.341}],
>>   { {snmpm_server,agent_data_item,2},            906,   20.413,    6.341},     %
>>   [{{snmpm_config,agent_info,2},                 906,   14.072,    7.743}]}.
>>
>>
>>
>> git fetch git://github.com/IvanDubovik/otp.git snmp_optimization
>> https://github.com/IvanDubovik/otp/compare/snmp_optimization
>> https://github.com/IvanDubovik/otp/compare/snmp_optimization.patch
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list