From: Jens Axboe <axboe@suse.de>
To: "Sven Köhler" <skoehler@upb.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [blockdevices/NBD] huge read/write-operations are splitted by the kernel
Date: Mon, 8 Sep 2003 16:33:34 +0200 [thread overview]
Message-ID: <20030908143334.GS840@suse.de> (raw)
In-Reply-To: <bjhtmm$crf$1@sea.gmane.org>
On Mon, Sep 08 2003, Sven Köhler wrote:
> >You'll probably find that if you bump the max_sectors count if your
> >drive to 256 from 255 (that is the default if you haven't set it), then
> >you'll see 128kb chunks all the time.
>
> Why is 255 the default. It seems to be an inefficient value. Perhaps the
> NBD itself should set it to 256.
To avoid 8-bit wrap arounds, basically. Not sure it's still very valid,
you are free to compile your kernel with it set to 256. 2.6 uses 256 by
default.
> >See max_sectors[] array.
>
> Well, i found the declaration, but i can't imagine how to set the values
> in it.
You can grep for other examples in the kernel, I would imagine?
--
Jens Axboe
next prev parent reply other threads:[~2003-09-08 14:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-08 0:02 [blockdevices/NBD] huge read/write-operations are splitted by the kernel Sven Köhler
2003-09-08 8:58 ` Jens Axboe
2003-09-08 12:42 ` Sven Köhler
2003-09-08 14:33 ` Jens Axboe [this message]
2003-09-08 13:26 ` Sven Köhler
2003-09-08 14:34 ` Jens Axboe
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=20030908143334.GS840@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=skoehler@upb.de \
/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.