Hi Alfredo

We didn’t realize that we have to follow the mentioned guide. ;-)
I had to do a forcestart, but now it works! Great!

Also we didn’t realize we need a “PF_RING ZC license”.
Of course we will buy one…

Thanks for your support!
Have a good day.

Regards,
Marcel


[root@myhost]# ethtool -i eno1 | grep driver
driver: ixgbe

[root@myhost]# echo "RSS=1,1" > /etc/pf_ring/zc/ixgbe/ixgbe.conf
[root@myhost]# touch /etc/pf_ring/zc/ixgbe/ixgbe.start
[root@myhost]# touch /etc/pf_ring/pf_ring.conf
[root@myhost]# touch /etc/pf_ring/pf_ring.start
[root@myhost]# echo "node=0 hugepagenumber=1024" > /etc/pf_ring/hugepages.conf

[root@myhost]# /etc/init.d/pf_ring start
Starting pf_ring (via systemctl):                          [  OK  ]

[root@myhost]# cat /proc/net/pf_ring/dev/eno1/info | grep ZC
[root@myhost]#

[root@myhost]# /etc/init.d/pf_ring status
The following drivers has not been loaded: ixgbe_zc
pf_ring Loaded

[root@myhost]# touch /etc/pf_ring/forcestart
[root@myhost]# /etc/init.d/pf_ring restart
Restarting pf_ring (via systemctl):                        [  OK  ]

[root@myhost]# /etc/init.d/pf_ring status
Drivers Loaded
pf_ring Loaded

[root@myhost]# cat /proc/net/pf_ring/dev/eno1/info | grep ZC
Polling Mode: NAPI/ZC
[root@myhost]# cat /proc/net/pf_ring/dev/eno2/info | grep ZC
Polling Mode: NAPI/ZC

[root@myhost]# pfsend -i zc:eno1 -n 0
Sending packets on zc:eno1
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.5.0.170303 for 
eno1 [Intel 10 Gbit ixgbe 82599-based]
# 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.6.5.0
Dumping statistics on /proc/net/pf_ring/stats/65481-eno1.2
TX rate: [current 12'801'078.38 pps/8.60 Gbps][average 12'801'078.38 pps/8.60 
Gbps][total 12'801'232.00 pkts]
TX rate: [current 14'250'492.72 pps/9.58 Gbps][average 13'525'800.41 pps/9.09 
Gbps][total 27'052'480.00 pkts]
TX rate: [current 14'037'856.90 pps/9.43 Gbps][average 13'696'485.51 pps/9.20 
Gbps][total 41'090'744.00 pkts]
TX rate: [current 14'180'984.39 pps/9.53 Gbps][average 13'817'611.20 pps/9.29 
Gbps][total 55'272'324.00 pkts]
TX rate: [current 14'184'381.39 pps/9.53 Gbps][average 13'890'964.71 pps/9.33 
Gbps][total 69'457'060.00 pkts]
TX rate: [current 14'186'540.77 pps/9.53 Gbps][average 13'940'227.21 pps/9.37 
Gbps][total 83'643'998.00 pkts]
TX rate: [current 14'194'301.33 pps/9.54 Gbps][average 13'976'523.28 pps/9.39 
Gbps][total 97'838'640.00 pkts]
TX rate: [current 14'195'033.90 pps/9.54 Gbps][average 14'003'836.88 pps/9.41 
Gbps][total 112'033'972.00 pkts]
TX rate: [current 14'182'567.94 pps/9.53 Gbps][average 14'017'274.59 pps/9.42 
Gbps][total 121'258'144.00 pkts]
Sent 121258144 packets
[root@myhost]#



Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Alfredo 
Cardigliano
Gesendet: Donnerstag, 18. Mai 2017 10:40
An: [email protected]
Betreff: Re: [Ntop-misc] n2disk/disk2n: Problem with PF_RING ZC

Hi Marcel
it seems you did not load the ZC driver (you should see "NAPI/ZC" in “Polling 
Mode”),
did you follow this guide 
https://github.com/ntop/PF_RING/blob/dev/doc/README.apt_rpm_packages.md ?

Alfredo

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to