Discussion:
bge(4) and softint-based if_input
(too old to reply)
Taylor R Campbell
2016-02-24 19:56:50 UTC
Permalink
Date: Wed, 24 Feb 2016 16:19:39 +0000 (GMT)
From: Robert Swindells <***@fdy2.co.uk>

I am seeing very slow responses to received packets to a bge(4)
controller since the change to run if_input in a softint.

What does `slow' mean here? What are you measuring?

Can you use dtrace to measure the latency from hard interrupt to soft
interrupt to packet processing, or various points in between?

One thought was whether it would help to take out the call to
softint_schedule() from if_percpuq_enqueue() and call it explictly
after a batch of mbufs have been enqueued.

Could try that. I expect softint_schedule is pretty cheap, though.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Robert Swindells
2016-02-24 22:03:25 UTC
Permalink
Post by Taylor R Campbell
I am seeing very slow responses to received packets to a bge(4)
controller since the change to run if_input in a softint.
Ignore this, it looks as if the switch that the machine was connected
to was starting to die.

Sorry for the noise.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...