On May 26, 2010, at 5:08 AM, Matt Connolly wrote: > I've set up an iScsi volume on OpenSolaris (snv_134) with these commands: > > sh-4.0# zfs create rpool/iscsi > sh-4.0# zfs set shareiscsi=on rpool/iscsi > sh-4.0# zfs create -s -V 10g rpool/iscsi/test
NB shareiscsi uses the legacy iSCSI target and is deprecated after b134. For more information see project COMSTAR. > The underlying zpool is a mirror of two SATA drives. I'm connecting from a > Mac client with global SAN initiator software, connected via Gigabit LAN. It > connects fine, and I've initialiased a mac format volume on that iScsi volume. > > Performance, however, is terribly slow, about 10 times slower than an SMB > share on the same pool. I expected it would be very similar, if not faster > than SMB. > > Here's my test results copying 3GB data: > > iScsi: 44m01s 1.185MB/s > SMB share: 4m27 11.73MB/s Is the Nagle algorithm enabled? It is perhaps the most common cause of really slow iSCSI performance. Next, is the write cache enabled? You can enable or disable on both the target and initiator side. They should agree, and best performance is with the write cache enabled. -- richard > > Reading (the same 3GB) is also worse than SMB, but only by a factor of about > 3: > > iScsi: 4m36 11.34MB/s > SMB share: 1m45 29.81MB/s > > > Is there something obvious I've missed here? > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- ZFS and NexentaStor training, Rotterdam, July 13-15, 2010 http://nexenta-rotterdam.eventbrite.com/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss