From: James Smart <James.Smart@Emulex.Com>
To: linux-scsi@vger.kernel.org
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: Re: [PATCH] scsi : set target can_queue from devinfo flags
Date: Wed, 14 May 2008 21:21:00 -0400 [thread overview]
Message-ID: <482B8FFC.6070701@emulex.com> (raw)
In-Reply-To: <482B5EC2.7010302@emulex.com>
James Smart wrote:
> Well, I know there are fixed limits based on the context limits in their
> interface chips. Tachyons are a good example of this, especially some of
> the older ones. There are also a lot of arrays that are sold in fixed
> configurations so they don't have the variability you mention.
forgot one more - firmware algorithms that cap the limits...
now the real reason for the reply...
> ... b) there's always questions on how/when you
> ramp up and at what rate, which is confused again if the queue full
> wasn't because of target-level resources. We also have to be careful
I realized after I wrote this, that I was implicitly assuming that you are
part of a multi-initiator (which can include multiple path) environment.
If you are the only initiator to the target, the algorithms can work fairly
well to detect the max, and you can pin it - with a short performance
reduction in the beginning.
But, if part of a multi-initiator environment, you can get wild swings on
what the ramp down moves to, which makes the ramp up more critical. It
also leads to biasing toward initiators that have high loads oustanding.
Any time your are waiting to ramp up, you are potentially at a lower
performance. Granted, the fixed target limit doesn't work well in this
case either, but admins are more agreeable to partition the physical
target limit between the servers and let the luns share the server's
target limit.
Just a couple more reasons why, although the queue full seems a good
approach, it's far harder to make it work well, and may need a couple of
different algorithms.
-- james s
next prev parent reply other threads:[~2008-05-15 1:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 17:45 [PATCH] scsi : set target can_queue from devinfo flags James Smart
2008-05-14 6:34 ` Hannes Reinecke
2008-05-14 14:39 ` James Smart
2008-05-14 15:01 ` Hannes Reinecke
2008-05-14 19:38 ` James Bottomley
2008-05-14 21:50 ` James Smart
2008-05-15 1:21 ` James Smart [this message]
2008-09-24 19:13 ` Mike Christie
2008-09-24 19:17 ` Mike Christie
2008-09-25 18:40 ` Mike Christie
2008-09-25 19:03 ` James Smart
2008-09-24 19:38 ` James Smart
2008-09-25 18:15 ` Mike Christie
2008-09-26 7:46 ` Hannes Reinecke
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=482B8FFC.6070701@emulex.com \
--to=james.smart@emulex.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox