From owner-freebsd-arch@FreeBSD.ORG Fri Dec 21 17:38:04 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71CF2132; Fri, 21 Dec 2012 17:38:04 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5246D8FC1B; Fri, 21 Dec 2012 17:38:04 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 2F6721A3C1C; Fri, 21 Dec 2012 09:38:02 -0800 (PST) Message-ID: <50D49E79.6090500@mu.org> Date: Fri, 21 Dec 2012 09:38:01 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Unmapped I/O References: <20121219135451.GU71906@kib.kiev.ua> <20121220201523.GD53644@kib.kiev.ua> <20121221120237.GF53644@kib.kiev.ua> In-Reply-To: <20121221120237.GF53644@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ivan Voras , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 17:38:04 -0000 On 12/21/12 4:02 AM, Konstantin Belousov wrote: > On Fri, Dec 21, 2012 at 12:52:35PM +0100, Ivan Voras wrote: >> On 20 December 2012 21:15, Konstantin Belousov wrote: >> >>> Nothing is changed for existing GEOM classes, and it does not mean anything >>> for GEOM developers, unless she wants to change the GEOM class to handle >>> unmapped BIOs. >> Understood, but the intention of my question was: do you recommend >> GEOM classes should take the effort and implement unmapped BIOs >> whenever possible? > Depends. RAID 0 and RAID 1 can process unmapped BIOs without changes, > I am sure. For the class like RAID5, you would need a hardware > for it to be able to operate on the unmapped BIOs without requiring > the remap. There is indeed Intel IOAT, which I believe can do this. > > On the other hand, for encrypting classes like GELI it probably does not > make much sense to care, for the case of encryption done in software or > using AES-NI. *Raising my hand like the annoying kid in class* What about asking for the physaddr for such pages on dmap arches? by the way, thanks for this giant leap forward, it's going to help FreeBSD very much! -Alfred