{"action":"created","issue":{"url":"https://api.github.com/repos/leo-project/leo_erasure/issues/1","labels_url":"https://api.github.com/repos/leo-project/leo_erasure/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/leo-project/leo_erasure/issues/1/comments","events_url":"https://api.github.com/repos/leo-project/leo_erasure/issues/1/events","html_url":"https://github.com/leo-project/leo_erasure/pull/1","id":127366165,"number":1,"title":"[Backend] Utilizes no_alloc variant of JErasure to avoid heap allocation","user":{"login":"windkit","id":360884,"avatar_url":"https://avatars.githubusercontent.com/u/360884?v=3","gravatar_id":"","url":"https://api.github.com/users/windkit","html_url":"https://github.com/windkit","followers_url":"https://api.github.com/users/windkit/followers","following_url":"https://api.github.com/users/windkit/following{/other_user}","gists_url":"https://api.github.com/users/windkit/gists{/gist_id}","starred_url":"https://api.github.com/users/windkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windkit/subscriptions","organizations_url":"https://api.github.com/users/windkit/orgs","repos_url":"https://api.github.com/users/windkit/repos","events_url":"https://api.github.com/users/windkit/events{/privacy}","received_events_url":"https://api.github.com/users/windkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-01-19T04:59:29Z","updated_at":"2016-02-01T00:04:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/leo-project/leo_erasure/pulls/1","html_url":"https://github.com/leo-project/leo_erasure/pull/1","diff_url":"https://github.com/leo-project/leo_erasure/pull/1.diff","patch_url":"https://github.com/leo-project/leo_erasure/pull/1.patch"},"body":"### Description\r\nJErasure Library uses lots of heap allocation for temporary structure.\r\nThe large number of small allocation/deallocation may have performance impact.\r\nWhen used in NIF, some memory issue is encountered (Random Segmentation Fault)\r\n\r\n### Purposed Solution\r\nAdded a separate code path which avoid memory allocation (structures are allocated by caller beforehand), putting temporary structure in stack.\r\n\r\n### Related Issue\r\nhttps://github.com/leo-project/leofs/issues/440\r\n\r\n### Relate PR\r\nhttps://github.com/leo-project/jerasure/pull/3\r\nhttps://github.com/leo-project/jerasure/pull/4\r\nhttps://github.com/leo-project/leo_erasure/pull/1"},"comment":{"url":"https://api.github.com/repos/leo-project/leo_erasure/issues/comments/177664252","html_url":"https://github.com/leo-project/leo_erasure/pull/1#issuecomment-177664252","issue_url":"https://api.github.com/repos/leo-project/leo_erasure/issues/1","id":177664252,"user":{"login":"windkit","id":360884,"avatar_url":"https://avatars.githubusercontent.com/u/360884?v=3","gravatar_id":"","url":"https://api.github.com/users/windkit","html_url":"https://github.com/windkit","followers_url":"https://api.github.com/users/windkit/followers","following_url":"https://api.github.com/users/windkit/following{/other_user}","gists_url":"https://api.github.com/users/windkit/gists{/gist_id}","starred_url":"https://api.github.com/users/windkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windkit/subscriptions","organizations_url":"https://api.github.com/users/windkit/orgs","repos_url":"https://api.github.com/users/windkit/repos","events_url":"https://api.github.com/users/windkit/events{/privacy}","received_events_url":"https://api.github.com/users/windkit/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T00:04:50Z","updated_at":"2016-02-01T00:04:50Z","body":"@mocchira Benchmark Result could be found at\r\nhttps://github.com/leo-project/notes/tree/master/leofs/benchmark/libs/leo_erasure/20160129_1m_allcode_k10m4_t32_mix_6hr"}}