RE: Why is em nic generating interrupts?

2003-10-06 Thread Michael O. Boev
Hi again!

As of 5.1 (which, forgive my not mentioning it, I use), em is included in
that list.

> -Original Message-
> From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 12:01 AM
> To: Michael O. Boev
> Cc: [EMAIL PROTECTED]
> Subject: Re: Why is em nic generating interrupts?
>
>
> On Mon, 6 Oct 2003 19:48:53 +0700 "Michael O. Boev"
> <[EMAIL PROTECTED]> probably wrote:
>
> > Hello, everyone!
>
> Hi!
>
> > I've got a [uniprocessor] router machine with fxp and em nics.
> > I've built my kernel with the following included:
> >
> > options DEVICE_POLLING
> > options HZ=2500
> >
> > and enabled polling in /etc/sysctl.conf.
> >
> > Having looked through a vmstat -i output I see
> > that the em card is generating interrupts, although
> > they should be disabled (as I see in em's source code).
> >
> > interrupt total   rate
> > stray irq01  0
> > stray irq61  0
> > npx0 irq131  0
> > ata0 irq14 2339  0
> > em0 irq10421457155
> > fxp0 irq5 2  0
> > atkbd0 irq13326  1
> > clk irq06778872   2500
> > rtc irq8 346899127
> > Total   7552898   2786
> >
> > What's happening? Is polling working in my case?
> > If yes, why is vmstat showing interrupts? I see clearly,
> > that fxp's counter doesn't increase, and em's is constantly growing.
>
> Assuming you are using 4.8,
>
> \From the polling manpage:
>
> > As of this writing, the dc, fxp, rl and sis devices are
> supported, with
> >other in the works.
>
> I guess em is just not there yet, while fxp is...
>
> HTH
> --
> DoubleF
> "All flesh is grass"
>   -- Isiah
> Smoke a friend today.
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why is em nic generating interrupts?

2003-10-06 Thread Sergey 'DoubleF' Zaharchenko
On Mon, 6 Oct 2003 19:48:53 +0700 "Michael O. Boev" <[EMAIL PROTECTED]> probably wrote:

> Hello, everyone!
 
Hi!

> I've got a [uniprocessor] router machine with fxp and em nics.
> I've built my kernel with the following included:
> 
> options DEVICE_POLLING
> options HZ=2500
> 
> and enabled polling in /etc/sysctl.conf.
> 
> Having looked through a vmstat -i output I see
> that the em card is generating interrupts, although
> they should be disabled (as I see in em's source code).
> 
> interrupt total   rate
> stray irq01  0
> stray irq61  0
> npx0 irq131  0
> ata0 irq14 2339  0
> em0 irq10421457155
> fxp0 irq5 2  0
> atkbd0 irq13326  1
> clk irq06778872   2500
> rtc irq8 346899127
> Total   7552898   2786
> 
> What's happening? Is polling working in my case?
> If yes, why is vmstat showing interrupts? I see clearly,
> that fxp's counter doesn't increase, and em's is constantly growing.

Assuming you are using 4.8,

\From the polling manpage:

>   As of this writing, the dc, fxp, rl and sis devices are supported, with
>other in the works.

I guess em is just not there yet, while fxp is...

HTH
-- 
DoubleF
"All flesh is grass"
-- Isiah
Smoke a friend today.


pgp0.pgp
Description: PGP signature


Why is em nic generating interrupts?

2003-10-06 Thread Michael O. Boev
Hello, everyone!

I've got a [uniprocessor] router machine with fxp and em nics.
I've built my kernel with the following included:

options DEVICE_POLLING
options HZ=2500

and enabled polling in /etc/sysctl.conf.

Having looked through a vmstat -i output I see
that the em card is generating interrupts, although
they should be disabled (as I see in em's source code).

interrupt total   rate
stray irq01  0
stray irq61  0
npx0 irq131  0
ata0 irq14 2339  0
em0 irq10421457155
fxp0 irq5 2  0
atkbd0 irq13326  1
clk irq06778872   2500
rtc irq8 346899127
Total   7552898   2786

What's happening? Is polling working in my case?
If yes, why is vmstat showing interrupts? I see clearly,
that fxp's counter doesn't increase, and em's is constantly growing.

Thanks in advance to anyone for an idea!
Please also CC: me as I'm not subscribed.
--
Best wishes,
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"