Re: fsync delays for a long time.

From: Bill Davidsen (davidsen@tmr.com)
Date: Sun Feb 17 2002 - 07:47:38 EST


On Fri, 15 Feb 2002, Simon Kirby wrote:

> On Thu, Feb 14, 2002 at 12:51:14PM -0800, Andrew Morton wrote:
> Not sure if this is related, but I still can't get 2.4 or 2.5 kernels to
> actually read and write at the same time during a large file copy between
> two totally separate devices (eg: from hda1 to hdc1). "vmstat 1" shows
> reads with no writing for about 6-8 seconds followed by writes with no
> reading for about 5-6 seconds, repeat.

You don't have enough memory... you can probably tune bdflush to make the
system flush writes more aggressively, but one cause is that you fill all
available memory before bdflush even runs. Try setting the time way down,
say one sec, and see if things change.

Note that this may not make the system run faster in any significant way,
it may just get all the drive lights blinking.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- 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 : Sat Feb 23 2002 - 21:00:14 EST