From owner-freebsd-current@FreeBSD.ORG Mon May 29 22:59:14 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E985416A512 for ; Mon, 29 May 2006 22:59:14 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A3D043D48 for ; Mon, 29 May 2006 22:59:14 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.80] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4TMxBHx016141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 May 2006 15:59:13 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <447B7CB7.5000000@FreeBSD.org> Date: Mon, 29 May 2006 15:59:03 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Scott Long References: <447AB34C.4030509@sippysoft.com> <11410450515.20060529225555@lacave.net> <447B77AF.9060309@samsco.org> <447B7A55.7040704@FreeBSD.org> In-Reply-To: <447B7A55.7040704@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: Importing iSCSI target from NetBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 22:59:16 -0000 Maxim Sobolev wrote: > Scott Long wrote: >> F. Senault wrote: >> >>> Monday, May 29, 2006, 10:39:40 AM, you wrote: >>> >>> >>>> Hi, >>> >>> >>>> I wonder if anybody has any objections to importing iSCSI target daemon >>>> from NetBSD (Intel) into the base. >>> >>> >>> Mh, I'm currently doing that, with the help of the author (Alistair G. >>> Crooks), under the form of a port. Alistair just provided me a new >>> version I'm testing, and I was planning to submit the port shortly. >>> (It seems to work quite well). >>> >>> Now, if it's better to include it into the base, so much the better. >>> Alistair was kind enough to take into consideration my suggestions, >>> so, now, the daemon compiles and works under FreeBSD 6 (tested lightly >>> with and i386 and more intensively witn an amd64). >>> >>> The work in progress is here : >>> >>> http://www.lacave.net/~fred/iscsi/ >>> >> >> If it's not going to be integrated into the existing target >> infrastructure then I'd prefer it to be a port. Ultimately it >> would be nice for it to be part of the base system, though. > > Well, arguably we may want to support both ways. Having iSCSI target > running in userland completely has some serious advantages (security is > a big one for example, as you can run daemon easily as unprivileged > process). The kernel iSCSI target only makes sense for really > performance-constrained cases, and hopefully sooner or later we will be > able to narrow the gap by utilizing zero-copy interfaces. P.S. Just to make it clear - just consider running iSCSI over 100MBps link or even a slower WAN links, which I think covers very large market for this technology now. Performance constrain imposed by running in userland is unlikely to be an issue at all. -Maxim