Hey, Pekka, We will definitely do some testing on CentOS and try to reproduce these issues. Could you let us know which network driver you are using and whether you are running inside a VM or not?
As per the packaging, we are considering different a couple of different approaches to this and would love to hear feedback from everyone on here! - Should we take it out of tcpreplay into a separate repository and treat it like a separate entity to which tcpreplay can use if users want more speed (similarly to how netmap is done) - Or should we disable the quick_tx functionality by default to prevent issues with distros - Or something else? Okay everyone, let us know what you think the best approach is :) Thanks, Alexey -----Original Message----- From: Fred Klassen [mailto:fklas...@appneta.com] Sent: Wednesday, October 15, 2014 8:57 AM To: tcpreplay-users@lists.sourceforge.net Subject: Re: [Tcpreplay-users] Tcpreplay version 4.1.0 beta 1 released Thanks Pekka. Appreciate digging into this and I will look forward to any bug logs or patches. We generally don't test with CentOS. Primarily we do Ubuntu, but we will try to recreated. In the mean time, I have opened a bug on Ctrl-C. This one we should be able to fix without loading a new OS. https://github.com/appneta/tcpreplay/issues/144 Fred. On 2014-10-15, 5:43 AM, "Pekka Pietikäinen" <p...@ee.oulu.fi> wrote: >On 15/10/14 01:02, Fred Klassen wrote: >> >> The Quick TX module is a brand new implementation created by my >> colleague Alexey Indeev. I think it is quite brilliant, but it does >> need lots of testing. Please report back both successful and >> unsuccessful results. >> > > >Hiya! > >Thanks for the new feature, quick testing and injection from a CentOS >7.0 virtio guest seemed to work, but also I found quite a few issues >(will poke around and file proper bug reports / patches :-) ). > > - Occasionally interface stops working completely, reboot clears >things up > - [ 127.956916] [quick_tx] ERROR: exiting quick_tx_vm_master_close >is only hint in dmesg > > - On CentOS 6.5 (2.6.32 kernel) loading quick_tx.ko causes Oops > > - Packaging current code may be difficult for distros (I'd think it >should be possible for distro binaries to build with quick_tx support, >but not ship the module, as they probably won't? Then if you want the >extra speed, compile the module against your kernel or have some kmod >autobuild package magic for just quick_tx, which can be a separate >rpm/deb. > > - When looping, printing stats and exiting doesn't work anymore >(Similar to issues I found & fixed for 4.0): > >4.0.4: >[root@localhost modules]# /usr/bin/tcpreplay -K --stats 1 -i eth0 -M >999999 --loop 0 /root/tcp_t22.pcap >File Cache is enabled >Actual: 808970 packets (51616660 bytes) sent in 1.00 seconds. >Rated: 51550623.6 Bps, 412.40 Mbps, 807935.03 pps >Actual: 1638477 packets (104543714 bytes) sent in 2.00 seconds. >Rated: 52226341.7 Bps, 417.81 Mbps, 818525.15 pps ^C User interrupt... >Actual: 1939226 packets (123737736 bytes) sent in 2.03 seconds. >Rated: 52352670.6 Bps, 418.82 Mbps, 820474.52 pps >Flows: 301 flows, 127.35 fps, 1935161 flow packets, 3398 non-flow >Statistics for network device: eth0 > Attempted packets: 1939226 > Successful packets: 1939226 > Failed packets: 0 > Truncated packets: 0 > Retried packets (ENOBUFS): 0 > Retried packets (EAGAIN): 0 > > >4.1.0beta1 >[root@localhost modules]# /root/tcpreplay-4.1.0beta1/src/tcpreplay -K >--stats 1 -i eth0 -M 999999 --loop 0 /root/tcp_t22.pcap File Cache is >enabled ^C User interrupt... >sendpacket_abort >^C User interrupt... >sendpacket_abort >^C User interrupt... >sendpacket_abort >^C User interrupt... >sendpacket_abort >^C User interrupt... >sendpacket_abort > >----------------------------------------------------------------------- >--- >---- >Comprehensive Server Monitoring with Site24x7. >Monitor 10 servers for $9/Month. >Get alerted through email, SMS, voice calls or mobile push notifications. >Take corrective actions from your mobile device. >http://p.sf.net/sfu/Zoho >_______________________________________________ >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 ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ 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 ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ 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