Rogee,
I'm glad to see that netmap procedures are at least somewhat documented. Often
with Ubuntu you only get kernel headers, and you must download the actual
kernel source code to build netmap.
I have an employee doing some research into this. He is attempting to build a
kernel module that hopefully is nearly as fast as netmap, but much easier to
build and install. It also will not take down the network interface during a
test. This may help make kernel modules much easier to use. You can follow his
work on this branch (still very early stages)
https://github.com/appneta/tcpreplay/tree/quick_tx_module
Finally, it may be worth noting how to make the netmap module boot up every
time on Ubuntu. This is what I do:
* Build and test the netmap module as per the instructions provided in
previous post
* Replace the .ko file in your module running kernel's module tree, e.g.
root@portwell28:~# uname -r
3.10.33-ani05
root@portwell28:~# cp ixgbe.ko
/lib/modules/3.10.33-ani05/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
/lib/modules/3.10.33-ani05/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
* Rebuild your boot loader, e.g.
root@portwell28:~# mkinitramfs -o /boot/initrd.img-3.10.33-ani05
Of course you must replace "3.10.33-ani05" with the version you are running.
See the 'uname -r' command.
As an aside, theoretical max throughput on netmap is 9750 Mbps on 10GigE, after
accounting for framing overhead. I generally achieve 9600 - 9650, but my
adapters have additional overhead that other adapters wouldn't seen. Anyone
getting the full maximum 9750 Mbps?
Fred.
From: Rogee Fe de Leon <rfede...@gmail.com<mailto:rfede...@gmail.com>>
Reply-To: Main forum for tcpreplay
<tcpreplay-users@lists.sourceforge.net<mailto:tcpreplay-users@lists.sourceforge.net>>
Date: Wednesday, September 3, 2014 at 7:50 AM
To: Main forum for tcpreplay
<tcpreplay-users@lists.sourceforge.net<mailto:tcpreplay-users@lists.sourceforge.net>>
Subject: Re: [Tcpreplay-users] Which version of Ubuntu is being used in the
Youtube instructions for tcpreplay and netmap.
Just some updates with Ubuntu 14.
I was able to get the make command for netmap to work properly. The incident is
here:
https://code.google.com/p/netmap/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=15
I followed your (Fred's) video to install netmap and followed the steps of
unloading and reloading the drivers. I wasn't sure what exactly each command
did but I just followed Fred's script in hopes that it was the same for Ubuntu
14.
ifdown p1p1 (p1p1 is my 10gig)
rmmod ixgbe
insmod ./netmap_lin.ko
mknod /dev/netmap c 10 59
modprobe mdio
insmod ./ixgbe/ixgbe.ko
ifup p1p1
However when I run the tcpreplay with the --netmap option I am receiving
--netmap feature was not compiled in. See INSTALL
Is this a tcpreplay issue or did I still not install --netmap correctly?
Thanks.
On Sat, Aug 16, 2014 at 4:38 PM, Fred Klassen
<fklas...@appneta.com<mailto:fklas...@appneta.com>> wrote:
Hi Rog.
I was using Ubuntu 10.04 in my video. I have not tried Ubuntu 14, but plan to
do so soon.
I notice on the netmap issue that they released a patch. Did that work for you?
When I move to Ubuntu 14 I'll make a note of testing it.
Fred.
From: Rogee Fe de Leon <rfede...@gmail.com<mailto:rfede...@gmail.com>>
Reply-To: Main forum for tcpreplay
<tcpreplay-users@lists.sourceforge.net<mailto:tcpreplay-users@lists.sourceforge.net>>
Date: Saturday, August 16, 2014 at 5:31 AM
To:
"tcpreplay-users@lists.sourceforge.net<mailto:tcpreplay-users@lists.sourceforge.net>"
<tcpreplay-users@lists.sourceforge.net<mailto:tcpreplay-users@lists.sourceforge.net>>
Subject: [Tcpreplay-users] Which version of Ubuntu is being used in the Youtube
instructions for tcpreplay and netmap.
Hi,
I am currently using Ubuntu 14. I am trying to setup netmap with the lastest
version of tcpreplay using the instructions from Fred's youtube videos. I had
no issues setting up tcpreplay but am having a heck of a time trying to setup
netmap. I currently have been posting on the netmap Issues page.
I am issue 15: https://code.google.com/p/netmap/issues/detail?id=15
I think my issue may be related to the version of Ubuntu I am using. Does
anyone know which version of Ubuntu Fred is using on his video? I will try to
use that and see if I get better results.
Thanks,
Rog
------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net<mailto:Tcpreplay-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support