From owner-freebsd-fs@FreeBSD.ORG Sat Jan 29 20:43:43 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EBEE106564A for ; Sat, 29 Jan 2011 20:43:43 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC818FC19 for ; Sat, 29 Jan 2011 20:43:43 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PjHe2-000897-Ad for freebsd-fs@freebsd.org; Sat, 29 Jan 2011 21:43:42 +0100 Received: from 81-174-44-253.dynamic.ngi.it ([81.174.44.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Jan 2011 21:43:42 +0100 Received: from lapo by 81-174-44-253.dynamic.ngi.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Jan 2011 21:43:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Lapo Luchini Date: Sat, 29 Jan 2011 21:43:34 +0100 Lines: 24 Message-ID: <4D447BF6.6000105@lapo.it> References: <772532900-1257123963-cardhu_decombobulator_blackberry.rim.net-1402739480-@bda715.bisx.prod.on.blackberry> <4AEEBD4B.1050407@quip.cz> <4AEEDB3B.5020600@quip.cz> <4AF46CA9.1040904@quip.cz> <9bbcef730911061101h5356d2acob2ac8791afe112@mail.gmail.com> <4AF5D611.7060408@quip.cz> <9bbcef730911071242m5ad91720xcccb7586c6848ffd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 81-174-44-253.dynamic.ngi.it User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 In-Reply-To: <9bbcef730911071242m5ad91720xcccb7586c6848ffd@mail.gmail.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt Cc: freebsd-stable@freebsd.org Subject: Re: Performance issues with 8.0 ZFS and sendfile/lighttpd X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2011 20:43:43 -0000 Ivan Voras wrote: > 2009/11/7 Miroslav Lachman <000.fbsd@quip.cz>: >> And as you noted, read, write, fault, total and percent are not updated on >> machine with ZFS, so I can't compare it with UFS2 based machine. >> Is this bug in top fixed in 8.x? Will you file a PR? (you know more about FS >> related things than me :]) > > Not much... it depends on from where the stats are collected - there > is a fair bit of file system infrastructure that ZFS bypasses and if > these stats come from it, they cannot be collected. Any news about that? I can see it's not in 8.1-RELEASE, but I didn't check in any later release (yet). Should we file a PR not to forget about that? Is the following patch safe to apply? http://people.freebsd.org/~avg/zfs-ru.diff -- Lapo Luchini - http://lapo.it/ “X-rays will prove to be a hoax.” (Lord Kelvin, 1883)