[asterisk-dev] How to improve astdb? Any ideas?

Stefan Schmidt sst at sil.at
Tue Sep 7 15:05:07 CDT 2010


Am 07.09.2010 21:24, schrieb Simon Perreault:
> Some additional really cheap ideas:
> 
> 4. Use fdatasync() instead of fsync().
> 5. Use O_SYNC instead of fsync(). Maybe also try O_DSYNC.
> 
> These suggestions are orthogonal to the rate-limiting issue.
> 
> Simon
thanks for your reply.

i allready tried fdatasync and it just saves 1% of the time fsync needs.

i am not sure if O_SYNC or O_DSYNC makes it better. With this every
single write would be slower.

There is allready a review on the board which looks good in the first
tests.

best regards

steve



More information about the asterisk-dev mailing list