Hi Marcel
please provide “cat /proc/net/pf_ring/dev/eno1/info”

Alfredo

> On 17 May 2017, at 16:17, Lüthi Marcel FUB <[email protected]> wrote:
> 
> 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] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to