From owner-freebsd-stable@FreeBSD.ORG Fri Nov 6 22:27:33 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 06924106566C for ; Fri, 6 Nov 2009 22:27:33 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id B46CC8FC13 for ; Fri, 6 Nov 2009 22:27:32 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6838D19E02A for ; Fri, 6 Nov 2009 23:27:30 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2DB7E19E019 for ; Fri, 6 Nov 2009 23:27:30 +0100 (CET) Message-ID: <4AF4A2D1.7090604@quip.cz> Date: Fri, 06 Nov 2009 23:27:29 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 CC: freebsd-stable@freebsd.org References: <772532900-1257123963-cardhu_decombobulator_blackberry.rim.net-1402739480-@bda715.bisx.prod.on.blackberry> <4AEEBD4B.1050407@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Performance issues with 8.0 ZFS and sendfile/lighttpd 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, 06 Nov 2009 22:27:33 -0000 Michael Loftis wrote: >> I have more strange issue with Lighttpd in jail on top of ZFS. Lighttpd >> is serving static content (mp3 downloads thru flash player). Is runs fine >> for relatively small number of parallel clients with bandwidth about 30 >> Mbps, but after some number of clients is reached (about 50-60 parallel >> clients) the throughput drops down to 6 Mbps. >> >> I can server hundereds of clients on same HW using Lighttpd not in jail >> and UFS2 with gjournal instead of ZFS reaching 100 Mbps (maybe more). >> >> I don't know if it is ZFS or Jail issue. > > > Check iostat 5 or zpool iostat 5 -- I bet you're disk thrashing when you > start to slow down. iostat and zpool was posted in another message. gstat or systat -vm is showing about 60% busy disk and even if there is high IO on the disks, lighttpd serving the same content from gmirrored UFS2 with gjournal and not in jail is serving three times more clients and bandwidth without this drop down behavior. Both machines are Sun Fire X2100 M2 with SATA disks. Miroslav Lachman