All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: John Chatelle <johnch@medent.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: High read Latency test (Anticipatory I/O scheduler)
Date: Sat, 21 Feb 2004 09:40:41 +1100	[thread overview]
Message-ID: <40368CE9.9030807@cyberone.com.au> (raw)
In-Reply-To: <20040220202023.M9162@medent.com>

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]



John Chatelle wrote:

>   I haven't seen much duplicated results regarding the Robert Love article 
>in the February 2004 Linux Journal article, also reachable in the hyperlink:
>          http://www.linuxjournal.com/article.php?sid=6931
>
> Although the 1st simple test: "Write starved reads" gets results comparable
>to the results reported in the Article, Our results for the 2nd test: "High 
>Read latency" delivers results opposite our expectations...
>
>

Hi John,
Can you try the following patch please? If that doesn't help, can you
show me what /sys/block/hda/queue/iosched/est_time says after your
test has been running for a couple of minutes.

Thanks
Nick


[-- Attachment #2: as-exit-prob.patch --]
[-- Type: text/plain, Size: 676 bytes --]

 linux-2.6-npiggin/drivers/block/as-iosched.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/block/as-iosched.c~as-exit-prob drivers/block/as-iosched.c
--- linux-2.6/drivers/block/as-iosched.c~as-exit-prob	2004-02-21 09:38:54.000000000 +1100
+++ linux-2.6-npiggin/drivers/block/as-iosched.c	2004-02-21 09:39:22.000000000 +1100
@@ -734,8 +734,10 @@ static int as_can_break_anticipation(str
 	if (aic->ttime_samples == 0) {
 		if (ad->new_ttime_mean > ad->antic_expire)
 			return 1;
+#if 0
 		if (ad->exit_prob > 128)
 			return 1;
+#endif
 	} else if (aic->ttime_mean > ad->antic_expire) {
 		/* the process thinks too much between requests */
 		return 1;

_

  parent reply	other threads:[~2004-02-20 22:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20 20:20 High read Latency test (Anticipatory I/O scheduler) John Chatelle
2004-02-20 21:29 ` Dave Olien
2004-02-20 22:40 ` Nick Piggin [this message]
2004-02-21  1:22 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40368CE9.9030807@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=johnch@medent.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.