From owner-freebsd-current@FreeBSD.ORG Sun Nov 21 12:27:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C70816A4CE; Sun, 21 Nov 2004 12:27:11 +0000 (GMT) Received: from juniper.fornext.org (53.35.138.210.xn.2iij.net [210.138.35.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 541A943D49; Sun, 21 Nov 2004 12:27:10 +0000 (GMT) (envelope-from shino@fornext.org) Received: from [127.0.0.1] (thyme.fornext.org [192.168.3.32]) by juniper.fornext.org (Postfix) with ESMTP id B03342A; Sun, 21 Nov 2004 21:27:08 +0900 (JST) Date: Sun, 21 Nov 2004 21:27:08 +0900 From: Shunsuke SHINOMIYA To: Jeremie Le Hen In-Reply-To: <20041119120102.GM69710@obiwan.tataz.chchile.org> References: <20041119185315.C43D.SHINO@fornext.org> <20041119120102.GM69710@obiwan.tataz.chchile.org> Message-Id: <20041121205158.45CE.SHINO@fornext.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.11.02 [ja] cc: freebsd-current@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re[2]: serious networking (em) performance (ggate and NFS) problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 12:27:11 -0000 Jeremie, thank you for your comment. I did simple benchmark at some settings. I used two boxes which are single Xeon 2.4GHz with on-boarded em. I measured a TCP throughput by iperf. These results show that the throughput of TCP increased if Interrupt Moderation is turned OFF. At least, adjusting these parameters affected TCP performance. Other appropriate combination of parameter may exist. The settings are some combinations of hw.em0.rx_int_delay hw.em0.tx_int_delay hw.em0.rx_abs_int_delay hw.em0.tx_abs_int_delay hw.em0.int_throttle_ceil. In this mail, A setting, hw.em0.rx_int_delay: 0 hw.em0.tx_int_delay: 66 hw.em0.rx_abs_int_delay: 66 hw.em0.tx_abs_int_delay: 66 hw.em0.int_throttle_ceil: 8000 is abbreviated to (0, 66, 66, 66, 8000). TCP window size was not adjusted by iperf's options. It mean that iperf is used by default setting. sender : default(0, 66, 66, 66, 8000), receiver : default(0, 66, 66, 66, 8000) 1st trial 852Mbps 2nd trial 861Mbps 3rd trial 822Mbps 4th trial 791Mbps 5th trial 826Mbps average 830.4Mbps, std. dev. 27.6Mbps sender : (0, 0, 0, 0, 8000), receiver : (0, 0, 0, 0, 8000) 1st trial 787Mbps 2nd trial 793Mbps 3rd trial 843Mbps 4th trial 771Mbps 5th trial 848Mbps average 808.4Mbps, std. dev. 34.9Mbps sender : off(0, 0, 0, 0, 0), receiver : off(0, 0, 0, 0, 0) 1st trial 902Mbps 2nd trial 901Mbps 3rd trial 899Mbps 4th trial 894Mbps 5th trial 900Mbps average 899.2Mbps, std. dev. 3.1Mbps -- Shunsuke SHINOMIYA