Tune gencache a bit

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Nov 23 07:26:20 MST 2012


Hi!

Recently I came across a workload where we were writing the
same value into gencache over and over again. This led to a
significant slowdown due to the frequent transaction_commit
calls doing msync and fsync syscalls.

The attached patchset reduces this workload. We do not write
into the cache if we write the same value, extending the
remaining cache time by less than 10%.

Comments?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gencache.patch
Type: text/x-diff
Size: 4500 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121123/4dae78f5/attachment.patch>


More information about the samba-technical mailing list