Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 15:44:36 -0700
From:      "Jack Vogel" <jfvogel@gmail.com>
To:        "Mike Tancsa" <mike@sentex.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: em0: watchdog timeout ...
Message-ID:  <2a41acea0710311544x5db98f27ta0f1276fd06d13f@mail.gmail.com>
In-Reply-To: <200710312232.l9VMWgJJ090112@lava.sentex.ca>
References:  <20071011003619.GA84433@obelix.dsto.defence.gov.au> <fg596h$3a5$1@ger.gmane.org> <200710301328.l9UDSWAK081359@lava.sentex.ca> <200710311621.53910.jhb@freebsd.org> <200710312058.l9VKw6id089701@lava.sentex.ca> <2a41acea0710311525w1721f4h619237292829b071@mail.gmail.com> <200710312232.l9VMWgJJ090112@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/31/07, Mike Tancsa <mike@sentex.net> wrote:
> At 06:25 PM 10/31/2007, Jack Vogel wrote:
> > > >
> > > >What if you use MSI?
> > >
> > > How do I enable that ?
> >
> >sysctl hw.pci.enable_msi=1
> >
> >and
> >
> >sysctl hw.pci.enable_msix=1
> >
> >For those that don't know, MSI/X is there in STABLE but off by default.
>
> Thanks,
>          Do I need to do this in /boot/loader.conf or can I set it at
> any time?  Are there any performance hits / boosts to use this method
> instead of the default ?

I have set it after the system booted and it seemed to work.

John could speak more authoritatively since he wrote it, but I have
seen no problem turning em use on whenever. Uh, this means of
course, enabling it and THEN loading the driver, if em is loaded and
you enable the system it will have no effect on em until unload and
reloading it.

John has also said that MSI in 6.X is not as full an implementation as
in 7 but I don't recall what that amounted to.

It means you have a unique unshared interrupt, I have never really had
any performance tests done on MSI vs Legacy so I can't speak to that.

Jack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a41acea0710311544x5db98f27ta0f1276fd06d13f>