Date: Fri, 16 Apr 2004 11:11:17 -0400 From: "Moore, Eric Dean" <Emoore@lsil.com> To: Kenneth Vestergaard Schmidt <kvs@binarysolutions.dk> Cc: freebsd-scsi@freebsd.org Subject: RE: IBM x335 onboard LSI 1020 (mpt) poor performance Message-ID: <0E3FA95632D6D047BA649F95DAB60E570442C3D7@exa-atlanta.se.lsil.com>
next in thread | raw e-mail | index | archive | help
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@binarysolutions.dk] > Sent: Friday, April 16, 2004 3:28 AM > To: Moore, Eric Dean > Cc: freebsd-scsi@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E3FA95632D6D047BA649F95DAB60E570442C3D7>