Re: Van Jacobson's net channels and real-time
From: Ingo Oeser
Date: Sat Apr 22 2006 - 20:17:22 EST
On Saturday, 22. April 2006 15:49, Jörn Engel wrote:
> That was another main point, yes. And the endpoints should be as
> little burden on the bottlenecks as possible. One bottleneck is the
> receive interrupt, which shouldn't wait for cachelines from other cpus
> too much.
Thats right. This will be made a non issue with early demuxing
on the NIC and MSI (or was it MSI-X?) which will select
the right CPU based on hardware channels.
In the meantime I would reduce the effects with only committing
on full buffer or on leaving the interrupt handler.
This would be ok, because here you have to wakeup the process
anyway on full buffer and if it slept because of empty buffer.
You loose only, if your application didn't sleep yet and you need to
leave the interrupt handler because there is no work anymore.
In this case the atomic_add would be significant.
All this is quite similiar to now we do page_vec stuff in mm/ already.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/