All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@kvack.org>
To: Jens Axboe <axboe@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: reducing max segments expected to work?
Date: Thu, 12 May 2005 11:19:18 -0400	[thread overview]
Message-ID: <20050512151918.GC19612@kvack.org> (raw)
In-Reply-To: <20050512063757.GK23463@suse.de>

On Thu, May 12, 2005 at 08:37:57AM +0200, Jens Axboe wrote:
> This doesn't really do what you would think it does - the defines should
> be called DEFAULT_PHYS_SEGMENTS etc, since they are just default values
> and do not denote any max-allowed-by-driver value.

They do place a limit on athe sgpool entries in scsi_lib.c.  I'm curious 
about the overhead from these data structures, hence the experimentation.

> But it is strange why your system wont boot after applying the above.
> What happens (and what kind of storage)?

The system is a pretty standard P4 with SATA on ICH6.  I tried booting 
with MAX_SECTORS = 31 (with *_SEGMENTS = 32) to no avail.  The system 
usually gets to some point in early userland init with whatever program 
(init) being stuck in D state waiting for io to complete.  I'm curious 
if there is some unwritten dependancy on MAX_SEGMENT_SIZE or some other 
piece of code being hit here...

		-ben
-- 
"Time is what keeps everything from happening all at once." -- John Wheeler

      reply	other threads:[~2005-05-12 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-11 21:47 reducing max segments expected to work? Benjamin LaHaise
2005-05-12  6:37 ` Jens Axboe
2005-05-12 15:19   ` Benjamin LaHaise [this message]

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=20050512151918.GC19612@kvack.org \
    --to=bcrl@kvack.org \
    --cc=axboe@suse.de \
    --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.