From owner-freebsd-net@FreeBSD.ORG Wed Jul 16 15:32:37 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D488A2EE for ; Wed, 16 Jul 2014 15:32:37 +0000 (UTC) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98A13249A for ; Wed, 16 Jul 2014 15:32:37 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id ij19so1949357vcb.25 for ; Wed, 16 Jul 2014 08:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vmhzBhnB2jaYXX5OaL64Y2Hc9r9g+Gpv7oEa6a+qM8U=; b=JQ/k6P9mcbiX6pA8TNN9RQoWfbiyVgF7TsihGXNXeDiyHNI9SEjX7BetDe5pgXyFuy kfTkhf1Xwd9E5hc4OidIb7HmDIar98P23DCOKpz9IfQd/ys1DLlDEYdaZB0uHH883HuL /SLwN4x7KawN1tk/SKgZ81ucLLwSlA69Q/C71iHjigJnzJmDplRs3lC747HXt01ZEf/0 m1N0rkrklUelqyBlz/5FF6UDXJFtLnLyatISdnWoj8yepQXDZumqzpDhsTjljHQpJzdl m2OZ9yQNzc0AkqJseEIfipul2aeFVVutI8d26sm3GE2xTPgEy3H/FK7Wm6n8P6iHA1AL Mdbg== MIME-Version: 1.0 X-Received: by 10.220.5.138 with SMTP id 10mr3203908vcv.67.1405524756565; Wed, 16 Jul 2014 08:32:36 -0700 (PDT) Received: by 10.221.0.147 with HTTP; Wed, 16 Jul 2014 08:32:36 -0700 (PDT) Date: Wed, 16 Jul 2014 17:32:36 +0200 Message-ID: Subject: nic performance: bce vs em From: Cristiano Deana To: FreeBSD net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 15:32:37 -0000 Hi all, I'm gonna setup a Dell 1955 to use as router. Dual xeon dual core, with these network cards: # pciconf -lv | grep -B2 network vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM5708S Gigabit Ethernet' class = network -- vendor = 'Intel Corporation' device = '82546GB Gigabit Ethernet Controller' class = network -- vendor = 'Intel Corporation' device = '82546GB Gigabit Ethernet Controller' class = network -- vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM5708S Gigabit Ethernet' class = network Now I have a similar machine, with only one CPU and using vlan based interfaces. A week ago I started collect flow data from interfaces with ng_flow and I have a high CPU usage: CPU 0: 0.0% user, 0.0% nice, 0.0% system, 21.7% interrupt, 78.3% idle CPU 1: 0.0% user, 0.0% nice, 1.6% system, 23.6% interrupt, 74.8% idle This is right now, with low traffic, so I'm gonna upgrade with new system Any experience about differences between bce and em? Load, irq... In peek hours we have 80k pps and 500Mbit per interface. Thank you -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/