From owner-freebsd-arch@FreeBSD.ORG Mon Mar 11 22:22:49 2013 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17AED151 for ; Mon, 11 Mar 2013 22:22:49 +0000 (UTC) (envelope-from jim.harris@gmail.com) Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 7890474F for ; Mon, 11 Mar 2013 22:22:48 +0000 (UTC) Received: by mail-ea0-f173.google.com with SMTP id h14so1415918eak.18 for ; Mon, 11 Mar 2013 15:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WydNQZQBLvUnbz3F9YiAdJ2VPOO9bBeYDGEYoTIdd7w=; b=n9njR17O5UOYACieAnTjzX6nXsIvuJPSmLj5YDHrWmvNYUxrPep51bykhG4diOJnVe GkHlqdiIhs+UrqDspbnSH67g+7iFd5naK0KcqaXxITgHyfB10Oyv7zD0Wtfu+PDZqTbM yLa6MnVFgP1ZVNZO3Yg1DTKct8SnMsg3arH4zOXZ5azZ6mQSmLopIzWqokPrbMCnavhR 3/oYk/xaYfUnvi3f+P16lU9GdTbF906gc+EtB8zOGhV2fMjAJA3K4lmihGYyadiJ4Wib LKi7eQenxws5FTZ8OGhGBOh4v4l5P51nH2RNHIy9M1RbdA/rHl0S1MccK2inB85710JN Z6Sg== MIME-Version: 1.0 X-Received: by 10.15.34.198 with SMTP id e46mr41086638eev.27.1363040567605; Mon, 11 Mar 2013 15:22:47 -0700 (PDT) Sender: jim.harris@gmail.com Received: by 10.14.96.129 with HTTP; Mon, 11 Mar 2013 15:22:47 -0700 (PDT) In-Reply-To: <20130311211158.GE3794@kib.kiev.ua> References: <20130311091852.GR3794@kib.kiev.ua> <86k3pe1cl3.fsf@ds4.des.no> <20130311182454.GX3794@kib.kiev.ua> <329178079.20130312010425@serebryakov.spb.ru> <20130311211158.GE3794@kib.kiev.ua> Date: Mon, 11 Mar 2013 15:22:47 -0700 X-Google-Sender-Auth: 1pXb4TyEzLXkMP2g0HR9yew22P4 Message-ID: Subject: Re: Unmapped buffers: to be merged in several days From: Jim Harris To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Dag-Erling Sm??rgrav , Lev Serebryakov , 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: Mon, 11 Mar 2013 22:22:49 -0000 On Mon, Mar 11, 2013 at 2:11 PM, Konstantin Belousov wrote: > FWIW, I tried to get an Intel documentation for IOAT engine which should > allow to perform the XOR checksumming of the unmapped buffers, suitable > for e.g. hardware-assisted software raid5, but did not succeeded. > Please note that XOR checksumming support only exists in the E5-1600/2400/2600/4600 series (Sandy Bridge Xeon) and C5500/C3500 series (Jasper Forest - based on Nehalem Xeon) processors. The SNB Xeon series EDS section for IOAT isn't public, but the Jasper Forest datasheet volume 2 does contain the register interfaces. See sections 3.9 and section 3.10. The ioat HW interface for XOR is the same for both series save for some delta in errata. http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-c5500-c3500-datasheet-vol-2.pdf Also note there is an ioat driver (DMA operations only) on the user/jimharris/ioat branch in the FreeBSD SVN repo. The Linux ioat driver with XOR support is dual-licensed BSD/GPL. Regards, -Jim