From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 20:04:48 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 074181065674 for ; Thu, 24 Jun 2010 20:04:48 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (core.vx.sk [188.40.32.143]) by mx1.freebsd.org (Postfix) with ESMTP id 4BFD38FC1F for ; Thu, 24 Jun 2010 20:04:47 +0000 (UTC) Received: from core.vx.sk (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id 6A9DBD8205 for ; Thu, 24 Jun 2010 22:04:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk ([127.0.0.1]) by core.vx.sk (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LgSmXnlUhNt0 for ; Thu, 24 Jun 2010 22:04:43 +0200 (CEST) Received: from [127.0.0.1] (89-201-148-228.dsl.optinet.hr [89.201.148.228]) by mail.vx.sk (Postfix) with ESMTPSA id A0C9FD81FF for ; Thu, 24 Jun 2010 22:04:43 +0200 (CEST) Message-ID: <4C23BA5B.2020709@FreeBSD.org> Date: Thu, 24 Jun 2010 22:04:43 +0200 From: Martin Matuska User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 7bit Cc: Subject: [CFT] ZFS v16 with stat() speedup 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: Thu, 24 Jun 2010 20:04:48 -0000 As I have imported some more improvements to the ZFS v15 patch that also target speed, I am now calling for testing of v16 with mainly the following important (post-v16) enhancement (and some related bugfixes): OpenSolaris Bug ID: 6775100 stat() performance on files on zfs should be improved This significantly improves stat() performance of ZFS and has a very positive effect on e.g webservers using PHP (I benchmarked a ~20% speed increase of PHP webserving) The patch is available here: http://people.freebsd.org/~mm/patches/zfs/v16/head-v16-extended.patch List of all changes (compared to current head and v15-patch): http://people.freebsd.org/~mm/patches/zfs/v16/head-v16.txt And again some ISOs (patched 8.1rc1) for testing: http://mfsbsd.vx.sk/iso/8.1rc1-zfsv16.iso (without symbols, 98.7MB) http://mfsbsd.vx.sk/iso/8.1rc1-zfsv16-debug.iso (with kernel symbols, 187.6MB) Login/password: root/mfsroot You can test these ISO's in Virtualbox, other emulation software or real-world systems. They contain a full installable distribution, here is a zfsinstall command example on an ad4 disk, with ZFS version 16, 4GB extra swap partition, lzjb compression and fletcher4 checksum: 1. Login as root (root:mfsroot) 2. mount_cd9660 /dev/acd0 /cdrom 3. zfsinstall -V 16 -t /cdrom/8.1-RC1-amd64.tar.xz -s 4G -c -4 -d ad4 When mfsbsd (not the installed system) is booted, there is a python and py-zfs package in /packages. You can copy and install these to your installed system for full pyzfs functionality (zfs userspace, zfs groupspace, zfs allow, zfs unallow). Thanks for testing, mm