Hi,

I'm trying to use Benchmark tool to investigate a database performance issue on 
OpenSIPs v2.4.6, but no matter what the configurations I tried, I can't see the 
log printed out by Benchmark.

Here are the scripts I'm using:

loadmodule "benchmark.so"
modparam("benchmark", "enable", 1)
modparam("benchmark", "granularity", 1)     # To make the benchmark enabled for 
every call

.....

Route {
......
bm_start_timer("test");
        cache_store("sql:1st-mysql", "$tU-$fU-ru", "$ru", 43200);
bm_log_timer("test");
        cache_store("sql:1st-mysql", "$tU-$fU-tu", "$tu", 43200);
bm_log_timer("test");
........

}

Any idea will be highly appreciated.


Thanks,
Li
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to