Date: Tue, 24 Jul 2012 15:07:52 -0700 From: Jack Vogel <jfvogel@gmail.com> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: RFC: use EM_LEGACY_IRQ in if_lem.c ? Message-ID: <CAFOYbcnETntWY%2BESPB8x0BRF7Uqc7XG=EOurY5axFEkm1dwVBw@mail.gmail.com> In-Reply-To: <20120724202019.GA22927@onelab2.iet.unipi.it> References: <20120724202019.GA22927@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <rizzo@iet.unipi.it> 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"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFOYbcnETntWY%2BESPB8x0BRF7Uqc7XG=EOurY5axFEkm1dwVBw>
