From owner-freebsd-performance@FreeBSD.ORG Mon Jun 2 08:32:55 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42CB537B404 for ; Mon, 2 Jun 2003 08:32:55 -0700 (PDT) Received: from mail.drunkencomputing.de (ratz.drunkencomputing.de [195.244.235.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87AB43F75 for ; Mon, 2 Jun 2003 08:32:53 -0700 (PDT) (envelope-from hscholz@raisdorf.net) Received: from localhost (localhost [127.0.0.1]) by mail.drunkencomputing.de (Postfix) with ESMTP id CDE108AF67 for ; Mon, 2 Jun 2003 17:33:51 +0200 (CEST) Received: from mail.drunkencomputing.de ([127.0.0.1])port 10024) with ESMTP id 41661-01 for ; Mon, 2 Jun 2003 17:33:50 +0200 (CEST) Received: from goanna.lan.raisdorf.net (pD9E3CAE0.dip.t-dialin.net [217.227.202.224]) by mail.drunkencomputing.de (Postfix) with ESMTP id 32DA28AF4D for ; Mon, 2 Jun 2003 17:33:49 +0200 (CEST) Date: Mon, 2 Jun 2003 17:32:42 +0200 From: Hendrik Scholz To: freebsd-performance@freebsd.org Message-Id: <20030602173242.716c89d1.hscholz@raisdorf.net> In-Reply-To: <200306021623.17927.damir@voljatel.si> References: <200306021623.17927.damir@voljatel.si> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at drunkencomputing.de Subject: Re: copy 150G over 100Mbit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:32:55 -0000 Hi! On Mon, 2 Jun 2003 16:23:17 +0200 Damir Horvat wrote: > I've tryed rsync and cp over NFS. Both came down roughly to 2Gig's per > hour, which is unacceptable. The only option left (as I see it) is to > try with cross-over cable. 'systat -vmstat 1' should show the bottleneck as long as it isn't the network itself. What kind of NICs do you have? Try enabling IRQ mitigation on them or other features if supported (ifconfig fxp0 link0 turns on IRQ mitigation on Intel cards). IRQ moderation/mitigation lowers the number of interrupts generated by the network card by bundling (in most cases up to 6 depending on the FIFO buffer size) interrupts generated by the card. Try 'bing' or another network performance measurement tool to determine the max. network speed possible without paying attention to your harddisks. Since you don't care about security you might want to try vsftpd from the ports. vsftpd supports sendfile() thus eliminating copying data between memory regions if you card supports the so called zero-copy features (i.e. can read packet header and body from different buffers). >From my point of view vsftpd is the fastest ftpd available. Hendrik P.S. I'm just gathering some useful information for a FreeBSD network performance tuning article. -- Hendrik Scholz - - http://raisdorf.net/ Forcast for tonight: Dark.