Re: read latency (ia64)

Rick Haines (rick@kuroyi.net)
Fri, 19 Apr 2002 18:10:26 -0400


On Fri, Apr 19, 2002 at 02:13:05PM -0700, David Mosberger wrote:
> >>>>> On Thu, 18 Apr 2002 10:06:22 -0400, Rick Haines <rick@kuroyi.net> said:
>
> Rick> I have a Lion with 4 666mhz B3 stepping cpus and 4GB ram
> Rick> running Debian unstable with kernel 2.4.18 and the 020410 ia64
> Rick> patch (I have the same problem with 2.4.9-itanium-smp from the
> Rick> archive).
>
> Rick> I have a program that reads large files in increments of 81920
> Rick> blocks. After about 9600 read calls I get about a dozen reads
> Rick> that take about 3 seconds each. Does anyone have any ideas as
> Rick> to a cause/solution? (I have 4 other threads working/possibly
> Rick> writing output at the same time, although in this case only 1
> Rick> of them would be active at the same time). I am also running
> Rick> a program that callocs almost all my ram to make sure none of
> Rick> the file is cached.
>
> I don't think anyone will be able to help you without a test case.
> Do you have a minimal test case that reproduces the problem?

I got a response from Andrew Morton that sounds promising. He says
it's probably that "writeback has kicked in, and your reads are stalling
behind the writes". I'll send another email after I try his patch.

-- 
Rick (rick@kuroyi.net)
http://dxr3.sourceforge.net

I think the slogan of the fansubbers puts it best: "Cheaper than crack, and lots more fun." - 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/