From owner-cvs-all Fri Aug 9 5:12: 7 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1C9037B400; Fri, 9 Aug 2002 05:12:02 -0700 (PDT) Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30AAA43E65; Fri, 9 Aug 2002 05:12:01 -0700 (PDT) (envelope-from maxim@FreeBSD.org) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.6/8.11.6) with ESMTP id g79C9TM3146082; Fri, 9 Aug 2002 16:09:29 +0400 (MSD) Date: Fri, 9 Aug 2002 16:09:29 +0400 (MSD) From: Maxim Konovalov X-X-Sender: maxim@news1.macomnet.ru To: Attila Nagy Cc: Mike Barcroft , Yar Tikhiy , , Subject: Re: cvs commit: src/libexec/ftpd ftpd.8 ftpd.c In-Reply-To: Message-ID: <20020809160204.Q41486-100000@news1.macomnet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 13:25+0200, Aug 9, 2002, Attila Nagy wrote: > Hello, > > > Are these changes making it back to lukem to avoid lost functionality > > when we make the switch to lukemftpd? > I think before the switch could happen it is necessary to bring lukemftpd > at least for the same level of performance as the current ftpd. > Two examples: sendfile() support and resource usage. And I think they are > really important... > > sendfile(): I did "performance measurements" with four machines. One NFS > server (held the data), one FTP server (data over NFS) and two > machines with some wget -O /dev/null ftp://server/bigfile running. > With ftpd I got about 8 MB/s with 10-20% idle processor time, > with lukemftpd I got about 4-5 MB/s with 0% idle... > resource usage: without any hacks made, I could do about 750 concurrent > ftp connection to ftpd (started from inetd) without any hicks > and only about 200-270 to lukemftpd (I can't remember the exact > number) with some weird kernel messages. I can confirm practically the same perfomance differences between stock ftpd and lukemftpd on our production anon ftp server (250GB online storage, ~1000 ftp sessions, 30-50mbps) in "real" environment. -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message