From owner-freebsd-net@freebsd.org Tue Oct 20 04:47:37 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADF1AA19971 for ; Tue, 20 Oct 2015 04:47:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAD6DBF for ; Tue, 20 Oct 2015 04:47:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 88552A19970; Tue, 20 Oct 2015 04:47:37 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D0ECA1996B for ; Tue, 20 Oct 2015 04:47:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D40BDBD; Tue, 20 Oct 2015 04:47:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by obbwb3 with SMTP id wb3so5073370obb.0; Mon, 19 Oct 2015 21:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DHjkwGXOWXe8ywU+0Yug+WjCCirn7TM+TDU4lEYDYOM=; b=pHr+cLuphL+Y9eY3eaaRk5cxEHAjdVJJ0RUB6z28QgmPfeQOUcgUu8a68Xs00ME2RE 5kD7FiPfHZnOTDwOzhdCdNYahclx/tTSqgaImZETCHfv8DwAcGv7HpY/ccEGu7Uh3tM1 KDeLG5N0dd1I4DIqSeIDmfRk3BUcfr2jiYvNFEEFY1xbxiKVI07yze0uWd4LpfwJyzj8 hC7Rw0BOhfpL8aTCzDShyO+E+aNq385b6PB9PaIRc09fj0EAXc3IaXv9R/nt7A4omccy wEfKFuP58PyplEpqNpmge5RhP9NbHx0DmSLWggy5rDhILrkSiM1xqVrCSACpy3YMtsQY 4B/g== MIME-Version: 1.0 X-Received: by 10.182.95.68 with SMTP id di4mr666650obb.23.1445316456188; Mon, 19 Oct 2015 21:47:36 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.50.136 with HTTP; Mon, 19 Oct 2015 21:47:36 -0700 (PDT) In-Reply-To: References: <79830D9D-94E6-47A9-92B9-D63DF5432272@netapp.com> Date: Mon, 19 Oct 2015 21:47:36 -0700 X-Google-Sender-Auth: mu20mEJtIp-v9tnindqvu94Bx5g Message-ID: Subject: Re: ixl 40G bad performance? From: Kevin Oberman To: Luigi Rizzo Cc: "Eggert, Lars" , "jfv@FreeBSD.org" , "ricera10@gmail.com" , Giuseppe Lettieri , "net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 04:47:37 -0000 On Mon, Oct 19, 2015 at 8:11 AM, Luigi Rizzo wrote: > On Monday, October 19, 2015, Eggert, Lars wrote: > > > Hi, > > > > On 2015-10-19, at 16:20, Luigi Rizzo > > > wrote: > > > > > > i would look at the following: > > > - c states and clock speed - make sure you never go below C1, > > > and fix the clock speed to max. > > > Sure these parameters also affect the 10G card, but there > > > may be strange interaction that trigger the power saving > > > modes in different ways > > > > I already have powerd_flags="-a max -b max -n max" in rc.conf, which I > > hope should be enough. > > > I suspect it might not touch the c states, but better check. The safest is > disable them in the bios. > To disable C-States: sysctl dev.cpu.0.cx_lowest=C1 -- Kevin Oberman, Part time kid herder and retired Network Engineer