txn performance penalty

Matthias Andree matthias.andree at gmx.de
Thu Nov 11 12:59:18 CET 2004


David Relson <relson at osagesoftware.com> writes:

> for bogoutil 0.92.8 (with Berkeley DB 4.2.52)
>
>    11.03user 0.64system 0:12.74elapsed 91%CPU 
>         (0avgtext+0avgdata 0maxresident)k
>    0inputs+0outputs (2major+1564minor)pagefaults 0swaps
>
> for bogoutil 0.93.1 (with Berkeley DB 4.2.52)
>
>    22.75user 2.70system 0:37.05elapsed 68%CPU 
>         (0avgtext+0avgdata 0maxresident)k
>    0inputs+0outputs (115major+2135minor)pagefaults 0swaps
>
> Total disk usage for 0.92.8 was 54M and for 0.93.1 it was 332M (log
> files).
>
> Conclusion: writing log files takes time -- not a surprise.

And the machine has waited for the disk drive - see that the %CPU figure
is lower for the TXN interface.

-- 
Matthias Andree



More information about the bogofilter-dev mailing list