From owner-freebsd-current@FreeBSD.ORG Wed Jul 18 04:12:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C64F516A402 for ; Wed, 18 Jul 2007 04:12:06 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 976E013C4A6 for ; Wed, 18 Jul 2007 04:12:06 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so83693waf for ; Tue, 17 Jul 2007 21:12:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=rLW3VBIdiTDEgWX3K2jWMSiIRslVnoX3+z0KskX+WHqylWxuxu1JFmtJ1RzAFWfYa8ZfkPl+KmrA2ZEACqUI7ahJiyxrbMcnHnSO2em5UMq88jkCVnoeoZFvjfiaUUNZ20Y1x3QOTN+EhM917v9eUdpoMbp8pKcPybc89sqZakg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ra0xnfApl5cVP8NZkKdVzrfZGCFlNLnDQE8kLoxinikTmXqXY30PmnNZVDl4ovMx2Reb1wqmStCAqUyrTv+VqYov7XhuxfV6smSJr6yzUNBcp51phqxmw8odjxGDf3PWqxtcG9sluxl1BJUIreMK8gZqJ60/UT5bEDlBupsT7to= Received: by 10.114.170.1 with SMTP id s1mr1090459wae.1184731926195; Tue, 17 Jul 2007 21:12:06 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id v35sm643114wah.2007.07.17.21.12.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2007 21:12:05 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l6I4C1Mc039038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2007 13:12:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l6I4Bx94039037; Wed, 18 Jul 2007 13:11:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 18 Jul 2007 13:11:59 +0900 From: Pyun YongHyeon To: St?le Kristoffersen Message-ID: <20070718041159.GC37935@cdnetworks.co.kr> References: <20070716190441.GA19282@eschew.pusen.org> <20070716213425.GB19282@eschew.pusen.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070716213425.GB19282@eschew.pusen.org> User-Agent: Mutt/1.4.2.1i Cc: Kip Macy , current@freebsd.org Subject: Re: Slow networkperformance in current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 04:12:06 -0000 On Mon, Jul 16, 2007 at 11:34:25PM +0200, St?le Kristoffersen wrote: > On 2007-07-16 at 12:47, Kip Macy wrote: > > 10 GigE cards are doing line rate - over time the cpu usage required > > to do so is going down. Your experience is probably due to NIC issues. > > What kind of NIC are you using? And have you changed any configuration > > or settings? > > I was thinking of the NIC, thats why I tried it on localhost (bypassing the > NIC(?)). > I'm using a re-nick: > re0: port 0x7e00-0x7eff mem > 0xfd3ff000-0xfd3fffff irq 18 at device 0.0 on pci3 > I'm not sure it's directly related with re(4) but try overhauled re(4). http://people.freebsd.org/~yongari/re.HEAD.patch It seems that you also have PCIe based NIC. Try MSI patch for re(4) in addition to above one. > I have not changed anything, except upgrading the world + kernel. No > hardware was added, no bios-settings where changed. The only thing I can > think of is that I might have changed a sysctl a long time ago that boosted > my performance, and that change have been lost after the reboot. > > -- > St?le Kristoffersen > staalebk@ifi.uio.no -- Regards, Pyun YongHyeon