There are a number of things to look at: - the content of /proc/sys/net/*/*rmem* - various sheduling priorities - the network driver (and card) - some are better than others, and many have options to tweak things - how bursty your traffic from the roach is - the locking strategy of your code (you might be waiting unproductively for a lock) - and maybe CPU affinities ?
And if you can, measure and profile your execution path regards marc On Thu, Jun 30, 2016 at 4:58 AM, Louis P. Dartez <louisdar...@gmail.com> wrote: > Hi all, > Can anyone guide me on what tools are being used for packet capture purposes > right now? I’ve been working on a baseband recorder using a ROACH1 using the > 10GbE lines but I can’t seem to avoid losing packets when writing data to > memory or disk. I wrote a threaded packet sniffer in C with a pretty tight > loop that write directly to memory in Ubuntu Linux. I’m wondering if there > are any optimizations that I could be missing out. > > > Any advice would be greatly appreciated, Thanks in advance! > LD > > Louis P. Dartez > > Ph.D. Candidate > > STARGATE > > Center for Advanced Radio Astronomy > > University of Texas Rio Grande Valley > > (956) 372-5812 > >