From owner-freebsd-stable@FreeBSD.ORG Fri May 29 10:13:05 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C33F1065672 for ; Fri, 29 May 2009 10:13:05 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 04A068FC16 for ; Fri, 29 May 2009 10:12:59 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so3194022ana.13 for ; Fri, 29 May 2009 03:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cfHoh4bl31s6j/l2kX6QfcC35oh0r/HcWWmlZbNR/MA=; b=U1HTwYPxUWoezqVBfqPZW4SBxpTVzeo2ZJyXc9RgR5Wzzk7nQGy059bfKy8MVnXp8k oKF+M9KFjn/95KIqHAE5BCQS9jneIMoMIOAioik3/FKdBAB7364kfVvjWm9An74SoZxC Hb/jMiA1kRLNTS3HmlUCEechRlSGFgMALrGkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bmyHZz5CqoCMeXs8KdllmSMxzL5AomYWeLmbIOg5ltPSJ2zA3nv9FZyExRM/ASjiT6 45lo3gw+4qOcqKicDwRv2jpj1bj/3og/+M3Mlxue7nofCxPNcw3pHKrUQ1QEG3jBL4kB noxNJtUJQuRO42HpJlQkV5pMZl0YMfIFE4/BY= MIME-Version: 1.0 Received: by 10.100.126.19 with SMTP id y19mr3315930anc.100.1243591978857; Fri, 29 May 2009 03:12:58 -0700 (PDT) In-Reply-To: <4A1FAB45.4040904@h3q.com> References: <4A1FAB45.4040904@h3q.com> Date: Fri, 29 May 2009 13:12:58 +0300 Message-ID: From: Dan Naumov To: Philipp Wuensche Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ZFS on top of GELI / Intel Atom 330 system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 10:13:05 -0000 Thank you for your numbers, now I know what to expect when I get my new machine, since our system specs look identical. So basically on this system: unencrypted ZFS read: ~70 MB/s per disk 128bit Blowfish GELI/ZFS write: 35 MB/s per disk 128bit Blowfish GELI/ZFS read: 24 MB/s per disk I am curious what part of GELI is so inefficient to cause such a dramatic slowdown. In comparison, my home desktop is a C2D E6600 2,4 Ghz, 4GB RAM, Intel DP35DP, 1 x 1,5TB Seagate Barracuda - Windows Vista x64 SP1 Read/Write on an unencrypted NTFS partition: ~85 MB/s Read/Write on a Truecrypt AES-encrypted NTFS partition: ~65 MB/s As you can see, the performance drop is noticeable, but not anywhere nearly as dramatic. - Dan Naumov > I have a zpool mirror on top of two 128bit GELI blowfish devices with > Sectorsize 4096, my system is a D945GCLF2 with 2GB RAM and a Intel Arom > 330 1.6 Ghz dualcore. The two disks are a WDC WD10EADS and a WD10EACS > (5400rpm). The system is running 8.0-CURRENT amd64. I have set > kern.geom.eli.threads=3. > > This is far from a real benchmarks but: > > Using dd with bs=4m I get 35 MByte/s writing to the mirror (writing 35 > MByte/s to each disk) and 48 MByte/s reading from the mirror (reading > with 24 MByte/s from each disk). > > My experience is that ZFS is not much of an overhead and will not > degrade the performance as much as the encryption, so GELI is the > limiting factor. Using ZFS without GELI on this system gives way higher > read and write numbers, like reading with 70 MByte/s per disk etc. > > greetings, > philipp