{"action":"created","issue":{"url":"https://api.github.com/repos/axboe/fio/issues/263","repository_url":"https://api.github.com/repos/axboe/fio","labels_url":"https://api.github.com/repos/axboe/fio/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/axboe/fio/issues/263/comments","events_url":"https://api.github.com/repos/axboe/fio/issues/263/events","html_url":"https://github.com/axboe/fio/issues/263","id":186268627,"number":263,"title":"fio doesn't produce expected distribution skew with tiny fractional zone size","user":{"login":"sitsofe","id":4005180,"avatar_url":"https://avatars.githubusercontent.com/u/4005180?v=3","gravatar_id":"","url":"https://api.github.com/users/sitsofe","html_url":"https://github.com/sitsofe","followers_url":"https://api.github.com/users/sitsofe/followers","following_url":"https://api.github.com/users/sitsofe/following{/other_user}","gists_url":"https://api.github.com/users/sitsofe/gists{/gist_id}","starred_url":"https://api.github.com/users/sitsofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitsofe/subscriptions","organizations_url":"https://api.github.com/users/sitsofe/orgs","repos_url":"https://api.github.com/users/sitsofe/repos","events_url":"https://api.github.com/users/sitsofe/events{/privacy}","received_events_url":"https://api.github.com/users/sitsofe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T12:10:21Z","updated_at":"2016-11-01T10:44:43Z","closed_at":null,"body":"Running\r\n\r\n`fio --debug=io --randseed=1 --direct=1 --ioengine=libaio --iodepth=32 --bs=8k --name=readtest --rw=randread --filename /dev/mapper/zero --random_distribution=zoned:99/0.0001:1/99 --size=10G | awk 'BEGIN { FS=\"[\\t =/]+\"; u=0; o=0;}; /io complete.*off=/ { if ($8 <= 20485760) u+=1; else o+=1;}; END {print u\" : \"o}'`\r\n\r\nusing fio-2.15-3-g912b on 64 bit Linux produces the following:\r\n`246756 : 1063964`\r\nChanging `0.0001` to `0.001` and `10G` to `1G` produces\r\n`129704 : 1368`\r\nwhich is closer to the expected 99:1 ratio. This problem arises from the desire to target zone sizes of only 100s of megabytes when you have disks that are terabytes in size."},"comment":{"url":"https://api.github.com/repos/axboe/fio/issues/comments/257536833","html_url":"https://github.com/axboe/fio/issues/263#issuecomment-257536833","issue_url":"https://api.github.com/repos/axboe/fio/issues/263","id":257536833,"user":{"login":"sitsofe","id":4005180,"avatar_url":"https://avatars.githubusercontent.com/u/4005180?v=3","gravatar_id":"","url":"https://api.github.com/users/sitsofe","html_url":"https://github.com/sitsofe","followers_url":"https://api.github.com/users/sitsofe/followers","following_url":"https://api.github.com/users/sitsofe/following{/other_user}","gists_url":"https://api.github.com/users/sitsofe/gists{/gist_id}","starred_url":"https://api.github.com/users/sitsofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitsofe/subscriptions","organizations_url":"https://api.github.com/users/sitsofe/orgs","repos_url":"https://api.github.com/users/sitsofe/repos","events_url":"https://api.github.com/users/sitsofe/events{/privacy}","received_events_url":"https://api.github.com/users/sitsofe/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T10:44:43Z","updated_at":"2016-11-01T10:44:43Z","body":"Looking closer it turns out that in opposition to parameter summary in the HOWTO fio doesn't actually support float for zoned distributions:\r\n\r\n`random_distribution=str:float\tBy default, fio will use a completely uniform`\r\n\r\nThe `str:float` format appears to only apply to `zipf`, `pareto` and `gauss`. `random` doesn't take a value and `zoned` has a bssplit like format where its numbers have to be integers."}}
{"actor":{"display_login":"sitsofe"}}