Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2009 23:27:29 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Performance issues with 8.0 ZFS and sendfile/lighttpd
Message-ID:  <4AF4A2D1.7090604@quip.cz>
In-Reply-To: <C5D326940ECACEB11B6ABF8E@[192.168.1.44]>
References:  <772532900-1257123963-cardhu_decombobulator_blackberry.rim.net-1402739480-@bda715.bisx.prod.on.blackberry>	<hcma4s$c49$1@ger.gmane.org> <4AEEBD4B.1050407@quip.cz> <C5D326940ECACEB11B6ABF8E@[192.168.1.44]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF4A2D1.7090604>