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

Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 12:19, Dan Shechter dans...@gmail.com 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

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 m...@belopuhov.com wrote: On 11 February 2013 12:19, Dan Shechter dans...@gmail.com wrote: Hi All, I have a very latency sensitive application. I need to move packets

Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 12:53, Dan Shechter dans...@gmail.com 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

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

Re: Low latency and interrupt mitigation

2013-02-11 Thread Mike Belopuhov
On 11 February 2013 13:22, Dan Shechter dans...@gmail.com 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