[SSSD] [PATCH 1/1] tests: Don't assume absolute test dir in test_io.c

Jakub Hrozek jhrozek at redhat.com
Mon May 19 17:28:22 UTC 2014


On Mon, May 19, 2014 at 05:55:45PM +0300, Nikolai Kondrashov wrote:
> >"ramdisk" is 58x faster then HDD.
> >"ramdisk" is 26x faster then HDD.
> 
> Out of curiosity: why is it so much faster? Does the code sync to disc often?

Every sysdb_transaction_commit or ldb_transaction_commit if we rely on
ldb's autotransaction is several fsyncs (4 I think). That's the reason
we try to collect all the data first in the daemon and write larger
chunks of data in a single transaction.



More information about the sssd-devel mailing list