From owner-freebsd-net@FreeBSD.ORG Thu Nov 11 21:32:53 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 4D54B106566B for ; Thu, 11 Nov 2010 21:32:53 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 02E0C8FC08 for ; Thu, 11 Nov 2010 21:32:52 +0000 (UTC) Received: by gyg13 with SMTP id 13so352704gyg.13 for ; Thu, 11 Nov 2010 13:32:52 -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=pIhBqfYZb7gpCk0aBRmifVzj4eYUouNnPp+rcB1JBVk=; b=c+Ub79tlrqRfKw+x3gD3CVWnzm3bPHM94oy43qJRhTjWWy6IxMGjtDcwHHnxgntLwM r9xqTGP/oq3n8J6/ucrKUh7FZuYHt909Q564Dw7nbqGmVvTdm9/fE4FY74ZPf+ro4s5t oEnnrKokCqPQnwuT6mYeNbMC4VhwNQl52rUT0= 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=mEtc/TQK/3lyfW9XzQgzBp6Gpn/+QcxGoN4A40Ll3GfNhCcKFriGOeHSmp+RbbTHSY +I8eTYgzG2yuPlQdIGOIemV9XQH1i3WzbU706NCYaHhmfKYb0gR8SSkSdxobu0W82Vzw yhGiLNvAfCECLPHeQOvVlNpNpPbQxNkxUovsU= Received: by 10.100.213.10 with SMTP id l10mr900590ang.160.1289511171986; Thu, 11 Nov 2010 13:32:51 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm2793607anx.32.2010.11.11.13.32.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 13:32:51 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 11 Nov 2010 13:31:56 -0800 From: Pyun YongHyeon Date: Thu, 11 Nov 2010 13:31:56 -0800 To: "rene@reckschwardt.de" Message-ID: <20101111213156.GG17566@michelle.cdnetworks.com> References: <20101111193534.A7D838090AAD@rds11224.i4e-server.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101111193534.A7D838090AAD@rds11224.i4e-server.de> User-Agent: Mutt/1.4.2.3i Cc: 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 21:32:53 -0000 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, >