[OpenSIPS-Users] Benchmark not working on V2.4.6

Li Cai Li.Cai at comtech.com
Tue May 30 15:22:42 UTC 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230530/0ce0171b/attachment-0001.html>


More information about the Users mailing list