{"action":"created","issue":{"url":"https://api.github.com/repos/CasparCG/server/issues/920","repository_url":"https://api.github.com/repos/CasparCG/server","labels_url":"https://api.github.com/repos/CasparCG/server/issues/920/labels{/name}","comments_url":"https://api.github.com/repos/CasparCG/server/issues/920/comments","events_url":"https://api.github.com/repos/CasparCG/server/issues/920/events","html_url":"https://github.com/CasparCG/server/issues/920","id":304177013,"number":920,"title":"2.2.0 beta 1 performance","user":{"login":"jesperstarkar","id":6236874,"avatar_url":"https://avatars0.githubusercontent.com/u/6236874?v=4","gravatar_id":"","url":"https://api.github.com/users/jesperstarkar","html_url":"https://github.com/jesperstarkar","followers_url":"https://api.github.com/users/jesperstarkar/followers","following_url":"https://api.github.com/users/jesperstarkar/following{/other_user}","gists_url":"https://api.github.com/users/jesperstarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/jesperstarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesperstarkar/subscriptions","organizations_url":"https://api.github.com/users/jesperstarkar/orgs","repos_url":"https://api.github.com/users/jesperstarkar/repos","events_url":"https://api.github.com/users/jesperstarkar/events{/privacy}","received_events_url":"https://api.github.com/users/jesperstarkar/received_events","type":"User","site_admin":false},"labels":[{"id":716463587,"url":"https://api.github.com/repos/CasparCG/server/labels/enhancement","name":"enhancement","color":"5ebeff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/CasparCG/server/milestones/6","html_url":"https://github.com/CasparCG/server/milestone/6","labels_url":"https://api.github.com/repos/CasparCG/server/milestones/6/labels","id":3108718,"number":6,"title":"2.3.0","description":"","creator":{"login":"ronag","id":3065230,"avatar_url":"https://avatars3.githubusercontent.com/u/3065230?v=4","gravatar_id":"","url":"https://api.github.com/users/ronag","html_url":"https://github.com/ronag","followers_url":"https://api.github.com/users/ronag/followers","following_url":"https://api.github.com/users/ronag/following{/other_user}","gists_url":"https://api.github.com/users/ronag/gists{/gist_id}","starred_url":"https://api.github.com/users/ronag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronag/subscriptions","organizations_url":"https://api.github.com/users/ronag/orgs","repos_url":"https://api.github.com/users/ronag/repos","events_url":"https://api.github.com/users/ronag/events{/privacy}","received_events_url":"https://api.github.com/users/ronag/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":9,"state":"open","created_at":"2018-02-12T17:48:01Z","updated_at":"2018-03-11T17:50:12Z","due_on":"2018-03-15T07:00:00Z","closed_at":null},"comments":26,"created_at":"2018-03-11T17:33:09Z","updated_at":"2018-04-19T08:17:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Expected Behaviour\r\n- Better performance in Decklink producer playback.\r\n- Performance that at least matches 2.0.7 and 2.1.0 beta 2.\r\n- Near-linear growth of CPU, GPU and RAM consumption as load increases with new sources and layers.\r\n\r\n### Current Behaviour\r\n- 2-4x less performance in Decklink producer playback compared to 2.0.7 and 2.1.0 beta 2.\r\n- Exponential growth in resource consumption.\r\n- Unexpected crashes at some strange threshold when CPU/GPU maxes out.\r\n\r\n### Steps to Reproduce \r\n- 4 channels 1080i5000 with no consumers\r\n- 8 Decklink inputs available\r\n- Fire one command at the time, measure CPU and RAM (Windows Task Manager) and GPU load (GPU-z):\r\n```\r\nplay 1-0 decklink device 1 format 1080i5000\r\nplay 2-0 decklink device 2 format 1080i5000\r\nplay 3-0 decklink device 3 format 1080i5000\r\nplay 4-0 decklink device 4 format 1080i5000\r\nplay 1-1 decklink device 5 format 1080i5000\r\nplay 2-1 decklink device 6 format 1080i5000\r\nplay 3-1 decklink device 7 format 1080i5000\r\nplay 4-1 decklink device 8 format 1080i5000\r\n```\r\n\r\n### Environment\r\n* CasparCG Server version: 2.2.0 beta 1 vs 2.1.0 beta 2 vs 2.0.7 stable\r\n* Operating system: Windows 7\r\n\r\n### Attachments\r\n```\r\n2.2.0 beta 1\r\n\r\nIdle at 0% cpu and 0% gpu\r\n1 input 7% cpu and 34% gpu 3,25gb ram\r\n2 inputs 17% cpu and 36% gpu 3,53gb ram\r\n3 inputs 33% cpu and 56% gpu 3,72gb ram\r\n4 inputs 81% cpu and 93% gpu 4,06gb ram. Crashes after a few seconds.\r\n```\r\n\r\n```\r\n2.1.0 beta 2\r\n\r\nIdles at 3% cpu and 0% gpu 3,60gb ram\r\n\r\n1 input 3% cpu and 30% gpu 3,72gb ram\r\n2 inputs 4% cpu and 16% gpu 3,84gb ram\r\n3 inputs 5% cpu and 24% gpu 3,98gb ram\r\n4 inputs 5% cpu and 32% gpu 4,15gb ram\r\n5 inputs 6% cpu and 34% gpu 4,42gb ram\r\n6 inputs 7% cpu and 35% gpu 4,70gb ram\r\n7 inputs 9% cpu and 40% gpu 4,98gb ram\r\n8 inputs 9% cpu and 40% gpu 5,24gb ram\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CasparCG/server/issues/comments/382650652","html_url":"https://github.com/CasparCG/server/issues/920#issuecomment-382650652","issue_url":"https://api.github.com/repos/CasparCG/server/issues/920","id":382650652,"user":{"login":"seccpur","id":5178443,"avatar_url":"https://avatars2.githubusercontent.com/u/5178443?v=4","gravatar_id":"","url":"https://api.github.com/users/seccpur","html_url":"https://github.com/seccpur","followers_url":"https://api.github.com/users/seccpur/followers","following_url":"https://api.github.com/users/seccpur/following{/other_user}","gists_url":"https://api.github.com/users/seccpur/gists{/gist_id}","starred_url":"https://api.github.com/users/seccpur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seccpur/subscriptions","organizations_url":"https://api.github.com/users/seccpur/orgs","repos_url":"https://api.github.com/users/seccpur/repos","events_url":"https://api.github.com/users/seccpur/events{/privacy}","received_events_url":"https://api.github.com/users/seccpur/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T08:17:17Z","updated_at":"2018-04-19T08:17:17Z","author_association":"NONE","body":"@Julusian \r\nThanks for the detailed reply. I agree with std::async part, however by-passing graph codes ,whenever DIAG command is not used, will be helpful."}}
{"actor":{"display_login":"seccpur"}}