From owner-freebsd-net@FreeBSD.ORG Thu Nov 11 22:56:03 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A9B8106566C; Thu, 11 Nov 2010 22:56:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEA4D8FC12; Thu, 11 Nov 2010 22:56:02 +0000 (UTC) Received: by gxk9 with SMTP id 9so1621903gxk.13 for ; Thu, 11 Nov 2010 14:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=IGhK6hQW1mD1EyOeGE257dnjStQ6J1uURysVGSQbkAU=; b=r+NImbQF1HBtoEqLeZih9I11lo0I5LUg5o563VbL2NjmfG4AeL5KR/pq8ZKc7K/ytU /vCcaqaz88sdg3eWyekFM5GaIDfsEjyhqNuNeF5BFL4/RzRCi6E9/lqA9B/CxJGGw+WO MqF0NX1PiOU8FV/bj+FCh8r66i6PfIibR+gPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ovl59JyI9j8k4NnigN9V/ZMYZTV0j8Rokl65Q0Rd/QmrBgDKng5+grapW1ffDj1tEJ RkIiz/U4NWi4lOhtqD5fxzopuRfK3ED8Sz0zeHF9PuwaMvdoS6m9lJi8RSwbMTjPZGL5 nOj1hO0LbndE25jjbiQ2/ACHvyjidhyji2XNI= Received: by 10.42.222.134 with SMTP id ig6mr1419612icb.403.1289516161242; Thu, 11 Nov 2010 14:56:01 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm2915434iba.10.2010.11.11.14.55.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 14:56:00 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 11 Nov 2010 14:55:05 -0800 From: Pyun YongHyeon Date: Thu, 11 Nov 2010 14:55:05 -0800 To: "rene@reckschwardt.de" Message-ID: <20101111225505.GL17566@michelle.cdnetworks.com> References: <20101111193534.A7D838090AAD@rds11224.i4e-server.de> <20101111213156.GG17566@michelle.cdnetworks.com> <20101111224434.72664B470D68@rds11224.i4e-server.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101111224434.72664B470D68@rds11224.i4e-server.de> User-Agent: Mutt/1.4.2.3i Cc: jfv@FreeBSD.org, freebsd-net@freebsd.org Subject: Re: ML370 G4 with poor Network Performance and high CPU Load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 22:56:03 -0000 On Thu, Nov 11, 2010 at 10:44:31PM +0000, rene@reckschwardt.de wrote: > Hello YongHyeon, > > yes, booth Test-Servers are in idle State, no Disk activity and no > important Networktraffic. > > the pciconf -lcbv for the Nics: > > em0@pci0:7:1:0: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Dual Port Gigabit Ethernet Controller (Copper) > (82546EB)' > class = network > subclass = ethernet > bar [10] = type Memory, range 64, base 0xfdfe0000, size 131072, > enabled > bar [18] = type Memory, range 64, base 0xfdf80000, size 262144, > enabled > bar [20] = type I/O Port, range 32, base 0x6000, size 64, enabled > cap 01[dc] = powerspec 2 supports D0 D3 current D0 > cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split > transaction > cap 05[f0] = MSI supports 1 message, 64 bit > em1@pci0:7:1:1: class=0x020000 card=0x00db0e11 chip=0x10108086 rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Dual Port Gigabit Ethernet Controller (Copper) > (82546EB)' > class = network > subclass = ethernet > bar [10] = type Memory, range 64, base 0xfdf60000, size 131072, > enabled > bar [20] = type I/O Port, range 32, base 0x6040, size 64, enabled > cap 01[dc] = powerspec 2 supports D0 D3 current D0 > cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split > transaction > cap 05[f0] = MSI supports 1 message, 64 bit > > if you need more Info please ask me ;-) > Hmmm, I don't see any Broadcom controllers here. If you see issues on em(4), Jack can help you. Note, 82546EB is really old controller and I also remember the performance was not great compared to PCIe version. > thanks for your responce r? > > >On Thu, Nov 11, 2010 at 07:35:32PM +0000, rene@reckschwardt.de wrote: > >> Hello, > >> > >>i am new in this Maillist and i use an ML370G4 with FreeBSD 8.1 AMD64. I > >>try with netio and TCP. The used Nics are onboard Broadcom > >>(PCI-X133Mhz), an Broadcom PCI-X Nic and an intel PCI-X Nic. The CPU > >>load is around 35% and the performance like this: > >> > >>Packet size 1k bytes: 99303 KByte/s Tx, 44576 KByte/s Rx. > >>Packet size 2k bytes: 72043 KByte/s Tx, 75200 KByte/s Rx. > >>Packet size 4k bytes: 23280 KByte/s Tx, 66072 KByte/s Rx. > >>Packet size 8k bytes: 55234 KByte/s Tx, 64470 KByte/s Rx. > >>Packet size 16k bytes: 82485 KByte/s Tx, 74099 KByte/s Rx. > >>Packet size 32k bytes: 93133 KByte/s Tx, 74992 KByte/s Rx. > >> > >And you did perform the test on idle system?(No disk activity, no > >other network IOs etc). > > > >Show me the dmesg output of verbose boot and output of "pciconf > >-lcbv". > > > >>I try the following tuning: > >> > >>kern.ipc.maxsockbuf=16777216 > >>net.inet.tcp.sendbuf_max=16777216 > >>net.inet.tcp.recvbuf_max=16777216 > >>net.inet.tcp.sendbuf_inc=16384 > >>net.inet.tcp.recvbuf_inc=524288 > >>net.inet.tcp.inflight.enable=0 > >>net.inet.tcp.hostcache.expire=1 > >> > >>but this is not helpfull, the Load goes to 60% and the Performance is > >>also poor. How can i prevent this Problem? > >> > >>thanks for response r? > >> > >> > >>P.S. the same Computer with Linux runs perfect with Performance and 1-2% > >>Load, > >> > >_______________________________________________ > >freebsd-net@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-net > >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > >