{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/PF_RING/issues/146","repository_url":"https://api.github.com/repos/ntop/PF_RING","labels_url":"https://api.github.com/repos/ntop/PF_RING/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/ntop/PF_RING/issues/146/comments","events_url":"https://api.github.com/repos/ntop/PF_RING/issues/146/events","html_url":"https://github.com/ntop/PF_RING/issues/146","id":185314848,"number":146,"title":"pfring_zc and ntopng packet loss ","user":{"login":"papage","id":6276532,"avatar_url":"https://avatars.githubusercontent.com/u/6276532?v=3","gravatar_id":"","url":"https://api.github.com/users/papage","html_url":"https://github.com/papage","followers_url":"https://api.github.com/users/papage/followers","following_url":"https://api.github.com/users/papage/following{/other_user}","gists_url":"https://api.github.com/users/papage/gists{/gist_id}","starred_url":"https://api.github.com/users/papage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papage/subscriptions","organizations_url":"https://api.github.com/users/papage/orgs","repos_url":"https://api.github.com/users/papage/repos","events_url":"https://api.github.com/users/papage/events{/privacy}","received_events_url":"https://api.github.com/users/papage/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"simonemainardi","id":3397663,"avatar_url":"https://avatars.githubusercontent.com/u/3397663?v=3","gravatar_id":"","url":"https://api.github.com/users/simonemainardi","html_url":"https://github.com/simonemainardi","followers_url":"https://api.github.com/users/simonemainardi/followers","following_url":"https://api.github.com/users/simonemainardi/following{/other_user}","gists_url":"https://api.github.com/users/simonemainardi/gists{/gist_id}","starred_url":"https://api.github.com/users/simonemainardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonemainardi/subscriptions","organizations_url":"https://api.github.com/users/simonemainardi/orgs","repos_url":"https://api.github.com/users/simonemainardi/repos","events_url":"https://api.github.com/users/simonemainardi/events{/privacy}","received_events_url":"https://api.github.com/users/simonemainardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"simonemainardi","id":3397663,"avatar_url":"https://avatars.githubusercontent.com/u/3397663?v=3","gravatar_id":"","url":"https://api.github.com/users/simonemainardi","html_url":"https://github.com/simonemainardi","followers_url":"https://api.github.com/users/simonemainardi/followers","following_url":"https://api.github.com/users/simonemainardi/following{/other_user}","gists_url":"https://api.github.com/users/simonemainardi/gists{/gist_id}","starred_url":"https://api.github.com/users/simonemainardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonemainardi/subscriptions","organizations_url":"https://api.github.com/users/simonemainardi/orgs","repos_url":"https://api.github.com/users/simonemainardi/repos","events_url":"https://api.github.com/users/simonemainardi/events{/privacy}","received_events_url":"https://api.github.com/users/simonemainardi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-26T07:18:53Z","updated_at":"2017-02-01T14:42:35Z","closed_at":"2017-02-01T14:42:35Z","body":"Hi all,\n\nI have a few problems getting ntopng to work without significant packet loss. \nMy setup is:\nCentos7 VM 4core/6GB RAM with a passed-through intel 10G 520 adapter.\n\nPFcount seems ok:\n/usr/local/bin/pfcount -i zc:ens160\n\nAbsolute Stats: [1'494'382 pkts total][0 pkts dropped][0.0% dropped]\n[1'494'382 pkts rcvd][1'140'440'217 bytes rcvd][498'086.65 pkt/sec][3'040.92 Mbit/sec]\n\nActual Stats: [382'705 pkts rcvd][1'000.06 ms][382'680.89 pps][2.33 Gbps]\n\nNTOPNG shows extreme packet loss. \nDropped Packets 46,507,909 Pkts [ 90.25 % ] \nActually is proccesses 60-70K pps when I have 400Kpps\n\nTop shows:\n  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND  \n 2771 nobody    20   0 2565496 1.422g   5976 S 204.3 18.6  10:09.36 ntopng  \n 1357 redis     20   0  146788   9960   1516 S  30.9  0.1   1:16.68 redis-server    \n\nIs that normal? How can I imporve its perfomance?\nI have tried to change RSS=4 and launch ntopng with zc:ens160@0-3 but it did not improve.\n\nThanx,\nsp\n\nSetup details: \n# ethtool -g ens160\n\nRing parameters for ens160\nPre-set maximums:\nRX:             32768\nRX Mini:        0\nRX Jumbo:       0\nTX:             32768\nCurrent hardware settings:\nRX:             32768\nRX Mini:        0\nRX Jumbo:       0\nTX:             32768\n# cat /proc/net/pf_ring/dev/ens160/info\n\nName:         ens160\nIndex:        4\nAddress:      90:E2:BA:5C:BB:9D\nPolling Mode: NAPI/ZC\nType:         Ethernet\nFamily:       Intel ixgbe 82599\nTX Queues:    1\nRX Queues:    1\nNum RX Slots: 32768\nNum TX Slots: 32768\n# cat /proc/interrupts | grep ens160\n\n 63:         25      34405          0          0          0          0   PCI-MSI-edge      ens160-TxRx-0\n 64:          3          0          0          0          0          0   PCI-MSI-edge      ens160\n# cat /etc/pf_ring/zc/ixgbe/ixgbe.conf\n\nRSS=1\n# cat /etc/pf_ring/zc/ixgbe/ixgbe.start\n# \n# cat /etc/ntopng/ntopng.conf\n\n-G=/var/run/ntopng.pid\n--interface=zc:ens160\n--local-networks=\"yyy.xxx.0.0/16\"\n--data-dir=/var/ntopng\n--dns-mode=1\n--disable-autologout\n-x 512000\n-g -1\n"},"comment":{"url":"https://api.github.com/repos/ntop/PF_RING/issues/comments/276674287","html_url":"https://github.com/ntop/PF_RING/issues/146#issuecomment-276674287","issue_url":"https://api.github.com/repos/ntop/PF_RING/issues/146","id":276674287,"user":{"login":"cardigliano","id":7548711,"avatar_url":"https://avatars.githubusercontent.com/u/7548711?v=3","gravatar_id":"","url":"https://api.github.com/users/cardigliano","html_url":"https://github.com/cardigliano","followers_url":"https://api.github.com/users/cardigliano/followers","following_url":"https://api.github.com/users/cardigliano/following{/other_user}","gists_url":"https://api.github.com/users/cardigliano/gists{/gist_id}","starred_url":"https://api.github.com/users/cardigliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardigliano/subscriptions","organizations_url":"https://api.github.com/users/cardigliano/orgs","repos_url":"https://api.github.com/users/cardigliano/repos","events_url":"https://api.github.com/users/cardigliano/events{/privacy}","received_events_url":"https://api.github.com/users/cardigliano/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T14:42:35Z","updated_at":"2017-02-01T14:42:35Z","body":"Any update on this?\r\nAs of hugepages, /mnt/huge has been changed to /dev/hugepages, which is the default on most OSs now (taht was causing your issue)\r\nPlease reopen if necessary."}}
{"actor":{"display_login":"cardigliano"}}