[pmg-devel] [PATCH v2 pmg-log-tracker] rewrite in rust

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 5 19:04:02 CET 2019


On 11/5/19 4:58 PM, Mira Limbeck wrote:
> Some simple benchmarks: (32 syslog files (syslog to syslog.31.gz))
> 
> Rust: (median of 5 runs + 1 for cache)
> sudo pmg-log-tracker -s "2018-01-01 00:00:00" -vv > /dev/null  11.68s user 0.74s system 99% cpu 12.421 total
> sudo pmg-log-tracker -s "2018-01-01 00:00:00" -v > /dev/null  9.89s user 0.64s system 99% cpu 10.531 total
> 
> C: (same as for the rust version)
> sudo pmg-log-tracker -s "2018-01-01 00:00:00" -vv > /dev/null  11.83s user 0.32s system 99% cpu 12.147 total
> sudo pmg-log-tracker -s "2018-01-01 00:00:00" -v > /dev/null  10.58s user 0.24s system 99% cpu 10.821 total
> 

what about the benchmark environment? Where caches dropped in-between?

Was a memory-backed tempfs for the backing "storage" tested also? To
have a comparison which is for sure not IO limited?



More information about the pmg-devel mailing list