From owner-freebsd-net@FreeBSD.ORG Wed Aug 30 10:51:54 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68C8016A4DD for ; Wed, 30 Aug 2006 10:51:54 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id E11B643D53 for ; Wed, 30 Aug 2006 10:51:53 +0000 (GMT) (envelope-from kometen@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so162409wxd for ; Wed, 30 Aug 2006 03:51:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tnpFYhfyNuERPg0wv73yW9lWl/tdfCYnqab6yzeVUj50Rl2EnFDaoWeQTlKJPmp4Yt3rt9yxCXT8SReEoflo0ZmwyuABliU5mK67mTVEZSxgicP9Fhj81NF1v5AgCK+FRxXM+zfA9XNvrojBL4yZRuOGUku5yWzhKv+hag9Jnmo= Received: by 10.70.19.16 with SMTP id 16mr433275wxs; Wed, 30 Aug 2006 03:51:53 -0700 (PDT) Received: by 10.70.38.5 with HTTP; Wed, 30 Aug 2006 03:51:52 -0700 (PDT) Message-ID: Date: Wed, 30 Aug 2006 12:51:52 +0200 From: "Claus Guttesen" To: "Danny Braniss" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: tcp/udp performance X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 10:51:54 -0000 > test 1: writing to a NetApp filer via NFS/UDP > FreeBSD Linux > MegaBytes/sec > 1- Average: 18.48 32.61 > 2- Average: 15.69 35.72 > 3- Average: 16.61 29.69 > (interstingly, doing NFS/TCP instead of NFS/UDP shows an increase in speed of > around 60% on FreeBSD but none on Linux) I've always used tcp when doing nfs between my (former) FreeBSD 5.3 fileserver and my FreeBSD 6.x webservers. I increased the read- and write-packetsize to 32768 and achieved the best performance using this packetsize and tcp. Using udp sometimes gave me the "server not responding", but never appeared using tcp. So stick to tcp. regards Claus