tdb_delete marking records as dead?

Jeremy Allison jra at samba.org
Tue Mar 6 17:46:49 GMT 2007


On Tue, Mar 06, 2007 at 02:46:51PM +1100, tridge at samba.org wrote:
> Volker,
> 
> This looks good. I suspect it will help on some systems and is fairly
> simple.
> 
> I suspect we'd gain more by splitting up the freelist into N
> freelists, with a central freelist that is used to fill the other
> freelists, but that would be a more complex patch, so going with this
> simpler patch first is probably worthwhile.
> 
> It would be good to construct a benchmark that proves that this is a
> win. Maybe a varient of tdbtorture would show it on a SMP system?

Cool - can you commit the patch to both trees please Volker ?

> I suspect the other big win would be to use futexes (where
> available). It isn't an easy API to use though.

There be dragons...... :-).

Jeremy.


More information about the samba-technical mailing list