From owner-freebsd-performance@FreeBSD.ORG Fri Oct 16 01:01:04 2009 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 EF73B106566B; Fri, 16 Oct 2009 01:01:04 +0000 (UTC) (envelope-from sdong@huawei.com) Received: from usaga02-in.huawei.com (usaga02-in.huawei.com [206.16.17.70]) by mx1.freebsd.org (Postfix) with ESMTP id CB1A78FC17; Fri, 16 Oct 2009 01:01:04 +0000 (UTC) Received: from huawei.com (localhost [127.0.0.1]) by usaga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0KRL00HXU0SQIG@usaga02-in.huawei.com>; Thu, 15 Oct 2009 17:46:03 -0700 (PDT) Received: from D73888 ([10.193.34.51]) by usaga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0KRL00IPJ0SOAR@usaga02-in.huawei.com>; Thu, 15 Oct 2009 17:46:02 -0700 (PDT) Date: Thu, 15 Oct 2009 17:45:58 -0700 From: Steve Dong In-reply-to: To: 'Adrian Chadd' , 'Hongtao Yin' Message-id: <000d01ca4dfa$081c36f0$3322c10a@china.huawei.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcpN3XuVrZQhS1YcQ6OA6EvmBvU7ZQAG2bcg References: <78DB4AE8EF5F4A1EBD3992D7404B2725@china.huawei.com> Cc: freebsd-performance@freebsd.org Subject: RE: Comparison of FreeBSD/Linux TCP Throughput performance 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, 16 Oct 2009 01:01:05 -0000 There are two gettimeofday calls, one at the beginning of the test and the other at the end. netperf-2.4.4 is used. I believe gettimeofday is a vsyscall in linux, but a real system call in freebsd. Thanks, Steve -----Original Message----- From: owner-freebsd-performance@freebsd.org [mailto:owner-freebsd-performance@freebsd.org] On Behalf Of Adrian Chadd Sent: Thursday, October 15, 2009 1:55 PM To: Hongtao Yin Cc: freebsd-performance@freebsd.org Subject: Re: Comparison of FreeBSD/Linux TCP Throughput performance 2009/10/15 Hongtao Yin : > Hi, > > > > I compared TCP performance between FreeBSD and Linux by running test > tools Netperf and Iperf with Intel NIC. Did you compare syscalls made and time taken? For example, do either/both of them do a lot of gettimeofday() calls? FreeBSD and Linux have (had?) different behaviours and performance with those. I'd suggest digging a bit deeper? :) adrian _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"