{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11150","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11150/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11150/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11150/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/11150","id":328937451,"node_id":"MDU6SXNzdWUzMjg5Mzc0NTE=","number":11150,"title":"请教一下trainer_count的设置问题","user":{"login":"reddancer","id":19179160,"node_id":"MDQ6VXNlcjE5MTc5MTYw","avatar_url":"https://avatars3.githubusercontent.com/u/19179160?v=4","gravatar_id":"","url":"https://api.github.com/users/reddancer","html_url":"https://github.com/reddancer","followers_url":"https://api.github.com/users/reddancer/followers","following_url":"https://api.github.com/users/reddancer/following{/other_user}","gists_url":"https://api.github.com/users/reddancer/gists{/gist_id}","starred_url":"https://api.github.com/users/reddancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddancer/subscriptions","organizations_url":"https://api.github.com/users/reddancer/orgs","repos_url":"https://api.github.com/users/reddancer/repos","events_url":"https://api.github.com/users/reddancer/events{/privacy}","received_events_url":"https://api.github.com/users/reddancer/received_events","type":"User","site_admin":false},"labels":[{"id":651040732,"node_id":"MDU6TGFiZWw2NTEwNDA3MzI=","url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels/User","name":"User","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-04T07:25:57Z","updated_at":"2018-06-05T03:11:51Z","closed_at":null,"author_association":"NONE","body":"paddle版本：v2 0.11\r\n服务器cpu配置：num_cores=16, num_processors=32\r\n把batch_size=50 trainer_count=10，模型会一直卡着不动，\r\n如果设置成batch_size=250 trainer_count=10，模型就会正常执行，但感觉好像是在一个cpu上执行的，也就是top时，看到的P那一项，都是同一个数字。\r\n我不太清楚trainer_count的设置规则，还有看paddle的init里面有一个MKL_NUM_THREADS及OMP_NUM_THREADS设置，不明白之间的联系，感谢不吝指教。"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/394567425","html_url":"https://github.com/PaddlePaddle/Paddle/issues/11150#issuecomment-394567425","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11150","id":394567425,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDU2NzQyNQ==","user":{"login":"luotao1","id":6836917,"node_id":"MDQ6VXNlcjY4MzY5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6836917?v=4","gravatar_id":"","url":"https://api.github.com/users/luotao1","html_url":"https://github.com/luotao1","followers_url":"https://api.github.com/users/luotao1/followers","following_url":"https://api.github.com/users/luotao1/following{/other_user}","gists_url":"https://api.github.com/users/luotao1/gists{/gist_id}","starred_url":"https://api.github.com/users/luotao1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luotao1/subscriptions","organizations_url":"https://api.github.com/users/luotao1/orgs","repos_url":"https://api.github.com/users/luotao1/repos","events_url":"https://api.github.com/users/luotao1/events{/privacy}","received_events_url":"https://api.github.com/users/luotao1/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T03:11:51Z","updated_at":"2018-06-05T03:11:51Z","author_association":"CONTRIBUTOR","body":"您好，建议选择能被16整除的trainer count，这样有利于每个core的负载均衡。"}}
{"actor":{"display_login":"luotao1"}}