{"action":"created","issue":{"url":"https://api.github.com/repos/jhhung/PEAT/issues/19","labels_url":"https://api.github.com/repos/jhhung/PEAT/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jhhung/PEAT/issues/19/comments","events_url":"https://api.github.com/repos/jhhung/PEAT/issues/19/events","html_url":"https://github.com/jhhung/PEAT/issues/19","id":85833440,"number":19,"title":"PEAT always uses 2 cpus even with -n 1","user":{"login":"tseemann","id":453972,"avatar_url":"https://avatars.githubusercontent.com/u/453972?v=3","gravatar_id":"","url":"https://api.github.com/users/tseemann","html_url":"https://github.com/tseemann","followers_url":"https://api.github.com/users/tseemann/followers","following_url":"https://api.github.com/users/tseemann/following{/other_user}","gists_url":"https://api.github.com/users/tseemann/gists{/gist_id}","starred_url":"https://api.github.com/users/tseemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseemann/subscriptions","organizations_url":"https://api.github.com/users/tseemann/orgs","repos_url":"https://api.github.com/users/tseemann/repos","events_url":"https://api.github.com/users/tseemann/events{/privacy}","received_events_url":"https://api.github.com/users/tseemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-07T01:35:26Z","updated_at":"2015-06-29T12:40:12Z","closed_at":null,"body":"It always seems to use 2 threads (200% CPU) ?\r\nDo you have a main thread and a file reading thread ?\r\nIf I use -n 2 I get 300% CPU. I assume you use N+1 threads.\r\n\r\n```\r\n% PEAT paired -n 1 -1 R1.fq -2 R2.fq > /dev/null\r\n```\r\n\r\n```\r\n% top\r\n  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND\r\n 43455 tseemann  20   0  207196 143740    740 R 200.0  0.0   0:11.71 PEAT\r\n```"},"comment":{"url":"https://api.github.com/repos/jhhung/PEAT/issues/comments/116642448","html_url":"https://github.com/jhhung/PEAT/issues/19#issuecomment-116642448","issue_url":"https://api.github.com/repos/jhhung/PEAT/issues/19","id":116642448,"user":{"login":"ralf0216","id":8230869,"avatar_url":"https://avatars.githubusercontent.com/u/8230869?v=3","gravatar_id":"","url":"https://api.github.com/users/ralf0216","html_url":"https://github.com/ralf0216","followers_url":"https://api.github.com/users/ralf0216/followers","following_url":"https://api.github.com/users/ralf0216/following{/other_user}","gists_url":"https://api.github.com/users/ralf0216/gists{/gist_id}","starred_url":"https://api.github.com/users/ralf0216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralf0216/subscriptions","organizations_url":"https://api.github.com/users/ralf0216/orgs","repos_url":"https://api.github.com/users/ralf0216/repos","events_url":"https://api.github.com/users/ralf0216/events{/privacy}","received_events_url":"https://api.github.com/users/ralf0216/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T12:40:12Z","updated_at":"2015-06-29T12:40:12Z","body":"We fix this problem and update the program in release.\r\nThank you your advice."}}