From owner-freebsd-performance@FreeBSD.ORG Fri Mar 24 20:08:26 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org 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 955BA16A401 for ; Fri, 24 Mar 2006 20:08:26 +0000 (UTC) (envelope-from g_jin@lbl.gov) Received: from smtp108.sbc.mail.mud.yahoo.com (smtp108.sbc.mail.mud.yahoo.com [68.142.198.207]) by mx1.FreeBSD.org (Postfix) with SMTP id 28FDB43D49 for ; Fri, 24 Mar 2006 20:08:25 +0000 (GMT) (envelope-from g_jin@lbl.gov) Received: (qmail 46990 invoked from network); 24 Mar 2006 20:08:25 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.178.61 with plain) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 24 Mar 2006 20:08:24 -0000 Message-ID: <4424520D.9000504@lbl.gov> Date: Fri, 24 Mar 2006 12:09:49 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Lucas Holt References: <20060322071023.70808.qmail@web30305.mail.mud.yahoo.com> <442187FE.3060300@lbl.gov> <003301c64f44$89fdcd40$0201a8c0@oxy> <820F5FD6-C31F-4C28-9E66-64643C03086B@foolishgames.com> In-Reply-To: <820F5FD6-C31F-4C28-9E66-64643C03086B@foolishgames.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing Lists , OxY , Arne Woerner Subject: Re: packet drop with intel gigabit / marwell gigabit 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: Fri, 24 Mar 2006 20:08:26 -0000 Lucas Holt wrote: > > On Mar 24, 2006, at 8:12 AM, OxY wrote: > >> hi guys! >> >> well, i changed my motherboard and CPU from the >> asus a7v8x+amd 2000+ xp to >> the abit be7 + p4 2.4 (533fsb) and the packet loss fell down from >> 8% to 2%, but >> still have loss... >> loss coming when i have load.. i guess it decreased because of the >> bigger resources. >> still waiting for tipps, hints, everything :) >> >> > > I don't think you'll ever get down to 0% in your situation. I > noticed in the initial post that you have > net.inet.tcp.inflight.enable=1 set. On my home network, turning that > off helped a great deal with samba traffic to my freebsd file server/ > router. It didn't seem to affect traffic to my webserver much, but > its very low traffic. The problem with tuning on other people's > settings is that each workload is different though. Especially, when a user did not mention what network traffic condition and system load cause packet loss, it is difficult to get insight of the problem. So, the other thing in getting help in troubleshooting and performance tuning is to provide systematic and more detailed information. > There might not be a miracle hack to get this working how you want. > I'm sure the new box is a bit better as I attempted some of the steps > outlined by Jin on my two machines. (amd 2300+ w/ msi nforce2 512mb > ram and P4 2.4ghz 1gb ram 533mhz fsb) The P4 system was faster on > all my tests by quite a large margin. Just curious, were all your tests I/O related? 2300+ should over perform P4 2.4GHz in some computation tasks. > I must admit, I didn't follow all of Jin's calculations. I had quite sloppy email since I did not intend to involve detailed hardware discussion, but... For example, when I said that "cache design affects memory bandwidth [x1]" is very vague. It really means: "cache design affects memory copy speed (except DMA)." Generally, if we talk access data between CPU and main memory, then technically [x1] is right. If we talk to entire system design, theoretically, [x1] is wrong. I stand corrected for all such writing. -Jin