tuned is a dynamic adaptive system tuning daemon that tunes system settings dynamically depending on usage.
$ man tuned
See the related documentation , and configuration files.
/etc/tuned
/etc/tuned/*.conf
/usr/share/doc/tuned-2.4.1
/usr/share/doc/tuned-2.4.1/TIPS.txt
This parameter may be useful for you.
** Set flushing to once per 5 minutes
** echo "3000" > /proc/sys/vm/dirty_writeback_centisecs
Edit:Additional Info
The sync command flushes the buffer, i.e., forces all unwritten data to be written to disk, and can be used when one wants to be sure that everything is safely written. In traditional UNIX systems, there is a program called update running in the background which does a sync every 30 seconds, so it is usually not necessary to use sync. Linux has an additional daemon, bdflush, which does a more imperfect sync more frequently to avoid the sudden freeze due to heavy disk I/O that sync sometimes causes.
Under Linux, bdflush is started by update. There is usually no reason to worry about it, but if bdflush happens to die for some reason, the kernel will warn about this, and you should start it by hand (/sbin/update).