-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PF_RING ZC do not clean hugemem pages after ZC enabled application shutdown #6
Comments
Hi Pavel Thank you
|
Yep, i reproduce this case with zcount fe second ago. root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@2 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [Intel 10 Gbit ixgbe 82599-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
=========================
Absolute Stats: 0 pkts (0 drops) - 0 bytes
=========================
=========================
Absolute Stats: 0 pkts (0 drops) - 0 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps
=========================
=========================
Absolute Stats: 0 pkts (0 drops) - 0 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps
=========================
^CLeaving...
=========================
Absolute Stats: 0 pkts (0 drops) - 0 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps
=========================
=========================
Absolute Stats: 0 pkts (0 drops) - 0 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps
=========================
^CLeaving...
^CLeaving...
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@1 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [Intel 10 Gbit ixgbe 82599-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
=========================
Absolute Stats: 2'370'780 pkts (0 drops) - 199'145'520 bytes
=========================
=========================
Absolute Stats: 4'745'368 pkts (0 drops) - 398'610'912 bytes
Actual Stats: 2'374'227.11 pps (0.00 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 7'116'704 pkts (0 drops) - 597'803'136 bytes
Actual Stats: 2'371'089.40 pps (0.00 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 9'489'852 pkts (0 drops) - 797'147'568 bytes
Actual Stats: 2'372'872.74 pps (0.00 drops) - 1.59 Gbps
=========================
^CLeaving...
=========================
Absolute Stats: 11'517'640 pkts (0 drops) - 967'481'760 bytes
Actual Stats: 2'371'781.73 pps (0.00 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 11'517'641 pkts (0 drops) - 967'481'844 bytes
Actual Stats: 62'500.00 pps (0.00 drops) - 0.04 Gbps
=========================
^CLeaving...
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@2 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [Intel 10 Gbit ixgbe 82599-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
=========================
Absolute Stats: 2'381'256 pkts (0 drops) - 200'025'504 bytes
=========================
=========================
Absolute Stats: 4'754'592 pkts (0 drops) - 399'385'728 bytes
Actual Stats: 2'373'086.82 pps (0.00 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 7'126'652 pkts (0 drops) - 598'638'768 bytes
Actual Stats: 2'371'870.25 pps (0.00 drops) - 1.59 Gbps
=========================
^CLeaving...
=========================
Absolute Stats: 8'667'592 pkts (0 drops) - 728'077'728 bytes
Actual Stats: 2'369'466.67 pps (0.00 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 8'667'592 pkts (0 drops) - 728'077'728 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps
=========================
^CLeaving...
^CLeaving...
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@0 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [Intel 10 Gbit ixgbe 82599-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
=========================
Absolute Stats: 2'370'696 pkts (5'348'212 drops) - 199'138'464 bytes
=========================
=========================
Absolute Stats: 4'742'924 pkts (10'688'623 drops) - 398'405'616 bytes
Actual Stats: 2'371'962.34 pps (5'339'812.94 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 7'116'964 pkts (16'018'883 drops) - 597'824'976 bytes
Actual Stats: 2'373'695.81 pps (5'329'487.22 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 9'487'084 pkts (21'368'921 drops) - 796'915'056 bytes
Actual Stats: 2'369'811.92 pps (5'349'342.58 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 11'858'116 pkts (26'717'768 drops) - 996'081'744 bytes
Actual Stats: 2'370'702.47 pps (5'348'103.61 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 14'230'480 pkts (32'059'533 drops) - 1'195'360'320 bytes
Actual Stats: 2'372'133.90 pps (5'341'246.89 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 16'602'880 pkts (37'401'897 drops) - 1'394'641'920 bytes
Actual Stats: 2'372'141.43 pps (5'341'781.74 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 18'973'004 pkts (42'752'587 drops) - 1'593'732'336 bytes
Actual Stats: 2'369'837.24 pps (5'350'042.64 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 21'343'800 pkts (48'100'937 drops) - 1'792'879'200 bytes
Actual Stats: 2'370'549.46 pps (5'347'793.82 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 23'755'804 pkts (53'284'186 drops) - 1'995'487'536 bytes
Actual Stats: 2'411'779.70 pps (5'182'767.00 drops) - 1.62 Gbps
=========================
=========================
Absolute Stats: 26'127'580 pkts (58'631'490 drops) - 2'194'716'720 bytes
Actual Stats: 2'371'557.81 pps (5'346'812.09 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 28'498'648 pkts (63'978'495 drops) - 2'393'886'432 bytes
Actual Stats: 2'370'785.87 pps (5'346'368.78 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 30'869'768 pkts (69'327'999 drops) - 2'593'060'512 bytes
Actual Stats: 2'370'871.05 pps (5'348'942.36 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 33'240'920 pkts (74'672'003 drops) - 2'792'237'280 bytes
Actual Stats: 2'370'891.20 pps (5'343'416.22 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 35'612'233 pkts (80'017'726 drops) - 2'991'427'572 bytes
Actual Stats: 2'371'085.37 pps (5'345'209.85 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 37'983'608 pkts (85'364'092 drops) - 3'190'623'072 bytes
Actual Stats: 2'370'983.78 pps (5'345'483.99 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 40'355'132 pkts (90'704'845 drops) - 3'389'831'088 bytes
Actual Stats: 2'371'258.41 pps (5'340'154.90 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 42'728'120 pkts (96'045'019 drops) - 3'589'162'080 bytes
Actual Stats: 2'372'703.27 pps (5'339'533.25 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 45'102'140 pkts (101'376'946 drops) - 3'788'579'760 bytes
Actual Stats: 2'373'682.93 pps (5'331'169.97 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 47'477'812 pkts (106'704'849 drops) - 3'988'136'208 bytes
Actual Stats: 2'375'389.32 pps (5'327'269.05 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 49'853'141 pkts (112'032'805 drops) - 4'187'663'844 bytes
Actual Stats: 2'375'110.48 pps (5'327'465.87 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 52'228'236 pkts (117'362'620 drops) - 4'387'171'824 bytes
Actual Stats: 2'374'779.15 pps (5'329'106.22 drops) - 1.60 Gbps
=========================
^CLeaving...
=========================
Absolute Stats: 54'526'276 pkts (122'533'083 drops) - 4'580'207'184 bytes
Actual Stats: 2'372'640.56 pps (5'338'310.14 drops) - 1.59 Gbps
=========================
=========================
Absolute Stats: 54'526'276 pkts (122'533'162 drops) - 4'580'207'184 bytes
Actual Stats: 0.00 pps (4'937'500.00 drops) - 0.00 Gbps
=========================
^CLeaving...
^CLeaving...
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@5 -c 0
pfring_zc_open_device error [Socket operation on non-socket] Please check that zc:eth4@5 is up and not already used
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@0 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
*** error retrieving hugepages info ***
pfring_zc_create_cluster error [No buffer space available] Please check that pf_ring.ko is loaded and hugetlb fs is mounted
root@fastnetmon /usr/src/PF_RING/userland/examples_zc #
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ls^C
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # rm -f /dev/hugepages/pfring_zc_0
root@fastnetmon /usr/src/PF_RING/userland/examples_zc # ./zcount -i zc:eth4@0 -c 0
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [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
#########################################################################
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150325 for eth4 [Intel 10 Gbit ixgbe 82599-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
=========================
Absolute Stats: 2'375'120 pkts (5'333'772 drops) - 199'510'080 bytes
=========================
^CLeaving...
=========================
Absolute Stats: 4'297'624 pkts (9'655'541 drops) - 361'000'416 bytes
Actual Stats: 2'373'537.91 pps (5'335'688.55 drops) - 1.60 Gbps
=========================
=========================
Absolute Stats: 4'297'625 pkts (9'655'750 drops) - 361'000'500 bytes
Actual Stats: 22'222.22 pps (4'644'444.44 drops) - 0.01 Gbps
=========================
|
Hi Pavel Alfredo
|
Hello, folks!
PF_RING ZC do not clean hugemem pages after ZC enabled application shutdown.
First run:
Second run, error:
Memory:
Remove wasted file:
And run again - success:
The text was updated successfully, but these errors were encountered: