Re: [PATCH] Fix integer truncation in systat -ifstat

2014-09-12 Thread Bruce Evans
On Thu, 11 Sep 2014, Ryan Stone wrote: systat -ifstat currently truncates byte counters down to 32-bit integers. The following fixes the issue, but I'm not very happy with it. u_long is what the rest of our code uses for network counters, but that ends up meaning that our counters are 32-bits

Re: netmap wishlist

2014-09-12 Thread Luigi Rizzo
On Fri, Sep 12, 2014 at 7:59 AM, Eggert, Lars l...@netapp.com wrote: Hi Luigi, I've started to play with netmap, like it a lot, and would like it to grow support for some additional features that I'd need. I wonder if you could comment on how likely support for any of the following is in

Re: netmap wishlist

2014-09-12 Thread Eggert, Lars
Hi, On 2014-9-12, at 9:31, Luigi Rizzo ri...@iet.unipi.it wrote: there is something already available/in progress for some of the above, but here are my thoughts on the various subjects: - netmap is designed to work with large frames, by setting the buffer size to something suitable

Re: [PATCH] Fix integer truncation in systat -ifstat

2014-09-12 Thread Olivier Cochard-Labbé
On Fri, Sep 12, 2014 at 8:41 AM, Bruce Evans b...@optusnet.com.au wrote: Only differences in the counters are used except in 1 place that is broken in other ways, so overflow is only a large problem starting at about 40 Gbps. At only 10 Gbps, 32-bit counters are enough with a refresh

help creating a send-receive test suit using netmap

2014-09-12 Thread David
Hi I am trying to compare the performance of sending packets using netmap, socket and packet mmap. Right now I am working on top of pkt-gen and some other implementations for socket and packet mmap. I'm interested on the relation between packet size and packets I can send per second. I was