Thanks for the reply Alfredo. I have the IP and credentials ready. What is a good email address I can forward it to?
Thx, -henning -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alfredo Cardigliano Sent: Monday, April 29, 2013 3:39 PM To: [email protected] Subject: Re: [Ntop-misc] Increase number of RX queues in use by ixgbe-DNA Hi Henning this is a strange issue, could you provide ssh access to debug it? Thanks Alfredo On Apr 27, 2013, at 6:39 PM, Henning Els <[email protected]> wrote: > Hi Yuri, > > No, I killed all nprobe processes and tried to launch it only one process on > dna0#3, but it's failing with a 'Unable to open interface dna0@3. Running > single processes on dna0@1 or 2 works fine, but fails for 3 or above. > > :~/nprobe# ./nprobe -i dna0@3 -w 1048576 -q 66.112.11.90:1112 -n > 192.168.10.1:2055 -n 66.112.11.90:20555 -a --cpu-affinity 3 -t 30 -l > 10 -u 1 -Q 2 -V 5 -b 1 > 27/Apr/2013 09:31:53 [nprobe.c:3413] Welcome to nprobe v.6.12.130420 > ($Revision: 3268 $) for i686-pc-linux-gnu with native PF_RING > acceleration > 27/Apr/2013 09:31:53 [nprobe.c:3441] Tracing enabled > 27/Apr/2013 09:31:53 [util.c:2320] This computer has 8 processor(s) > 27/Apr/2013 09:31:53 [util.c:2332] Adding CPU 3 to the CPU affinity > set > 27/Apr/2013 09:31:53 [util.c:2347] CPU affinity successfully set to 3 > 27/Apr/2013 09:31:53 [plugin.c:143] Loading plugins... > 27/Apr/2013 09:31:53 [plugin.c:159] Loading plugins [.so] from > ./plugins > 27/Apr/2013 09:31:53 [plugin.c:507] Loaded './plugins/bgpPlugin.so' > 27/Apr/2013 09:31:53 [plugin.c:507] Loaded './plugins/dbPlugin.so' > 27/Apr/2013 09:31:53 [bgpPlugin.c:375] BGP plugin is disabled > (--bgp-port has not been specified) > 27/Apr/2013 09:31:53 [dbPlugin.c:161] WARNING: DB support is not > enabled (disabled at compile time) > 27/Apr/2013 09:31:53 [plugin.c:210] 2 plugin(s) loaded [2 delete][1 packet]. > 27/Apr/2013 09:31:53 [nprobe.c:5178] Welcome to nprobe v.6.12.130420 > for i686-pc-linux-gnu > 27/Apr/2013 09:31:53 [nprobe.c:4494] Compiling flow templates... > 27/Apr/2013 09:31:53 [plugin.c:716] Scanning plugin BGP Update > Listener > 27/Apr/2013 09:31:53 [plugin.c:716] Scanning plugin MySQL DB > 27/Apr/2013 09:31:53 [plugin.c:828] 0 plugin(s) enabled > 27/Apr/2013 09:31:53 [nprobe.c:3898] Using packet capture length 128 > 27/Apr/2013 09:31:53 [nprobe.c:3963] ERROR: Unable to open interface dna0@3. > 27/Apr/2013 09:31:53 [nprobe.c:5270] ERROR: Unable to open interface > dna0@3 (dna0@3: No such device exists (SIOCGIFHWADDR: No such device)) > 27/Apr/2013 09:31:53 [nprobe.c:5272] ERROR: Try using -i none if you > do not want capture from a NIC > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Yuri > Francalacci > Sent: Saturday, April 27, 2013 3:11 AM > To: [email protected] > Subject: Re: [Ntop-misc] Increase number of RX queues in use by > ixgbe-DNA > > Does nprobe run correctly if your run it just on a single queue (3 or above) > without running it on anyone else? > Y > On 26/apr/2013, at 23:52, Henning Els <[email protected]> wrote: > >> Hi Yuri, >> >> I'm seeing 8 TX and RX queues displayed. >> >> ~# ethtool --statistics dna0 | grep -i que >> tx_restart_queue: 0 >> tx_queue_0_packets: 0 >> tx_queue_0_bytes: 0 >> tx_queue_1_packets: 0 >> tx_queue_1_bytes: 0 >> tx_queue_2_packets: 0 >> tx_queue_2_bytes: 0 >> tx_queue_3_packets: 0 >> tx_queue_3_bytes: 0 >> tx_queue_4_packets: 0 >> tx_queue_4_bytes: 0 >> tx_queue_5_packets: 0 >> tx_queue_5_bytes: 0 >> tx_queue_6_packets: 0 >> tx_queue_6_bytes: 0 >> tx_queue_7_packets: 0 >> tx_queue_7_bytes: 0 >> rx_queue_0_packets: 0 >> rx_queue_0_bytes: 0 >> rx_queue_1_packets: 0 >> rx_queue_1_bytes: 0 >> rx_queue_2_packets: 0 >> rx_queue_2_bytes: 0 >> rx_queue_3_packets: 0 >> rx_queue_3_bytes: 0 >> rx_queue_4_packets: 0 >> rx_queue_4_bytes: 0 >> rx_queue_5_packets: 0 >> rx_queue_5_bytes: 0 >> rx_queue_6_packets: 0 >> rx_queue_6_bytes: 0 >> rx_queue_7_packets: 0 >> rx_queue_7_bytes: 0 >> >> Thx, -henning >> >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Yuri >> Francalacci >> Sent: Friday, April 26, 2013 1:47 PM >> To: [email protected] >> Subject: Re: [Ntop-misc] Increase number of RX queues in use by >> ixgbe-DNA >> >> What is the output of ethtool after loading the modules? >> How many queues are displayed? >> Yuri >> >> Henning Els <[email protected]> ha scritto: >> >> Hello, >> >> I'm hoping someone can help me increase the number of RX queues that are in >> use on my machine. >> >> It's an 8 core machine that is running the latest NProbe - >> 6.12.130420 PF_RING ixgbe-DNA - 3.10.16-DNA OS - >> 2.6.38-12-generic-pae #51-Ubuntu SMP Wed Sep 28 16:11:32 UTC 2011 >> i686 i686 i386 GNU/Linux >> >> The ixgbe driver is loaded with the following command insmod >> ./ixgbe.ko MQ=1,1,1,1 RSS=8,8,8,8 >> >> From the documentation it says that it will start the number of RX queues up >> to the maximum specified above (8) or the number of cores, but it appears >> like it is only starting 2. The last line in the following blurp confirms >> that. >> >> $:/proc/net/pf_ring/dev/dna0# cat info >> Name: dna0 >> Index: 16 >> Address: 00:25:90:13:8C:F2 >> Polling Mode: DNA >> Type: Ethernet >> Family: Intel ixgbe 82599 >> Max # TX Queues: 8 >> # Used RX Queues: 2 >> >> The following 2 commands work, starting on dna0@0 and 1 >> /root/nprobe/nprobe -i dna0@0 -w 1048576 -q <IP>:1111 -n <IP>:2055 >> --cpu-affinity 1 -t 30 -l 10 -u 1 -Q 2 -V 5 -S 10 -b 1 & >> /root/nprobe/nprobe -i dna0@1 -w 1048576 -q <IP>:1112 -n <IP>:2055 >> --cpu-affinity 2 -t 30 -l 10 -u 1 -Q 2 -V 5 -S 10 -b 1 & >> >> But using dna0@3 and above fail to start, see last 3 lines below. >> >> root@CenturyLink-nprobe1:~/nprobe# /root/nprobe/nprobe -i dna0@3 -w >> 1048576 -q 66.112.11.90:1112 -n 192.168.10.1:2055 -n >> 66.112.11.90:20555 -a --cpu-affinity 2 -t 30 -l 10 -u 1 -Q 2 -V 5 -S >> 10 -b 1 >> 26/Apr/2013 12:01:21 [nprobe.c:2981] WARNING: Unable to parse >> sampling >> option: discarded >> 26/Apr/2013 12:01:21 [nprobe.c:3413] Welcome to nprobe v.6.12.130420 >> ($Revision: 3268 $) for i686-pc-linux-gnu with native PF_RING >> acceleration >> 26/Apr/2013 12:01:21 [nprobe.c:3441] Tracing enabled >> 26/Apr/2013 12:01:21 [util.c:2320] This computer has 8 processor(s) >> 26/Apr/2013 12:01:21 [util.c:2332] Adding CPU 2 to the CPU affinity >> set >> 26/Apr/2013 12:01:21 [util.c:2347] CPU affinity successfully set to 2 >> 26/Apr/2013 12:01:21 [plugin.c:143] Loading plugins... >> 26/Apr/2013 12:01:21 [plugin.c:159] Loading plugins [.so] from >> ./plugins >> 26/Apr/2013 12:01:21 [plugin.c:507] Loaded './plugins/bgpPlugin.so' >> 26/Apr/2013 12:01:21 [plugin.c:507] Loaded './plugins/dbPlugin.so' >> 26/Apr/2013 12:01:21 [bgpPlugin.c:375] BGP plugin is disabled >> (--bgp-port has not been specified) >> 26/Apr/2013 12:01:21 [dbPlugin.c:161] WARNING: DB support is not >> enabled (disabled at compile time) >> 26/Apr/2013 12:01:21 [plugin.c:210] 2 plugin(s) loaded [2 delete][1 packet]. >> 26/Apr/2013 12:01:21 [nprobe.c:5178] Welcome to nprobe v.6.12.130420 >> for i686-pc-linux-gnu >> 26/Apr/2013 12:01:21 [nprobe.c:4494] Compiling flow templates... >> 26/Apr/2013 12:01:21 [plugin.c:716] Scanning plugin BGP Update >> Listener >> 26/Apr/2013 12:01:21 [plugin.c:716] Scanning plugin MySQL DB >> 26/Apr/2013 12:01:21 [plugin.c:828] 0 plugin(s) enabled >> 26/Apr/2013 12:01:21 [nprobe.c:3898] Using packet capture length 128 >> 26/Apr/2013 12:01:21 [nprobe.c:3963] ERROR: Unable to open interface dna0@3. >> 26/Apr/2013 12:01:21 [nprobe.c:5270] ERROR: Unable to open interface >> dna0@3 (dna0@3: No such device exists (SIOCGIFHWADDR: No such >> device)) >> 26/Apr/2013 12:01:21 [nprobe.c:5272] ERROR: Try using -i none if you >> do not want capture from a NIC >> >> Any help is much appreciated! >> >> Thx, -henning >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > ############################################### > Yuri Francalacci - [email protected] - http://www.ntop.org > "Simplicity is the ultimate sophistication" - Leonardo da Vinci > ############################################### > > > > > > > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
