{"action":"opened","issue":{"url":"https://api.github.com/repos/emmericp/MoonGen/issues/59","labels_url":"https://api.github.com/repos/emmericp/MoonGen/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/emmericp/MoonGen/issues/59/comments","events_url":"https://api.github.com/repos/emmericp/MoonGen/issues/59/events","html_url":"https://github.com/emmericp/MoonGen/issues/59","id":69591066,"number":59,"title":"Performance degradation, can't achieve more than 12.75 mpps","user":{"login":"pavel-odintsov","id":2744166,"avatar_url":"https://avatars.githubusercontent.com/u/2744166?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-odintsov","html_url":"https://github.com/pavel-odintsov","followers_url":"https://api.github.com/users/pavel-odintsov/followers","following_url":"https://api.github.com/users/pavel-odintsov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-odintsov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-odintsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-odintsov/subscriptions","organizations_url":"https://api.github.com/users/pavel-odintsov/orgs","repos_url":"https://api.github.com/users/pavel-odintsov/repos","events_url":"https://api.github.com/users/pavel-odintsov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-odintsov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T13:49:24Z","updated_at":"2015-04-20T13:49:24Z","closed_at":null,"body":"Hello, Paul!\r\n\r\nI tested your toolkit and found it awesome! :) Nice work!\r\n\r\nBut I can't achieve speed more than 12.75 mpps with syn flood generation on ixgbe card:\r\n```bash\r\nbuild/MoonGen examples/l3-tcp-syn-flood.lua 5 10.0.0.1 16000000 10000\r\n```\r\n\r\nOutput here:\r\n```bash\r\nSent 465553792 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\nSent 466829312 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.01 MBit/s wire rate\r\nSent 468104832 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\nSent 469380352 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\nSent 470655872 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\nSent 471931392 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\nSent 473206912 packets, current rate 12.75 Mpps, 6530.30 MBit/s, 8571.02 MBit/s wire rate\r\n```\r\n\r\nFrom receiving side (builded with netmap) numbers are same:\r\n```bash\r\n319.001576 main_thread [1448] 12177834 pps (12190292 pkts in 1001023 usec)\r\n320.002597 main_thread [1448] 12176882 pps (12189315 pkts in 1001021 usec)\r\n321.003613 main_thread [1448] 12175354 pps (12187724 pkts in 1001016 usec)\r\n322.004634 main_thread [1448] 12187307 pps (12199738 pkts in 1001020 usec)\r\n323.005654 main_thread [1448] 12175676 pps (12188107 pkts in 1001021 usec)\r\n324.006671 main_thread [1448] 12181778 pps (12194167 pkts in 1001017 usec)\r\n325.007688 main_thread [1448] 12171620 pps (12183999 pkts in 1001017 usec)\r\n```\r\n\r\nperf top snapshot:\r\n```bash\r\nSamples: 277K of event 'cycles', Event count (approx.): 21570454368\r\n  55.60%  MoonGen                  [.] ixgbe_xmit_pkts\r\n  16.91%  MoonGen                  [.] alloc_mbuf\r\n   9.48%  MoonGen                  [.] rte_delay_us\r\n   5.52%  MoonGen                  [.] calc_ipv4_pseudo_header_checksums\r\n   1.15%  MoonGen                  [.] send_all_packets\r\n```\r\n\r\nhtop:\r\n```bash\r\n 1  [                                                                0.0%]     Tasks: 27, 62 thr, 59 kthr; 2 running\r\n  2  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]     Load average: 0.11 0.21 0.41 \r\n  3  [|                                                               0.5%]     Uptime: 3 days, 05:50:08\r\n  4  [                                                                0.0%]\r\n  Mem[||||||                                                   694/32205MB]\r\n  Swp[                                                            0/8190MB]\r\n```\r\n\r\nI'm using Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz, DPDK 2.0.0. Could you help me?"}}