ctdb: Adding memory pool for queue callback

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 7 16:47:02 UTC 2018


On Wed, Nov 07, 2018 at 05:28:04PM +0100, Swen Schillig wrote:
> showing values like 
> [swen at linux ~]$ ./a.out 
> It took 8.963634 seconds to execute 10 million talloc/free cycles.
> It took 5.951885 seconds to execute 10 million talloc(pool)/free cycles.
> It took 4.095244 seconds to execute 10 million malloc/free cycles.
> 
> So, I think there's still enough progress to justify the change.

This is with -O3, right? With -O0 the picture looks entirely different
to me. Are you 100% certain your production build uses -O3?

With best regards,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list