mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Boldi <a1426z@gawab.com>
To: Marr <marr@flex.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Readahead value 128K? (was Re: Drastic Slowdown of 'fseek()'
Date: Mon, 13 Mar 2006 14:37:50 +0300	[thread overview]
Message-ID: <200603131437.50461.a1426z@gawab.com> (raw)

Marr wrote:
> The 2.6.13 kernel on ReiserFS (without using 
> 'nolargeio=1' as a mount option) still takes about 4m35s to fseek 200,000 
> times on that 4MB file, even with 'hdparm -a0 /dev/hda' in effect.

try this magic number:

        echo 192 > /sys/block/hda/queue/max_sectors_kb
        echo 192 > /sys/block/hda/queue/read_ahead_kb

Anything outside 132-255 affects throughput negatively.

Also, can you dump hdparm -I /dev/hda?

Thanks!

--
Al


             reply	other threads:[~2006-03-13 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 11:37 Al Boldi [this message]
2006-03-13 20:01 ` Marr
2006-03-26 22:25   ` Marr
2006-03-27 18:50     ` Hans Reiser
2006-03-27 19:12       ` Marr

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=200603131437.50461.a1426z@gawab.com \
    --to=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marr@flex.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome