[pmg-devel] [PATCH v2 pmg-log-tracker] rewrite in rust
Dietmar Maurer
dietmar at proxmox.com
Wed Nov 6 08:13:25 CET 2019
memory usage would also be interesting ...
Also, why is system time higher in rust??
> On 5 November 2019 19:04 Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>
>
> 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?
>
> _______________________________________________
> pmg-devel mailing list
> pmg-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
More information about the pmg-devel
mailing list