From owner-freebsd-current@FreeBSD.ORG Tue Jul 24 22:07:53 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A50106566C for ; Tue, 24 Jul 2012 22:07:53 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1AEC78FC16 for ; Tue, 24 Jul 2012 22:07:53 +0000 (UTC) Received: by qaat11 with SMTP id t11so122188qaa.13 for ; Tue, 24 Jul 2012 15:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a8YztOKiQlKWM00u2NsB7dq4oGq/bR8vm3jJY7Ya5nw=; b=uSbojpxHUfOeGbhyzuKM2ogAHC1bU+cWCgMPr8fy4rlAgZ4rZUApLP2KxO1C35hDRe vEchYiSUzkR42kCt8IL1gEDoq4PfQtDa5C7FtA+WMOZvOI6jI/vEViOWt9UBsBB8k2yf kmLiEgkj2AMzeHWsyRjqjw8UtL75ScJXrx2f0qq0Q7RjpdX2bS8v4tQwbPJNiwexeuI6 StVGyHitl79ddsrJDP1UHDdLwO6+/PsHjsx7TNPdxbOHHEEZK6P0R0zH+KBj1jCF8yu4 Urpa8NEZwdS5n25G3tSLSmSBX63VHyVccnjYg0dMzNLu3MOsgOtBKXaoqYB94iULrftv 5tFA== MIME-Version: 1.0 Received: by 10.224.59.141 with SMTP id l13mr33958523qah.91.1343167672456; Tue, 24 Jul 2012 15:07:52 -0700 (PDT) Received: by 10.49.104.227 with HTTP; Tue, 24 Jul 2012 15:07:52 -0700 (PDT) In-Reply-To: <20120724202019.GA22927@onelab2.iet.unipi.it> References: <20120724202019.GA22927@onelab2.iet.unipi.it> Date: Tue, 24 Jul 2012 15:07:52 -0700 Message-ID: From: Jack Vogel To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: RFC: use EM_LEGACY_IRQ in if_lem.c ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 22:07:53 -0000 Interesting, lem is all the non-pcie hardware, and if you see better performance out of the LEGACY path then I'm OK with changing the default. Jack On Tue, Jul 24, 2012 at 1:20 PM, Luigi Rizzo wrote: > if_lem.c ("lem", one of the e1000 drivers) has 2 possible interrupt modes: > EM_LEGACY_IRQ uses the standard dispatch mechanism, whereas > FAST_INTR has a custom handler that signals a taskqueue to do the job. > > I have no idea which actual hardware uses it (all of my Intel 1G > cards use either "em" or "igb"), but "lem" is the driver used in > qemu, and there the EM_LEGACY_IRQ gives approx 10% higher packet > rates than the other. > > Any objections if i change the default to EM_LEGACY_IRQ ? > > cheers > luigi > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >