read latency (ia64)

From: Rick Haines (rick@kuroyi.net)
Date: Thu Apr 18 2002 - 09:06:22 EST


I have a Lion with 4 666mhz B3 stepping cpus and 4GB ram running Debian
unstable with kernel 2.4.18 and the 020410 ia64 patch (I have the same
problem with 2.4.9-itanium-smp from the archive).

I have a program that reads large files in increments of 81920 blocks.
After about 9600 read calls I get about a dozen reads that take about 3
seconds each. Does anyone have any ideas as to a cause/solution?
(I have 4 other threads working/possibly writing output at the same
time, although in this case only 1 of them would be active at
the same time). I am also running a program that callocs almost all my
ram to make sure none of the file is cached.

I can provide more info if necessary.
Here is a partial log I made (read#/time in seconds):

9597 2.823812008
9598 0.009531000
9599 0.000220000
9600 0.010351000
9601 0.014768000
9602 0.000213000
9603 2.910599947
9604 0.009694000
9605 0.000193000
9606 0.014762000
9607 0.000193000
9608 0.009892000
9609 2.869304895
9610 0.000717000
9611 0.014134000
9612 0.010046000
9613 0.000200000
9614 0.009780000
9615 0.000200000
9616 2.974085093

Thanks for your help.

-- 
Rick (rick@kuroyi.net)
http://dxr3.sourceforge.net
http://rsub.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/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:21 EST