Messages in this thread | | | Date | Thu, 14 Feb 2002 13:41:39 -0800 | From | Andrew Morton <> | Subject | Re: fsync delays for a long time. |
| |
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.
What filesystem were you using, BTW? 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 - 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/
| |