Good morning.
Additional info:
Licensed products: n2disk10g, disk2n
Operating System: CentOS Linux release 7.2.1511 (Core)
We installed all here listed RPMs using sudo yum install :
cento-1.3.170308-182.x86_64.rpm
e1000e-zc-3.2.7.1.1152-dkms.noarch.rpm
fm10k-zc-0.20.1.1152-dkms.noarch.rpm
i40e-zc-1.5.18.1152-1dkms.noarch.rpm
igb-zc-5.3.3.5.1152-dkms.noarch.rpm
ixgbe-zc-4.1.5.1152-dkms.noarch.rpm
n2disk-2.7.170308-4774.x86_64.rpm
nbox-2.5.0-553.noarch.rpm
nprobe-7.5.170309-5677.x86_64.rpm
nprobe-7.5.170309-5678.x86_64.rpm
nscrub-0.99.170308-551.x86_64.rpm
ntopng-2.5.170309-2379.x86_64.rpm
ntopng-data-2.5.170308-2377.noarch.rpm
pfring-6.5.0-1152.x86_64.rpm
pfring-dkms-6.5.0-1152.noarch.rpm
pfring-drivers-zc-dkms-1.2-0.noarch.rpm
Hope that helps...
Best regards,
Marcel
Von: [email protected]
[mailto:[email protected]]
Gesendet: Mittwoch, 17. Mai 2017 16:18
An: [email protected]
Betreff: [Ntop-misc] n2disk/disk2n: Problem with PF_RING ZC
Hello.
I want to maximize the performance for n2disk/disk2n and use PF_RING ZC.
PF_RING only is working as expected, but this doesn't:
[root@myhost]# pfcount -i zc:eno1
pfring_open error [No such device] (pf_ring not loaded or interface zc:eno1 is
down ?)
[root@myhost]# pfsend -i zc:eno1
Sending packets on zc:eno1
pfring_open error [No such device] (pf_ring not loaded or interface zc:eno1 is
down ?)
[root@myhost]# /usr/local/bin/n2disk10g -i zc:eno1 -o /tmp
17/May/2017 15:51:30 [n2disk.c:5013] Welcome to n2disk10g v.2.7.170308 (r4774)
[Haswell]
17/May/2017 15:51:30 [n2disk.c:5040] Running on 2 node(s) system with 32
core(s). NUMA affinity set to node -1.
17/May/2017 15:51:30 [n2disk.c:5081] Using PF_RING for packet capture
17/May/2017 15:51:30 [n2disk.c:5110] Multithread support enabled
17/May/2017 15:51:30 [n2disk.c:5228] Dump files max size is set to 100 MB
17/May/2017 15:51:30 [n2disk.c:5245] Buffer memory is set to 200 MB (x 2 pcap
files)
17/May/2017 15:51:30 [n2disk.c:5280] Using directory /tmp for dump files
17/May/2017 15:51:30 [n2disk.c:5285] No sub-directories will be created
17/May/2017 15:51:30 [n2disk.c:5290] Up to 1000 files will be written before
overwriting
17/May/2017 15:51:30 [n2disk.c:5342] Dumping data in 0.1 MB chunks
17/May/2017 15:51:30 [n2disk.c:5582] Memory allocated successfully
17/May/2017 15:51:30 [n2disk.c:3525] Using packet timestamps from pf_ring
17/May/2017 15:51:30 [n2disk.c:3537] ERROR: Unable to open PF_RING device
zc:eno1 [globals.ro.snaplen=1536]
17/May/2017 15:51:30 [n2disk.c:918] Caught termination signal -1...
17/May/2017 15:51:30 [n2disk.c:5589] ERROR: Unable to initialize packet reader
17/May/2017 15:51:30 [n2disk.c:5590] ERROR: Has the pf_ring kernel module been
loaded ?
[root@myhost]#
The kernel modules seem to be loaded:
[root@myhost]# sudo lsmod | grep 'pf_ring\|ixgbe'
pf_ring 1229913 16
ixgbe 263239 0
mdio 13807 1 ixgbe
ptp 19231 2 igb,ixgbe
dca 15130 3 igb,ixgbe,ioatdma
The interface looks OK:
[root@myhost]# ethtool eno1
Settings for eno1:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
[root@myhost]# ethtool zc:eno1
Settings for zc:eno1:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
Environment:
Server: HPE ProLiant DL380
RAM: 64 GB
Network:
[root@myhost]# lspci | grep -i 'ethernet'
03:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)
0a:00.0 Ethernet controller: Intel Corporation 82580 Gigabit Network
Connection (rev 01)
0a:00.1 Ethernet controller: Intel Corporation 82580 Gigabit Network
Connection (rev 01)
0a:00.2 Ethernet controller: Intel Corporation 82580 Gigabit Network
Connection (rev 01)
0a:00.3 Ethernet controller: Intel Corporation 82580 Gigabit Network
Connection (rev 01)
What am I doing wrong?
Thanks for any help!
Regards,
Marcel
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc