Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2004 10:26:51 +0200
From:      Jan_Rybensky@env.cz
To:        freebsd-scsi@freebsd.org
Subject:   Re: mpt driver patch
Message-ID:  <OF6231E4A7.E6927CF8-ONC1256EAC.002B508F-C1256EAC.002E7356@env.cz>

next in thread | raw e-mail | index | archive | help
With this patch, transfers from/to mirrored volumes runs at full speed,=20
but re-mirroring on background of FreeBSD takes days (although transfer=20
rates from/to mirrored volume during re-mirroring are OK).

da0 at mpt0 bus 0 target 0 lun 0
da0: <LSILOGIC 1030 IM 1000> Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged=20
Queueing Enabled
da0: 70001MB (143364061 512 byte sectors: 255H 63S/T 8924C)

-bash-2.05b$ ls -la bigfile
-rw-r--r--  1 jry  jry  252157013 May 14 10:12 bigfile
-bash-2.05b$ ( cp bigfile bigfile.1 & ); iostat -d da0 1
da0
KB/t tps  MB/s
0.00   0  0.00
63.90 923 57.62
63.93 958 59.84
63.95 962 60.10
63.95 956 59.72
39.17  29  1.10
0.00   0  0.00

Is possible to obtain sources of the solaris driver? And where?

        JRY=20



Odesl=E1no k=FDm:   owner-freebsd-scsi@freebsd.org
Komu:       freebsd-scsi@freebsd.org
Kopie:=20
P=F8edm=ECt:            Re: mpt driver patch


At 02:07 PM 06/04/2004, Jan=5FRybensky@env.cz wrote:
>Hi All,
>
>as well as the others I've encoutered serious performace problems with IM
>volumes on LSI 1030 controller. It's because the mpt driver is unable to
>detect hidden disks of the IM volumes and initialize them. That disks
>operates at default SCSI speed and slows the whole volume.
>This patch is far from perfect (not performs full DV), but it solves the
>performance issues. It seems to be stable, but it's tested only on IBM
>version of controller (on-board controllers of xSeries 335, 345).
>
>There is other issue I'm unable to solve: although all discs operating at
>proper speeds, the resync of mirrored disks is still very slow. The
>controller probably needs additional initializations, but I'm unable to
>trace them in linux driver. Can anybody help? Any suggestions are
>welcomed.
>
>Here is diff against 4.9-REL mpt sources (it works well on 4.10-REL too)
>and a tarball of the whole mpt directory from /sys/dev with patched=20
driver
>sources is here: http://mpt-freebsd.env.cz.
>
>Many thanks for any feedback.
>
>         Jan Rybensky

I have seen this exact same behavior under 5.2.1 ...I have the LSI 20320R
card installed. Using normal setup - this card works well and the speeds
are as expected:

da0 at mpt0 bus 0 target 0 lun 0
da0: <SEAGATE ST336607LW 0007> Fixed Direct Access SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)


however, like you pointed out - the mirroring is atrocious. It took over
5hrs to fully sync a mirror (RAID-1). Then when I rebooted, the=20
performance
was less than 2MB/sec on any transfers to/from the machine.

As long as the mirror is not active, the card+drives seem to work just=20
fine.

FWIW, setting up a mirror on this same card+drives under solaris x86,=20
works
perfect and resync's in just over 2hrs.







--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
freebsd-scsi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF6231E4A7.E6927CF8-ONC1256EAC.002B508F-C1256EAC.002E7356>