IBM x335 onboard LSI 1020 (mpt) poor performance
Moore, Eric Dean
Emoore at lsil.com
Fri Apr 16 08:11:29 PDT 2004
Domain validation is used to correctly tune
negotiation transfers over the bus. Here
is t10 spec on this:
http://www.t10.org/ftp/t10/drafts/sdv/sdv-r08b.pdf
It appears in the mpt driver that SCSI-SPI
Device Page updates are done from mpt_freebsd.c.
Look at functions mpt_setwidth() and mpt_setsync().
This called from XPT_SET_TRAN_SETTINGS, which means
probally only the primary disk in the raid volume is getting
the proper negotiated parmeters.
>From Linux, its done from mptscsih.c; function mptscsih_doDv().
http://lxr.linux.no/source/drivers/message/fusion/mptscsih.c?v=2.6.1
We provided freebsd source having Domain Validation to Mathew Jacob
a year ago, however it didn't make it into cvs. I will send
that source to you in seperate email.
Eric Moore
> -----Original Message-----
> From: Kenneth Vestergaard Schmidt [mailto:kvs at binarysolutions.dk]
> Sent: Friday, April 16, 2004 3:28 AM
> To: Moore, Eric Dean
> Cc: freebsd-scsi at freebsd.org
> Subject: Re: IBM x335 onboard LSI 1020 (mpt) poor performance
>
>
> On Thu, Apr 15, 2004 at 06:33:56PM -0400, Moore, Eric Dean wrote:
> > I was thinking scsi bus analyzer.
>
> If that's a hardware device, I haven't got one, unfortunately.
>
> > The mpt driver would need to issue SCSI-SPI
> > Device Page 0 and 1 to set the negotiated parmeters
> > for each of the hidden physical drive in
> > the raid volume. Bios is handling off to
> > the driver in asyn narrow speeds, so the
> > driver needs to send these config pages.
> >
> > I'm working on the mpt Linux driver, however Matthew
> > Jacob would know best about what config page updates
> > are occuring in this bsd driver.
>
> It seems Matthew Jacob is tied up with other things than
> FreeBSD presently,
> so I'm not sure if he's able to help.
>
> I'm assuming the Linux driver detects the hidden drives and
> sends the above-
> mentioned SCSI-commands. Knowing next to nothing about the
> kernel, I'm not
> quite sure I'll be able to make the required changes to the
> driver source
> myself, but I'm willing to try.
>
> Is Domain Validation needed to do this? It isn't enabled in
> the current FreeBSD
> driver as I understand it. Also, could you point to where in
> the Linux-driver
> the hidden-disk-parameters are negotiated?
>
> --
> Best Regards
> Kenneth Schmidt
>
More information about the freebsd-scsi
mailing list