{"action":"created","issue":{"url":"https://api.github.com/repos/ossrs/go-oryx/issues/20","labels_url":"https://api.github.com/repos/ossrs/go-oryx/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/ossrs/go-oryx/issues/20/comments","events_url":"https://api.github.com/repos/ossrs/go-oryx/issues/20/events","html_url":"https://github.com/ossrs/go-oryx/pull/20","id":119656822,"number":20,"title":"performance refine for c10k.","user":{"login":"winlinvip","id":2777660,"avatar_url":"https://avatars.githubusercontent.com/u/2777660?v=3","gravatar_id":"","url":"https://api.github.com/users/winlinvip","html_url":"https://github.com/winlinvip","followers_url":"https://api.github.com/users/winlinvip/followers","following_url":"https://api.github.com/users/winlinvip/following{/other_user}","gists_url":"https://api.github.com/users/winlinvip/gists{/gist_id}","starred_url":"https://api.github.com/users/winlinvip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winlinvip/subscriptions","organizations_url":"https://api.github.com/users/winlinvip/orgs","repos_url":"https://api.github.com/users/winlinvip/repos","events_url":"https://api.github.com/users/winlinvip/events{/privacy}","received_events_url":"https://api.github.com/users/winlinvip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-01T07:03:08Z","updated_at":"2015-12-02T11:19:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ossrs/go-oryx/pulls/20","html_url":"https://github.com/ossrs/go-oryx/pull/20","diff_url":"https://github.com/ossrs/go-oryx/pull/20.diff","patch_url":"https://github.com/ossrs/go-oryx/pull/20.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ossrs/go-oryx/issues/comments/161264889","html_url":"https://github.com/ossrs/go-oryx/pull/20#issuecomment-161264889","issue_url":"https://api.github.com/repos/ossrs/go-oryx/issues/20","id":161264889,"user":{"login":"winlinvip","id":2777660,"avatar_url":"https://avatars.githubusercontent.com/u/2777660?v=3","gravatar_id":"","url":"https://api.github.com/users/winlinvip","html_url":"https://github.com/winlinvip","followers_url":"https://api.github.com/users/winlinvip/followers","following_url":"https://api.github.com/users/winlinvip/following{/other_user}","gists_url":"https://api.github.com/users/winlinvip/gists{/gist_id}","starred_url":"https://api.github.com/users/winlinvip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winlinvip/subscriptions","organizations_url":"https://api.github.com/users/winlinvip/orgs","repos_url":"https://api.github.com/users/winlinvip/repos","events_url":"https://api.github.com/users/winlinvip/events{/privacy}","received_events_url":"https://api.github.com/users/winlinvip/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T11:19:01Z","updated_at":"2015-12-02T11:19:01Z","body":"将连接数调整到4k，group message为8，gc percent为300，CPU使用率330%，内存567MB，播放卡顿。GC占用9%CPU，暂停时间在150毫秒以内。\r\n```\r\ngc 2480 @917.030s 9%: 0.35+120+0.016+0.80+10 ms clock, 1.4+120+0+105/0.003/0+42 ms cpu, 259->280->90 MB, 278 MB goal, 4 P\r\ngc 2481 @917.439s 9%: 0.36+121+0.018+29+17 ms clock, 1.4+121+0+110/0.011/0+68 ms cpu, 263->284->89 MB, 273 MB goal, 4 P\r\ngc 2482 @918.083s 9%: 0.42+143+0.038+0.10+4.3 ms clock, 1.7+143+0+129/0.006/0.70+17 ms cpu, 265->276->82 MB, 275 MB goal, 4 P\r\ngc 2483 @918.746s 9%: 0.42+122+0.058+0.33+4.1 ms clock, 1.7+122+0+116/0.002/0.009+16 ms cpu, 271->286->85 MB, 282 MB goal, 4 P\r\n```\r\n\r\n基本上GC的暂停时间不能超过60毫秒。"}}