{"action":"created","issue":{"url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/76","repository_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK","labels_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/76/comments","events_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/76/events","html_url":"https://github.com/pktgen/Pktgen-DPDK/issues/76","id":168602074,"number":76,"title":"Multiple Instances of Pktgen ","user":{"login":"churchillyik","id":691455,"avatar_url":"https://avatars.githubusercontent.com/u/691455?v=3","gravatar_id":"","url":"https://api.github.com/users/churchillyik","html_url":"https://github.com/churchillyik","followers_url":"https://api.github.com/users/churchillyik/followers","following_url":"https://api.github.com/users/churchillyik/following{/other_user}","gists_url":"https://api.github.com/users/churchillyik/gists{/gist_id}","starred_url":"https://api.github.com/users/churchillyik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/churchillyik/subscriptions","organizations_url":"https://api.github.com/users/churchillyik/orgs","repos_url":"https://api.github.com/users/churchillyik/repos","events_url":"https://api.github.com/users/churchillyik/events{/privacy}","received_events_url":"https://api.github.com/users/churchillyik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-01T09:19:32Z","updated_at":"2016-08-12T10:19:57Z","closed_at":null,"body":"The enviorment:\r\ncpu lcores:\r\nSocket   :    0      \r\n  Core   0 : [ 0, 4]   \r\n  Core   1 : [ 1, 5]   \r\n  Core   2 : [ 2, 6]   \r\n  Core   3 : [ 3, 7] \r\n\r\nports:\r\n`dpdk-2.2.0-rc1/tools/dpdk_nic_bind.py --status`\r\nNetwork devices using DPDK-compatible driver\r\n============================================\r\n0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio unused=\r\n0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio unused=\r\n\r\nI use 'test/my.lua' to setup a sequence of packets(each of them is 64k) to send, and start 2 instances of Pktgen as follows:\r\n`./app/app/x86_64-native-linuxapp-gcc/pktgen -c f -n 2 --proc-type auto --log-level 0 --socket-mem 512 --file-prefix pg1 -b 01:00.1 -- -T -P -m \"[1-2:3].0\" -f test/my.lua -l my2.log themes/black-yellow.theme`\r\n`./app/app/x86_64-native-linuxapp-gcc/pktgen -c f0 -n 2 --proc-type auto --log-level 0 --socket-mem 512 --file-prefix pg2 -b 01:00.0 -- -T -P -m \"[5-6:7].0\" -f test/my.lua -l my.log themes/black-yellow.theme`\r\n\r\nAnd these 2 Pktgens send packets to each other. But the RX of both sides can only get to about 10.5m rather then 14.88m. \r\n![ins1](http://img1.ph.126.net/peOKTXrE23sVMbl3XjGe8w==/6631610924444079649.png)\r\n![ins2](http://img2.ph.126.net/P6CfCi-a0686HObWlc3D-g==/6631706581955697899.png)\r\n\r\nHowever, if I abandon the RX of one instance like this:\r\n`./app/app/x86_64-native-linuxapp-gcc/pktgen -c f0 -n 2 --proc-type auto --log-level 0 --socket-mem 512 --file-prefix pg2 -b 01:00.0 -- -T -P -m \"[8:7].0\" -f test/my.lua -l my.log themes/black-yellow.theme`\r\nthen I got the RX 14.88m for one side:\r\n![ins3](http://img2.ph.126.net/nC08iAogJkv5ps1EV8VmWw==/6631770353630104430.png)\r\n![ins4](http://img1.ph.126.net/TV8t4BduQmiuwbEK-w43bA==/6631604327374310497.png)\r\n\r\nSo my question is how to get both RX to be 14.88m."},"comment":{"url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/comments/239412179","html_url":"https://github.com/pktgen/Pktgen-DPDK/issues/76#issuecomment-239412179","issue_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/76","id":239412179,"user":{"login":"churchillyik","id":691455,"avatar_url":"https://avatars.githubusercontent.com/u/691455?v=3","gravatar_id":"","url":"https://api.github.com/users/churchillyik","html_url":"https://github.com/churchillyik","followers_url":"https://api.github.com/users/churchillyik/followers","following_url":"https://api.github.com/users/churchillyik/following{/other_user}","gists_url":"https://api.github.com/users/churchillyik/gists{/gist_id}","starred_url":"https://api.github.com/users/churchillyik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/churchillyik/subscriptions","organizations_url":"https://api.github.com/users/churchillyik/orgs","repos_url":"https://api.github.com/users/churchillyik/repos","events_url":"https://api.github.com/users/churchillyik/events{/privacy}","received_events_url":"https://api.github.com/users/churchillyik/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T10:19:57Z","updated_at":"2016-08-12T10:19:57Z","body":"Not yet. I have another problem. Only one rx queue can receive packets even if I use the RSS"}}
{"actor":{"display_login":"churchillyik"}}