UTSASRG / Scaler

GNU General Public License v2.0
4 stars 0 forks source link

Performance and Effectiveness tests for v0.2.0 #66

Closed GammaPi closed 1 year ago

GammaPi commented 2 years ago

Benchmark

Parsec

Real Applications

Postgresql Mysql (Large DB) sqlite redis memcached mongodb apache nginx

GammaPi commented 2 years ago

The following problems in Coz may be discovered by Scaler:

GammaPi commented 2 years ago

The following problems in Syncperf may be discovered by Scaler:

GammaPi commented 2 years ago

SQLite: Performance problem caused by indirect function call. The speedup is around 25.60%. ❌

Coz discovered. Perf only report these account for 0.15% of total runtime. Confirmed through code analysis that Line 19616, Line 18974, Line 40345 are not calling other APIs.

GammaPi commented 2 years ago

fluidanimate, streamcluster: Both lines Coz identifies are in a custom barrier implementation, immediately before entering a loop that repeatedly calls pthread mutex trylock. 37.5% speedup.

Bug code found. This bug is possible to be found by Scaler.

Cannot reproduce the speedup reported by Coz ❌

GammaPi commented 1 year ago

Already finished previously.