From owner-freebsd-fs@FreeBSD.ORG Mon Sep 17 10:54:14 2007 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 1D0E816A417 for ; Mon, 17 Sep 2007 10:54:14 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3B413C465 for ; Mon, 17 Sep 2007 10:54:13 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IXEEv-00008D-BB for freebsd-fs@freebsd.org; Mon, 17 Sep 2007 12:54:05 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Sep 2007 12:54:05 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Sep 2007 12:54:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 17 Sep 2007 12:53:53 +0200 Lines: 59 Message-ID: References: <1189978356.30388.11.camel@afrodita> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigB8C6DDB4D0EDF1618C3D70D9" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.12 (X11/20060911) In-Reply-To: <1189978356.30388.11.camel@afrodita> X-Enigmail-Version: 0.94.4.0 Sender: news Subject: Re: slow transfers on webshare service 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: Mon, 17 Sep 2007 10:54:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB8C6DDB4D0EDF1618C3D70D9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Miroslav Valenta wrote: > Hi=20 >=20 > i have problem with slow transfers on my web filesharing server. I'm > running FreeBSD 6.2=20 >=20 > files are sending by lighttpd 1.4.18 : >=20 > server.max-worker =3D 8 > server.max-fds =3D 8192 > server.network-backend =3D "writev" >=20 > ----- >=20 > HW: > xeon 3160=20 > 4GB of RAM > areca arc-1260 disk controller with 1GB cache + 8x 500GB sata2 hdd >=20 >=20 > file transfers slow down when i'm about 500 downloading connections > but when i send same file from same storage by same line it's sending > fast. Please characterize "slow" and "fast" - how is it slow and how fast do=20 you think it should be? Some general tips/ideas: - Do you really need 8 workers? Lighttpd is async server so it's about=20 as fast as it gets. If you only serve static files, larger number of=20 worker processes (and CPUs...) won't make a difference. - Do you use the "kqueue" extension for Lighttpd? - 500 parallel downloads probably mean lots of seeking on the disk drive = array, have you verified you can sustain the speed you need with the driv= es? --------------enigB8C6DDB4D0EDF1618C3D70D9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFG7lzBldnAQVacBcgRA57tAKDp4XaigIoTpXintYjuqSx2fqdelACaAlsF Ojd8SKk6OE3KAg1+RUxo21M= =ufYo -----END PGP SIGNATURE----- --------------enigB8C6DDB4D0EDF1618C3D70D9--