fsync slowness + XFS -- Regd.

Alex Painemilla painemilla at gmail.com
Tue Mar 19 02:06:42 EDT 2019


Another possibility could be that the disk is in sleep mode and it needs to
wake up (A feature enabled on most green drives)

On Tue, Mar 19, 2019 at 5:03 PM Valdis Klētnieks <valdis.kletnieks at vt.edu>
wrote:

> On Tue, 19 Mar 2019 07:40:29 +0530, Jeno P said:
>
> > One of my module *(C/C++)* is writing to log files and periodically
> flushes
> > it using *fsync()*. Even for small amount of data, *fsync* is taking more
> > time *(>15 seconds)* than expected.
>
> Is it possible that some other process is applying a file lock to the log
> file?
> Any signs of I/O errors? 15 seconds is the sort of delay you might see on a
> RAID controller with one dead or partially dead disk throwing timeouts...
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190319/9a252bc6/attachment.html>


More information about the Kernelnewbies mailing list