{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3155","repository_url":"https://api.github.com/repos/ipfs/go-ipfs","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3155/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3155/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3155/events","html_url":"https://github.com/ipfs/go-ipfs/issues/3155","id":174101236,"number":3155,"title":"Increasing network packet size","user":{"login":"Kubuxu","id":2259282,"avatar_url":"https://avatars.githubusercontent.com/u/2259282?v=3","gravatar_id":"","url":"https://api.github.com/users/Kubuxu","html_url":"https://github.com/Kubuxu","followers_url":"https://api.github.com/users/Kubuxu/followers","following_url":"https://api.github.com/users/Kubuxu/following{/other_user}","gists_url":"https://api.github.com/users/Kubuxu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubuxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubuxu/subscriptions","organizations_url":"https://api.github.com/users/Kubuxu/orgs","repos_url":"https://api.github.com/users/Kubuxu/repos","events_url":"https://api.github.com/users/Kubuxu/events{/privacy}","received_events_url":"https://api.github.com/users/Kubuxu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/enhancement","name":"enhancement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-30T19:14:59Z","updated_at":"2016-08-30T20:41:27Z","closed_at":null,"body":"Small packets are wasteful, Eth+IP+TCP is 66 bytes so everything smaller than that has more than 50% transfer overhead.\r\n\r\nThis was greatly improved by recent changes (we used send length in separate packet on few levels, which caused the number of packets to grow geometrically).\r\n\r\nI would like to use this issue to show improvements that were made and also to set higher and higher aim.\r\n\r\nVersion 0.4.3-rc1: \r\nMean 110, Median 44\r\n![sizes_full](https://cloud.githubusercontent.com/assets/2259282/17588685/e0a458f0-5fd0-11e6-90ac-ee048b206c10.png)\r\n![sizes_200](https://cloud.githubusercontent.com/assets/2259282/17588684/e09ea16c-5fd0-11e6-86b7-4a827131bc03.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/243573746","html_url":"https://github.com/ipfs/go-ipfs/issues/3155#issuecomment-243573746","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/3155","id":243573746,"user":{"login":"Kubuxu","id":2259282,"avatar_url":"https://avatars.githubusercontent.com/u/2259282?v=3","gravatar_id":"","url":"https://api.github.com/users/Kubuxu","html_url":"https://github.com/Kubuxu","followers_url":"https://api.github.com/users/Kubuxu/followers","following_url":"https://api.github.com/users/Kubuxu/following{/other_user}","gists_url":"https://api.github.com/users/Kubuxu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubuxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubuxu/subscriptions","organizations_url":"https://api.github.com/users/Kubuxu/orgs","repos_url":"https://api.github.com/users/Kubuxu/repos","events_url":"https://api.github.com/users/Kubuxu/events{/privacy}","received_events_url":"https://api.github.com/users/Kubuxu/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T20:41:27Z","updated_at":"2016-08-30T20:41:27Z","body":"I think I found it: the 12 bytes frames we see are yamux frames: https://github.com/hashicorp/yamux/blob/master/spec.md . They are used for creation destruction of streams.\r\n\r\nWe already worked on decreasing their overhead by reusing DHT streams, but this change requires both sides to to support it, it was introduced in 0.4.3-rc1 and after official 0.4.3 release we might be seeing reduced number of 12 bytes frames."}}
{"actor":{"display_login":"Kubuxu"}}