From owner-freebsd-scsi@FreeBSD.ORG Fri Jul 11 13:08:22 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A95C106566B for ; Fri, 11 Jul 2008 13:08:22 +0000 (UTC) (envelope-from freebsd-scsi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA928FC1E for ; Fri, 11 Jul 2008 13:08:22 +0000 (UTC) (envelope-from freebsd-scsi@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KHI4Y-00037U-RU for freebsd-scsi@freebsd.org; Fri, 11 Jul 2008 12:50:02 +0000 Received: from borg.bfh.ch ([147.87.102.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jul 2008 12:50:02 +0000 Received: from ktk by borg.bfh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jul 2008 12:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-scsi@freebsd.org From: Adrian Gschwend Date: Fri, 11 Jul 2008 14:52:07 +0200 Organization: netlabs.org Lines: 80 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: borg.bfh.ch User-Agent: Thunderbird 2.0.0.14 (X11/20080505) X-Enigmail-Version: 0.95.0 Sender: news Subject: iSCSI performance X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 13:08:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I finally invested some time to get iSCSI to work on FreeBSD. Now I do have an iSCSI disk mounted in the system so I started doing some performance tests against an NetApp FAS3020 head with an iSCSI LUN configured for my FreeBSD 7.0-stable box. It's a rather old IBM server and I used sysbench to get some stats. The results I got were: local SCSI disk, UFS: - -- Operations performed: 5999 Read, 4001 Write, 12800 Other = 22800 Total Read 93.734Mb Written 62.516Mb Total transferred 156.25Mb (2.2672Mb/sec) 145.10 Requests/sec executed - -- NFS share on the NetApp (no tweaking, default NFS mount): - -- Operations performed: 6006 Read, 3994 Write, 12800 Other = 22800 Total Read 93.844Mb Written 62.406Mb Total transferred 156.25Mb (11.948Mb/sec) 764.69 Requests/sec executed - -- iSCSI with UFS: - -- Operations performed: 6004 Read, 3996 Write, 12800 Other = 22800 Total Read 93.812Mb Written 62.438Mb Total transferred 156.25Mb (489.41Kb/sec) 30.59 Requests/sec executed - -- which is a rather bad results for iSCSI ;) Note that I didn't want to get the real performance so I just took the default sysbench lines I found in the docs. It was just to get something to compare to. Googling a bit I found this posting here: http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html Is this patch in -CURRENT by now or do I still have to compile the stuff on my own if I want to do some more tests? And is anyone actively working on iSCSI right now? I do have some proposals regarding iscontrol as well, the tool is not yet idiot proof ;) What would be the appropriate list to post feedback regarding that? next thing on my list is to try ZFS on the iSCSI share but I would like to see some better performance on UFS first :) BTW in case you wonder why I want to use iSCSI: I am running a subversion server with rather big repositories using "fsfs" on NFS and I run into very weird PROPFIND problems (Apache frontent) when importing large quantities of data and I don't have the problem doing the same on a local drive of the server. So I guess that's some NFS locking stuff I couldn't get rid of. The idea is to replace that with iSCSI and ZFS (I love NetApps snapshot feature and I want that too in the future, so ZFS) once both is declared as stable (yes, I have time :) cu Adrian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFId1d3qpMUYrZbQBERAhjfAJ96YsvsVyLgeRY3Ah54UM1jvwHKwgCeIaoM ibhoi7c6jovvBIF/jaI5IQ8= =mr7E -----END PGP SIGNATURE-----