Date: Mon, 17 Sep 2007 12:53:53 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-fs@freebsd.org Subject: Re: slow transfers on webshare service Message-ID: <fclmc2$bed$1@sea.gmane.org> In-Reply-To: <1189978356.30388.11.camel@afrodita> References: <1189978356.30388.11.camel@afrodita>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Miroslav Valenta wrote: > Hi > > i have problem with slow transfers on my web filesharing server. I'm > running FreeBSD 6.2 > > files are sending by lighttpd 1.4.18 : > > server.max-worker = 8 > server.max-fds = 8192 > server.network-backend = "writev" > > ----- > > HW: > xeon 3160 > 4GB of RAM > areca arc-1260 disk controller with 1GB cache + 8x 500GB sata2 hdd > > > 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 you think it should be? Some general tips/ideas: - Do you really need 8 workers? Lighttpd is async server so it's about as fast as it gets. If you only serve static files, larger number of 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 drives? [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fclmc2$bed$1>
