[Samba] Repacking database from v1 to v2 format: how long does it take?
francesco.malvezzi at unimore.it
Mon Sep 30 07:40:41 UTC 2019
> Thanks for confirming that. I think you are probably hitting some
> pathological behaviours at the TDB layer when handling so many records,
> perhaps in the free list.
> The way to debug this, if you are keen to, is to do a debug build of
> Samba run get a flame graph per:
> That will get us a better idea of which routines are 'hot' during your
> in-place upgrade.
I am not sure whether I got the correct graph:
It was taken while the cpu was hot, five minutes log, during repack.
It's a 4 core box so it's correct there is a 25% cpu usage while the
others are idle.
If the graph is what you would expect, do you need a longer time slice?
More information about the samba