From owner-freebsd-performance@FreeBSD.ORG Tue Jan 24 00:03:37 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0036C106566C for ; Tue, 24 Jan 2012 00:03:36 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 843A78FC0A for ; Tue, 24 Jan 2012 00:03:36 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so3973008wib.13 for ; Mon, 23 Jan 2012 16:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dudu.ro; s=google; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:x-gm-message-state:content-type :content-transfer-encoding:content-disposition; bh=+6ugUauuYsGghapMuEsSuzOwLQ2JXd3Gab5eeZlyGTU=; b=fhE7FzIvlwALCRBSKTwqrfmzYil486LMWRA+BN9Vo6BFyJcDvMVtigELP2IJYGob+e tIESCDKPANoD84fQOtkxEVQgqYNT0KZqffhQr3wBT10rqHX2czECl36z5R2J8ZzWoUxH Bm7Qc6ieek5eRmoPSPB+Rr8gHeHZ0sTcyNps8= Received: by 10.180.81.35 with SMTP id w3mr16745609wix.10.1327361665434; Mon, 23 Jan 2012 15:34:25 -0800 (PST) Received: from lespaul (5ad02814.bb.sky.com. [90.208.40.20]) by mx.google.com with ESMTPS id ex2sm46295339wib.1.2012.01.23.15.34.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jan 2012 15:34:24 -0800 (PST) Date: Mon, 23 Jan 2012 23:34:21 +0000 From: Vlad Galu To: Marcin Markowski Message-ID: <52C581907BBB4B4AAF55D14F46BAAF2F@dudu.ro> In-Reply-To: References: X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 X-Gm-Message-State: ALoCoQm6lPlnBjuAsfzqSCsaT3VbcAlDaJ1C1+7i7flW72lA8zsME7zJQ6PJk+mj4K97yl8X0ynP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-performance@freebsd.org Subject: Re: Performance problem using Intel X520-DA2 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: Tue, 24 Jan 2012 00:03:37 -0000 -- Good, fast and cheap: pick any two. On Monday, January 23, 2012 at 8:20 PM, Marcin Markowski wrote: > Hello, > > We use FreeBSD as sniffer (libpcap programs) and we experience > performance problems when incoming traffic is greater than 7.5Gbps/s. > If we check 'top' we see that first irq from network card is using > 100% CPU. I've tested this on FreeBSD 8.2-RELEASE and 9.0-RELEASE > (on 9.0 we can see also kernel thread named {ix0 que} using 100% CPU), > and both systems behave the same. In logs we see also: > interrupt storm detected on "irq268:"; throttling interrupt source > > Our server platform is Intel SR2600URBRP, 2x Xeon X5650, 6GB RAM and > NIC Intel X520-DA2. > > I'm not sure if problem is with NIC or motherboard in SR2600URBRP, > because everything is fine when we use other server configuration: > Intel SR1630GP, 1x Xeon X3450, 8GB RAM, NIC X520-DA2 > > My /boot/loader.conf: > kern.ipc.nmbclusters=262144 > hw.ixgbe.rxd=2048 > hw.ixgbe.txd=2048 > hw.ixgbe.num_queues=16 > > /etc/sysctl.conf > hw.intr_storm_threshold=10000 > Hi Marcin, Have a look at Luigi's excellent netmap framework [1]. [1] http://info.iet.unipi.it/~luigi/netmap/