{"action":"opened","number":3386,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/3386","id":27490415,"html_url":"https://github.com/ceph/ceph/pull/3386","diff_url":"https://github.com/ceph/ceph/pull/3386.diff","patch_url":"https://github.com/ceph/ceph/pull/3386.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/3386","number":3386,"state":"open","locked":false,"title":"Change crush_ln to provide 32 more digits.","user":{"login":"xiaoxichen","id":1584218,"avatar_url":"https://avatars.githubusercontent.com/u/1584218?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoxichen","html_url":"https://github.com/xiaoxichen","followers_url":"https://api.github.com/users/xiaoxichen/followers","following_url":"https://api.github.com/users/xiaoxichen/following{/other_user}","gists_url":"https://api.github.com/users/xiaoxichen/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoxichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoxichen/subscriptions","organizations_url":"https://api.github.com/users/xiaoxichen/orgs","repos_url":"https://api.github.com/users/xiaoxichen/repos","events_url":"https://api.github.com/users/xiaoxichen/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoxichen/received_events","type":"User","site_admin":false},"body":"32 more digits(more precision) were given by crush_ln, so we dont\r\n need to do left shift in bucket_straw2_choose now.\r\n\r\nThis change will slightly improve the quality of distribution.\r\n\r\nexpect                  169.664\r\nosd     weight  count   adjusted\r\n0       1       179     179\r\n1       1.75    291     166\r\n2       3.062   507     165\r\n3       5.359   937     174\r\n4       9.379   1581    168\r\n5       16.41   2771    168\r\n6       28.72   4847    168\r\n7       50.27   8690    172\r\n8       87.96   14924   169\r\n9       153.9   26069   169\r\n10      269.4   45706   169\r\n11      471.4   79754   169\r\n12      825     139847  169\r\n13      1444    245707  170\r\n14      2527    428190  169\r\nstd dev 12.4895\r\n     vs 12.6005 (expected)\r\n\r\nSigned-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>","created_at":"2015-01-16T08:25:57Z","updated_at":"2015-01-16T08:25:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/3386/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/3386/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/3386/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/0ef29e46c1ee802b21d1b6c308c30785415e07a0","head":{"label":"xiaoxichen:wip-crush-straw2","ref":"wip-crush-straw2","sha":"0ef29e46c1ee802b21d1b6c308c30785415e07a0","user":{"login":"xiaoxichen","id":1584218,"avatar_url":"https://avatars.githubusercontent.com/u/1584218?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoxichen","html_url":"https://github.com/xiaoxichen","followers_url":"https://api.github.com/users/xiaoxichen/followers","following_url":"https://api.github.com/users/xiaoxichen/following{/other_user}","gists_url":"https://api.github.com/users/xiaoxichen/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoxichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoxichen/subscriptions","organizations_url":"https://api.github.com/users/xiaoxichen/orgs","repos_url":"https://api.github.com/users/xiaoxichen/repos","events_url":"https://api.github.com/users/xiaoxichen/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoxichen/received_events","type":"User","site_admin":false},"repo":{"id":22135263,"name":"ceph","full_name":"xiaoxichen/ceph","owner":{"login":"xiaoxichen","id":1584218,"avatar_url":"https://avatars.githubusercontent.com/u/1584218?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoxichen","html_url":"https://github.com/xiaoxichen","followers_url":"https://api.github.com/users/xiaoxichen/followers","following_url":"https://api.github.com/users/xiaoxichen/following{/other_user}","gists_url":"https://api.github.com/users/xiaoxichen/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoxichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoxichen/subscriptions","organizations_url":"https://api.github.com/users/xiaoxichen/orgs","repos_url":"https://api.github.com/users/xiaoxichen/repos","events_url":"https://api.github.com/users/xiaoxichen/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoxichen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xiaoxichen/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/xiaoxichen/ceph","forks_url":"https://api.github.com/repos/xiaoxichen/ceph/forks","keys_url":"https://api.github.com/repos/xiaoxichen/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiaoxichen/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiaoxichen/ceph/teams","hooks_url":"https://api.github.com/repos/xiaoxichen/ceph/hooks","issue_events_url":"https://api.github.com/repos/xiaoxichen/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/xiaoxichen/ceph/events","assignees_url":"https://api.github.com/repos/xiaoxichen/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/xiaoxichen/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/xiaoxichen/ceph/tags","blobs_url":"https://api.github.com/repos/xiaoxichen/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiaoxichen/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiaoxichen/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiaoxichen/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiaoxichen/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/xiaoxichen/ceph/languages","stargazers_url":"https://api.github.com/repos/xiaoxichen/ceph/stargazers","contributors_url":"https://api.github.com/repos/xiaoxichen/ceph/contributors","subscribers_url":"https://api.github.com/repos/xiaoxichen/ceph/subscribers","subscription_url":"https://api.github.com/repos/xiaoxichen/ceph/subscription","commits_url":"https://api.github.com/repos/xiaoxichen/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiaoxichen/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiaoxichen/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiaoxichen/ceph/issues/comments/{number}","contents_url":"https://api.github.com/repos/xiaoxichen/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/xiaoxichen/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiaoxichen/ceph/merges","archive_url":"https://api.github.com/repos/xiaoxichen/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiaoxichen/ceph/downloads","issues_url":"https://api.github.com/repos/xiaoxichen/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/xiaoxichen/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/xiaoxichen/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/xiaoxichen/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiaoxichen/ceph/labels{/name}","releases_url":"https://api.github.com/repos/xiaoxichen/ceph/releases{/id}","created_at":"2014-07-23T06:58:37Z","updated_at":"2014-12-29T06:15:00Z","pushed_at":"2015-01-16T08:25:00Z","git_url":"git://github.com/xiaoxichen/ceph.git","ssh_url":"git@github.com:xiaoxichen/ceph.git","clone_url":"https://github.com/xiaoxichen/ceph.git","svn_url":"https://github.com/xiaoxichen/ceph","homepage":"http://ceph.com","size":98298,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceph:wip-crush-straw2","ref":"wip-crush-straw2","sha":"be02298b575a8e88443b4a97f84fa706a4d0d37b","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments/{number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","created_at":"2011-09-01T21:41:26Z","updated_at":"2015-01-16T07:53:06Z","pushed_at":"2015-01-16T07:24:59Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":326530,"stargazers_count":1082,"watchers_count":1082,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":550,"mirror_url":null,"open_issues_count":86,"forks":550,"open_issues":86,"watchers":1082,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3386"},"html":{"href":"https://github.com/ceph/ceph/pull/3386"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/3386"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/3386/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3386/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/3386/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/0ef29e46c1ee802b21d1b6c308c30785415e07a0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":10,"changed_files":2}}