Re: fsync delays for a long time.

Alexander Moibenko
2002-02-14T22:18:35Z

On Thu, 14 Feb 2002, Andrew Morton wrote:

> Alexander Moibenko wrote:
> >
> > On Thu, 14 Feb 2002, Alan Cox wrote:
> >
> > > > > > This could very well be due to request allocation starvation.
> > > > > > fsync is sleeping in __get_request_wait() while bonnie keeps
> > > > > > on stealing all the requests.
> > > > >
> > > > > That may amplify it but in the 2.2 case fsync on any sensible sized file
> > > > > is already horribly performing. It hits databases like solid quite badly
> > > > >
> > > > please elaborate on "sensible sized". In my case it is less then 20MB.
> > >
> > > That ought to be ok. Andrew may well be right in that case.
> > >
> > Then what is your advise. Switch to 2.4.x?
>
> I would recommend that, yes. One consideration: if the problem
> is still appearing in 2.4 then it is about 1000 times more
> likely to get fixed.
Thanks a lot.
>
> What filesystem were you using, BTW? ext2?
Yes, it is ext2
>
> If you do test on 2.4, and the problem still appears, please try
>
> wget http://www.zip.com.au/~akpm/linux/2.4/2.4.18-pre9/make_request.patch
> patch -p1 < make_request.patch
>