Closed GoogleCodeExporter closed 9 years ago
Hi morphino,
note that the ixgbe driver should have an hard limit at 4096 for the number of
tx/rx slots (see IXGBE_MAX_TXD and IXGBE_MAX_RXD in ixgbe/ixgbe.h). ethtool
does not fail if you ask for more, but you can check with 'ethtool -g eth2'
what you really have got.
In any case, the default maximum netmap ring size is too small even for 4096
slots.
Therefore, unless you have already changed the default, this should cause an
error on netmap initialization which is perhaps confusing tcpreplay.
Please try to raise the maximum netmap ring size with
echo $((2**17)) > /sys/module/netmap_lin/parameters/ring_size
and try again.
Cheers,
Giuseppe
Original comment by giuseppe.lettieri73
on 14 Sep 2014 at 8:12
thanks, this is great info
Original comment by morph...@gmail.com
on 19 Sep 2014 at 12:37
Hi Guiseppe:
Adjusting the ring_size greatly enhanced netmap performance. I'm curious what
other parameters I can use for further enhancements? I have played abit with
ring_num and buf_size and buf_num, but i'm not familiar with what they are.
Original comment by morph...@gmail.com
on 13 Oct 2014 at 11:59
this can be closed
Original comment by morph...@gmail.com
on 22 Oct 2014 at 8:44
Original comment by giuseppe.lettieri73
on 22 Oct 2014 at 9:45
Original issue reported on code.google.com by
morph...@gmail.com
on 9 Sep 2014 at 6:05Attachments: