Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 13:22, Dan Shechter wrote: > Thanks. > > If interrupt mitigation disabling won't be enough I will have do > decide: freebs with netmap or openbsd with if_ethersubr.c > modification. > > netmap looks much easier to code. No need to do the mbuf dance (or I > hope that with netmap

Re: Low latency and interrupt mitigation

2013-02-11 Thread Dan Shechter
Thanks. If interrupt mitigation disabling won't be enough I will have do decide: freebs with netmap or openbsd with if_ethersubr.c modification. netmap looks much easier to code. No need to do the mbuf dance (or I hope that with netmap there would be no such need). BTW, would HW TX IP/UDP checks

Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 12:53, Dan Shechter wrote: > Thanks, > > Are there any other tips to reduce latency? > Using pcap means copying packets, so I'd say you want to put your code into the kernel to avoid copying and maybe queueing as well, but this is not something that can be trivially explained

Re: Low latency and interrupt mitigation

2013-02-11 Thread Dan Shechter
Thanks, Are there any other tips to reduce latency? Best regards, Dan On Mon, Feb 11, 2013 at 1:43 PM, Mike Belopuhov wrote: > On 11 February 2013 12:19, Dan Shechter wrote: >> Hi All, >> >> I have a very latency sensitive application. I need to move packets >> from one interface to another

Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 12:19, Dan Shechter wrote: > Hi All, > > I have a very latency sensitive application. I need to move packets > from one interface to another > > I am using a quad 1000/pro Intel NIC. pcidump shows 82571EB > > My latency sensitive application reads packets from one em interface

Low latency and interrupt mitigation

2013-02-11 Thread Dan Shechter
Hi All, I have a very latency sensitive application. I need to move packets from one interface to another I am using a quad 1000/pro Intel NIC. pcidump shows 82571EB My latency sensitive application reads packets from one em interface using libpcap and sends packet to another em interface using