From owner-freebsd-performance@FreeBSD.ORG Wed Mar 22 17:21:59 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 B30DA16A400 for ; Wed, 22 Mar 2006 17:21:59 +0000 (UTC) (envelope-from g_jin@lbl.gov) Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by mx1.FreeBSD.org (Postfix) with SMTP id 7355843D94 for ; Wed, 22 Mar 2006 17:21:51 +0000 (GMT) (envelope-from g_jin@lbl.gov) Received: (qmail 38412 invoked from network); 22 Mar 2006 17:21:49 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.178.44 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 22 Mar 2006 17:21:48 -0000 Message-ID: <442187FE.3060300@lbl.gov> Date: Wed, 22 Mar 2006 09:23:10 -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 To: Arne Woerner References: <20060322071023.70808.qmail@web30305.mail.mud.yahoo.com> In-Reply-To: <20060322071023.70808.qmail@web30305.mail.mud.yahoo.com> Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 22 Mar 2006 21:22:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-performance@freebsd.org, Gary Thorpe , oxy@field.hu 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: Wed, 22 Mar 2006 17:21:59 -0000 Arne Woerner wrote: --- "Jin Guojun [VFFS]" [1] wrote: In you example: Now your 1.6 GB/s reduced to 16MB/s or even worse just based on this factor. What did we show by this <
> test? I thought that would prove the memory bandwidth is about 8Gbit/sec (1GByte/sec; 2 * /2^30). It depends on how you use /dev/zero. dd of=/dev/null if=/dev/zero bs=4k count=100k tests cache speed dd of=/dev/null if=/dev/zero bs=4m count=100 tests memory bandwidth if your cache is less than 2 MB Now you may give me the real memory bandwidth on your system :-) I would expect something around 500. Notice that your memory copy speed will be one half of it. /dev/null device really does nothing beside throwing away data. That is, it can be counted as a cost for system call. -Jin References 1. mailto:g_jin@lbl.gov