From owner-freebsd-performance@FreeBSD.ORG Mon Mar 24 15:59:56 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246A21065673 for ; Mon, 24 Mar 2008 15:59:56 +0000 (UTC) (envelope-from engywook@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1FD8FC1E for ; Mon, 24 Mar 2008 15:59:55 +0000 (UTC) (envelope-from engywook@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so675876tid.3 for ; Mon, 24 Mar 2008 08:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=x87LVRs3q+FavuP5m72YT7x8GMS1HibGIx6gbq9ecIM=; b=Pxeg5xorweHj7zq/i8xaaiHQjy+AY8KNzbnAsr3uU/co1rslNYeIQBTMW3PZNJpvjvy6pOfDyND6W3yTWP1d2a5sJJKb1FIxW6cdz64shogYVWbb1CiIbtCc8wdiqsKk1wKK44oDOnF784N1h6kpWMQ453MHqnjD4vAjvF0kPWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jN6R8xzVT77pcdcZW6t/VBL2qcfZlidCFvpbv1L6v0HaRPODDZw1j73pO12OWsxiCeSr95IxiWQNW7GDcor+hMdDD6e+ziI+3SsPbKsidaFuSGY2yf+sz5ml3JcdRil/i8xGN0FZ8PHVyFUR44Wo3B4LXgTqMFtDdiCziEHHKJE= Received: by 10.110.68.10 with SMTP id q10mr1575663tia.22.1206374393818; Mon, 24 Mar 2008 08:59:53 -0700 (PDT) Received: by 10.70.35.20 with HTTP; Mon, 24 Mar 2008 08:59:53 -0700 (PDT) Message-ID: <24adbbc00803240859w1e1cc372xae8c97a29d474b92@mail.gmail.com> Date: Mon, 24 Mar 2008 16:59:53 +0100 From: "Daniel Andersson" To: "Josh Paetzel" In-Reply-To: <200803241040.53346.josh@tcbug.org> MIME-Version: 1.0 References: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> <200803240327.01211.josh@tcbug.org> <24adbbc00803240422m5b04b485s5df2f406aa89dc2b@mail.gmail.com> <200803241040.53346.josh@tcbug.org> X-Mailman-Approved-At: Mon, 24 Mar 2008 16:15:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Tuning: 100mbit faster, gbit slower. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 15:59:56 -0000 > >I think we are having a terminology problem here. Are you meaning 30mb/s > as > >in 30 megabits per second (30% of 100TX speed) or do you mean 30 MB/s as > in > >30 Megabytes/sec? I think in rereading you post you are meaning > Megabytes > >but using the terminology for megabits. Ah, yes, sorry! I ment 30MB/s. >So here's what I've done to nearly saturate gig-e. Keep in mind that I > have > >15k SAS drives and intel gig-e adapters that aren't sitting in 33mhz > 32bit > >PCI slots, single IDE/SATA drives are going to be a bottleneck as are > 33mhz > >32bit PCI NICs. > > > >This is on RELENG_6_3 > > > > > >net.inet.tcp.sendspace=262144 > >net.inet.tcp.recvspace=262144 > > > >kern.ipc.maxsockbuf=1048576 > >ifconfig em0 mtu 9014 (You'll need a switch that supports jumbo frames to > do > >this) > > > >iperf shows wire traffic around 969 mbps and FTP runs at 110 Megs/sec > >scp/sftp appears to be cpu bound at 45 Megs/sec, and NFS with TCP mounts > and > >send/receive packets set to 16384 manages about 90 Megs/sec. > >-- > >Thanks, > >Josh Paetzel > >PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB > > I don't really need the extra speed on the internal network. I just want the steady 50MB/s back, but also the increased performance of rtorrent I got from my "tuning". I'm also planning on getting more disks and setting up either zfs or softraid to lessen the hdd bottleneck. One thing at a time though. Maybe setting kern.ipc.maxsockbuf=1M+ and leaving everything else default will solve it. Since rtorrent has it's own setting for buffer sizes. Thanks for the replies and sorry for the mixup! Daniel