Re: [PATCH 3/8] cciss: change number of commands per controller

From: Mike Miller (OS Dev)
Date: Thu Nov 02 2006 - 09:33:41 EST


On Thu, Nov 02, 2006 at 03:11:50PM +0100, Jens Axboe wrote:
> On Wed, Nov 01 2006, Mike Miller (OS Dev) wrote:
> > + {0x3211103C, "Smart Array E200i", &SA5_access, 120},
>
> Is it 120, or 128? And how big is the allocated command array now, with
> 512 commands?

The controller can handle up to 128, but I artificially limited it to 120
for reasons I shouldn't discuss in public. :)

Each command is 548 bytes w/o scatter gather chaining. So 548 * 512 = 280576
bytes for the command list. We've tested using 1024 commands with several
Smart Array controllers and have not encountered issues. The reason for the
increase is performance. The busier you can keep the controller the better
it works.

mikem
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/