From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 13:15:34 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC4E3106564A for ; Wed, 25 Jul 2012 13:15:34 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from mail.averesystems.com (mail.averesystems.com [208.70.68.85]) by mx1.freebsd.org (Postfix) with ESMTP id C1CC78FC0C for ; Wed, 25 Jul 2012 13:15:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.averesystems.com (Postfix) with ESMTP id 9755748073A; Wed, 25 Jul 2012 09:08:46 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.averesystems.com Received: from mail.averesystems.com ([127.0.0.1]) by localhost (mail.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6tfidiPShv9O; Wed, 25 Jul 2012 09:08:45 -0400 (EDT) Received: from riven.arriad.com (206.193.225.214.nauticom.net [206.193.225.214]) by mail.averesystems.com (Postfix) with ESMTPSA id 431FA480717; Wed, 25 Jul 2012 09:08:45 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer In-Reply-To: <20120724202019.GA22927@onelab2.iet.unipi.it> Date: Wed, 25 Jul 2012 09:08:42 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <209163E0-F36C-4EBE-B5D5-5D538B12C95D@averesystems.com> References: <20120724202019.GA22927@onelab2.iet.unipi.it> To: Luigi Rizzo X-Mailer: Apple Mail (2.1278) 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: Wed, 25 Jul 2012 13:15:35 -0000 lem is also used under VMware. Performance and stability should be = tested there, too, before this change. -Andrew On Jul 24, 2012, at 4: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. >=20 > 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. >=20 > Any objections if i change the default to EM_LEGACY_IRQ ? >=20 > 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" -------------------------------------------------- Andrew Boyer aboyer@averesystems.com