Re: fsync delays for a long time.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Feb 14 2002 - 12:39:12 EST


> run my gdbm application and bonnie test on the same device.
> When gdbm comes to the point when it calls fsync it delays for a long
> time.

fsync on a very large file is very slow on the 2.2 kernels

> result. IDE is even worse in our case. In the discussion it was also said
> that fsync for 2.4.x is modified. But does it fix a problem?

2.4 is a lot smarter about flushing only the things it needs to. That
makes it dependant on the number of blocks to write not some embarrasingly
large power of the file size

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:03 EST