Hi everyone,

I just installed the more recent (demo) version of PF_RING DNA driver for 
ixgbe, in order to make stress tests on a new router platform.

Everything is working fine, except that pfsend utility is usually not sending 
packet at the configured rate. Don't know if this is related to the demo 
version of the driver...

I am trying to transmit a capture file (containing five packets) at a rate of 1 
Gbps: on the first example shown below I am getting more than 7 Mpps which is 
much more than the rate that pfsend utility is calculating (1488095 pps). 

On the second example, the rate fits to the calculated rate using exactly the 
same parameters.

Any ideas?

First (unsuccessful) example:

root@trafficgen:/home/fmayo/PF_RING/userland/examples# ./pfsend -i dna0 -f 
/home/fmayo/traffic_test.cap -n 0 -r 1
Sending packets on dna0
###################################################
# ERROR: You do not seem to have a valid DNA license for dna0.
# ERROR: Please get one at http://shop.ntop.org/.
###################################################
# We're now working in demo mode with packet capture
# and transmission limited to 5 minutes
###################################################
Using PF_RING v.5.2.1
Estimated CPU freq: 3670602000 Hz
Number of 64-byte Packet Per Second at 1.00 Gbit/s: 1488095.24
Read 5 packets from pcap file /home/fmayo/traffic_test.cap
TX rate: [current 7'627'165.74 pps/6.47 Gbps][average 7'627'165.74 pps/6.47 
Gbps][total 7'627'181.00 pkts]
TX rate: [current 7'638'615.12 pps/6.48 Gbps][average 7'632'890.61 pps/6.47 
Gbps][total 15'266'285.00 pkts]
TX rate: [current 7'722'359.60 pps/6.55 Gbps][average 7'662'714.28 pps/6.50 
Gbps][total 22'989'162.00 pkts]
......

Second (successful) example:

root@trafficgen:/home/fmayo/PF_RING/userland/examples# ./pfsend -i dna0 -f 
/home/fmayo/traffic_test.cap -n 0 -r 1 
Sending packets on dna0
###################################################
# ERROR: You do not seem to have a valid DNA license for dna0.
# ERROR: Please get one at http://shop.ntop.org/.
###################################################
# We're now working in demo mode with packet capture
# and transmission limited to 5 minutes
###################################################
Using PF_RING v.5.2.1
Estimated CPU freq: 3693248000 Hz
Number of 64-byte Packet Per Second at 1.00 Gbit/s: 1488095.24
Read 5 packets from pcap file /home/fmayo/traffic_test.cap
TX rate: [current 1'463'372.07 pps/1.24 Gbps][average 1'463'372.07 pps/1.24 
Gbps][total 1'463'375.00 pkts]
TX rate: [current 1'402'045.15 pps/1.19 Gbps][average 1'432'708.30 pps/1.21 
Gbps][total 2'865'451.00 pkts]
.....

root@trafficgen:/proc/net/pf_ring/dev/dna0# cat /proc/net/pf_ring/dev/dna0/info 
Name:              dna0
Index:             10
Address:           00:12:C0:80:15:3E
Polling Mode:      DNA
Type:              Ethernet
Family:            Intel ixgbe 82599
Max # TX Queues:   72
# Used RX Queues:  1


Thanks!
Best regards
Fernando Mayo
                                          
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to