From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 12 22:17:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08E36175 for ; Wed, 12 Dec 2012 22:17:03 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 134DC8FC1B for ; Wed, 12 Dec 2012 22:17:01 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id qBCMGuma001568; Wed, 12 Dec 2012 23:16:57 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id qBCMGuV6001565; Wed, 12 Dec 2012 23:16:56 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 12 Dec 2012 23:16:56 +0100 (CET) From: Wojciech Puchar To: Zaphod Beeblebrox Subject: Re: iSCSI vs. SMB with ZFS. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 12 Dec 2012 23:16:57 +0100 (CET) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 22:17:03 -0000 > about the same as the local disk for some operations --- faster for > some, slower for others. The workstation has 12G of memory and it's > my perception that iSCSI is heavily cached and that this enhances it's any REAL test means doing something that will not fit in cache. > But this is imperfect. The iSCSI disk reserves all of it's space and > the files on the disk are only accessible to the computer that mounts > it. it is even more imperfect. you layout one filesystem over another filesystem. not only degraded performance but you don't have parallel access to files on this "disk". > The performance on the SMB share is abysmal compared to the > performance on the iSCSI share. At the very least, there seems to be > little benifit to launching the same application twice --- which is > most likely windows fault. This is SMB protocol. sorry it is stupid. And it doesn't make real use of cache. This is how windows file sharing works. Fine if you just want to copy files. not fine if you work on them. > Will SMB always have significantly less performance than iSCSI coming depends what you do but yes SMB is not efficient. i am happy with SMB as it is enough to store users or shared documents. And it is quite fast on large file copy etc. but terrible on randomly accessing files.