What is your disk configuration? Most likely you are unable to write fast enough whic would cause your packet loss.
On Wednesday, May 13, 2015, Ivan Cheng <[email protected]> wrote: > Hi, > > I have done below 10Gb interface tests using netsniff-ng-0.5.9 under > Ubuntu 14.04 LTS x64 but found that there're more than half of the traffic > dropped during capturing the traffic to the files: > > 1. Server1: run iperf -s > 2. Server1: capture the traffic using netsniff-ng > 3. Server2: run iperf -c x.x.x.x -t 100. (Network Utilization was over > 90% or 8Gb/sec) > 4. Version: netsniff-ng-0.5.9 > > Is there anyway to resolve it? If the traffic was lower than 1Gb, this > problem doesn't occur. > > Thanks in advance. > > Best Regards, > Ivan Cheng > > -------------------------------------------------- > Test Result: > > Server1: > # /usr/local/sbin/netsniff-ng -b 16 -i any -o /data/pcap/ -P "test-" -S > 2GiB -s -V -H -J -F 500MiB > pcap file I/O method: scatter-gather > RX,V3: 2048.00 MiB, 32768 Blocks, each 65536 Byte allocated > Running! Hang up with ^C! > > [ 4] local 192.168.200.2 port 5001 connected with 192.168.200.1 port 48511 > > .(+189550/-0).(+311899/-229105).(+94141/-650675).(+94434/-655971).(+94520/-661770).(+94957/-656108).(+94294/-655801).(+93884/-652061).(+94467/-652528).(+94308/-657827).(+94541/-678354).(+94247/-672099).(+94307/-678535).(+93657/-682063).(+94537/-677862).(+93673/-678498).(+93940/-672579).(+94652/-678580).(+94376/-674936).(+94673/-675870).(+94017/-678660).(+94617/-682085).(+94629/-672379).(+94177/-680516).(+94175/-671915).(+94143/-682812).(+94555/-678232) > [ 4] 0.0-100.0 sec 109 GBytes 9.38 Gbits/sec > .(+40865/-4864).(+52/-0).(+34/-0) > > # /usr/local/sbin/netsniff-ng -b 16 -i any -o /data/pcap/ -P "test-" -S > 500MiB -s -V -H -J -F 500MiB > pcap file I/O method: scatter-gather > RX,V3: 500.00 MiB, 8000 Blocks, each 65536 Byte allocated > Running! Hang up with ^C! > > [ 5] local 192.168.200.2 port 5001 connected with 192.168.200.1 port 48512 > .(+173863/-28474).(+97421/-456830).(+96685/-684605).(+97628/-687301).(+97473/-686187).(+97513/-685249)[ > 5] 0.0-20.0 sec 21.8 GBytes 9.37 Gbits/sec > > > Server2: > > # iperf -c 192.168.200.2 -t 100 > ------------------------------------------------------------ > Client connecting to 192.168.200.2, TCP port 5001 > TCP window size: 85.0 KByte (default) > ------------------------------------------------------------ > [ 3] local 192.168.200.1 port 48511 connected with 192.168.200.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-100.0 sec 109 GBytes 9.38 Gbits/sec > > > # iperf -c 192.168.200.2 -t 20 > ------------------------------------------------------------ > Client connecting to 192.168.200.2, TCP port 5001 > TCP window size: 85.0 KByte (default) > ------------------------------------------------------------ > [ 3] local 192.168.200.1 port 48512 connected with 192.168.200.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-20.0 sec 21.8 GBytes 9.38 Gbits/sec > > > --------------------------------------------------- > > HW & OS config: > > - 2 x Prolant 380 G7 servers with 16G RAM > - 1 10Gb NIC for each server > - Ubuntu v14.04 LTS x64 > > # uname -a > Linux BL380G7-01 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC > 2014 x86_64 x86_64 x86_64 GNU/Linux > > # lspci -v -s 0b:00.0 > 0b:00.0 Ethernet controller: NetXen Incorporated NX3031 Multifunction > 1/10-Gigabit Server Adapter (rev 42) > Subsystem: Hewlett-Packard Company NC522SFP Dual Port 10GbE Server > Adapter > Physical Slot: 2 > Flags: bus master, fast devsel, latency 0, IRQ 31 > Memory at fbe00000 (64-bit, non-prefetchable) [size=2M] > Memory at f8000000 (64-bit, non-prefetchable) [size=32M] > [virtual] Expansion ROM at df100000 [disabled] [size=64K] > Capabilities: [40] MSI-X: Enable+ Count=64 Masked- > Capabilities: [80] Power Management version 3 > Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+ > Capabilities: [c0] Express Endpoint, MSI 00 > Capabilities: [100] Advanced Error Reporting > Capabilities: [140] Device Serial Number 59-69-46-61-6e-48-73-75 > Kernel driver in use: netxen_nic > > # modinfo netxen_nic > filename: > /lib/modules/3.13.0-24-generic/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko > firmware: phanfw.bin > version: 4.0.82 > license: GPL > description: QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver > srcversion: 74E26B6913A817FEB3498A9 > alias: pci:v00004040d00000100sv*sd*bc02sc00i00* > alias: pci:v00004040d00000025sv*sd*bc02sc00i00* > alias: pci:v00004040d00000024sv*sd*bc02sc00i00* > alias: pci:v00004040d00000005sv*sd*bc02sc00i00* > alias: pci:v00004040d00000004sv*sd*bc02sc00i00* > alias: pci:v00004040d00000003sv*sd*bc02sc00i00* > alias: pci:v00004040d00000002sv*sd*bc02sc00i00* > alias: pci:v00004040d00000001sv*sd*bc02sc00i00* > depends: > intree: Y > vermagic: 3.13.0-24-generic SMP mod_unload modversions > signer: Magrathea: Glacier signing key > sig_key: 00:A5:A6:57:59:DE:47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31 > sig_hashalgo: sha512 > parm: auto_fw_reset:Auto firmware reset (0=disabled, 1=enabled > (int) > > > -- > You received this message because you are subscribed to the Google Groups > "netsniff-ng" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','netsniff-ng%[email protected]');> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
