{"action":"created","issue":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/393","repository_url":"https://api.github.com/repos/luigirizzo/netmap","labels_url":"https://api.github.com/repos/luigirizzo/netmap/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/luigirizzo/netmap/issues/393/comments","events_url":"https://api.github.com/repos/luigirizzo/netmap/issues/393/events","html_url":"https://github.com/luigirizzo/netmap/issues/393","id":271698263,"number":393,"title":"Hypervisor kernel panic when ptnet VM sending big traffic with tso/gso enabled","user":{"login":"snowcherry","id":12002074,"avatar_url":"https://avatars3.githubusercontent.com/u/12002074?v=4","gravatar_id":"","url":"https://api.github.com/users/snowcherry","html_url":"https://github.com/snowcherry","followers_url":"https://api.github.com/users/snowcherry/followers","following_url":"https://api.github.com/users/snowcherry/following{/other_user}","gists_url":"https://api.github.com/users/snowcherry/gists{/gist_id}","starred_url":"https://api.github.com/users/snowcherry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowcherry/subscriptions","organizations_url":"https://api.github.com/users/snowcherry/orgs","repos_url":"https://api.github.com/users/snowcherry/repos","events_url":"https://api.github.com/users/snowcherry/events{/privacy}","received_events_url":"https://api.github.com/users/snowcherry/received_events","type":"User","site_admin":false},"labels":[{"id":193720614,"url":"https://api.github.com/repos/luigirizzo/netmap/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"vmaffione","id":4920001,"avatar_url":"https://avatars1.githubusercontent.com/u/4920001?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaffione","html_url":"https://github.com/vmaffione","followers_url":"https://api.github.com/users/vmaffione/followers","following_url":"https://api.github.com/users/vmaffione/following{/other_user}","gists_url":"https://api.github.com/users/vmaffione/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaffione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaffione/subscriptions","organizations_url":"https://api.github.com/users/vmaffione/orgs","repos_url":"https://api.github.com/users/vmaffione/repos","events_url":"https://api.github.com/users/vmaffione/events{/privacy}","received_events_url":"https://api.github.com/users/vmaffione/received_events","type":"User","site_admin":false},"assignees":[{"login":"vmaffione","id":4920001,"avatar_url":"https://avatars1.githubusercontent.com/u/4920001?v=4","gravatar_id":"","url":"https://api.github.com/users/vmaffione","html_url":"https://github.com/vmaffione","followers_url":"https://api.github.com/users/vmaffione/followers","following_url":"https://api.github.com/users/vmaffione/following{/other_user}","gists_url":"https://api.github.com/users/vmaffione/gists{/gist_id}","starred_url":"https://api.github.com/users/vmaffione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmaffione/subscriptions","organizations_url":"https://api.github.com/users/vmaffione/orgs","repos_url":"https://api.github.com/users/vmaffione/repos","events_url":"https://api.github.com/users/vmaffione/events{/privacy}","received_events_url":"https://api.github.com/users/vmaffione/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2017-11-07T03:26:14Z","updated_at":"2017-12-15T08:59:55Z","closed_at":"2017-12-06T11:16:41Z","author_association":"NONE","body":"As mentioned in issue #387, the commands to reproduce are:\r\n   ```\r\nHypervisor A:\r\n1. qemu-system-x86_64 xenial.img -enable-kvm -smp 4 -m 4G -vga std -device ptnet-pci,netdev=data10,mac=00:AA:BB:CC:0a:06 -netdev netmap,ifname=vale1:10,id=data10,passthrough=on -vnc 0.0.0.0:1,password -monitor stdio\r\n2. vale-ctl -a vale1:eth0 # with promisc and all offload disabled\r\n3. In side of VM:   \r\nnetmao.ko is loaded with default ptnet_vnet_hdr=1\r\niperf -c 172.10.10.5 -P 2 -i 3 -t 60    # eth0 IP: 172.10.10.20 \r\n\r\nHypervisor B:\r\niperf -s  # eth0 IP: 172.10.10.5\r\n   ```\r\nThe first feeling is the transmitting is very slow but indeed it is a kernel panic because hypervisor is dead soon. The attachment is the screenshot but unfortunately I can only get this last screen, the callstack is incomplete, just hope it can help.\r\n\r\n![issue](https://user-images.githubusercontent.com/12002074/32474025-5c7dc6da-c3a5-11e7-9404-95098da8918a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/comments/351950680","html_url":"https://github.com/luigirizzo/netmap/issues/393#issuecomment-351950680","issue_url":"https://api.github.com/repos/luigirizzo/netmap/issues/393","id":351950680,"user":{"login":"snowcherry","id":12002074,"avatar_url":"https://avatars3.githubusercontent.com/u/12002074?v=4","gravatar_id":"","url":"https://api.github.com/users/snowcherry","html_url":"https://github.com/snowcherry","followers_url":"https://api.github.com/users/snowcherry/followers","following_url":"https://api.github.com/users/snowcherry/following{/other_user}","gists_url":"https://api.github.com/users/snowcherry/gists{/gist_id}","starred_url":"https://api.github.com/users/snowcherry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowcherry/subscriptions","organizations_url":"https://api.github.com/users/snowcherry/orgs","repos_url":"https://api.github.com/users/snowcherry/repos","events_url":"https://api.github.com/users/snowcherry/events{/privacy}","received_events_url":"https://api.github.com/users/snowcherry/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T08:59:55Z","updated_at":"2017-12-15T08:59:55Z","author_association":"NONE","body":"Now the traffic is actually very fast, but I found it way faster with ptnet_vnet_hdr=1 even when cross machines, what is the magic there? I remember you mentioned with ptnet_vnet_hdr=1, the offload is a slow path, but from what I am testing with my clan vxlan termination program across hypervisors, perf does really fast even with -M 100, it appears the vale port doesn't more than a tap device."}}
{"actor":{"display_login":"snowcherry"}}