From owner-freebsd-performance@FreeBSD.ORG Sun Sep 24 07:36:31 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49E9216A403 for ; Sun, 24 Sep 2006 07:36:31 +0000 (UTC) (envelope-from mihai@duras.ro) Received: from mail.duras.ro (mail.duras.ro [86.105.56.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE3443D55 for ; Sun, 24 Sep 2006 07:36:30 +0000 (GMT) (envelope-from mihai@duras.ro) Received: from localhost (localhost [127.0.0.1]) by mail.duras.ro (Postfix) with ESMTP id 64DAF1873F3 for ; Sun, 24 Sep 2006 10:36:31 +0300 (EEST) Received: from mail.duras.ro ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18243-07 for ; Sun, 24 Sep 2006 10:36:30 +0300 (EEST) Received: from [86.105.56.194] (ma.plimb.cu.barca.prin.padure.ro [86.105.56.194]) by mail.duras.ro (Postfix) with ESMTP id 72838187285 for ; Sun, 24 Sep 2006 10:36:30 +0300 (EEST) Message-ID: <45163558.30905@duras.ro> Date: Sun, 24 Sep 2006 10:35:52 +0300 From: Mihai Tanasescu User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (RedHat) at duras.ro Subject: Routing performance HP-ML350 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: Sun, 24 Sep 2006 07:36:31 -0000 Hello, I've got a HP ML-350 machine, dual Xeon 3Ghz. The system is running: FreeBSD 6.1-RELEASE-p7 and has the following netcards and traffic: 2 x fxp cards 2 x em cards each fxp card does about 80mbits traffic in/out each em card does about 200 mbits traffic in/out (packets are routed from em0 to em1 --> cisco 3750 access layer equipment) What I've noticed recently is that my CPU usage stays at about 80% when systat -ip 10 shows an average of 150-180 kpps being forwarded through this box. With SMP enabled I had 85-90% CPU interrupt load so I disabled that. Also I disabled the ipfw queueing code I had on one of the fxp cards (dynamic queueing with 6000 hash buckets - I have quite that many ip addresses and wanted each to hash to a different queue). The load dropped to 60%. Also I have polling disabled on the em cards (polling was causing packet drops with different Hz values; didn't try the idle poll as that used to crash my machine after a day or so of working a couple of months ago) and fast_forwarding enabled. On the fxp cards I tried with both polling enabled/disabled. I wanted to ask if there is any other tweaking possible to improve the routing performance. Thanks, Mihai