{"action":"created","issue":{"url":"https://api.github.com/repos/openzfsonosx/zfs/issues/584","repository_url":"https://api.github.com/repos/openzfsonosx/zfs","labels_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/584/comments","events_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/584/events","html_url":"https://github.com/openzfsonosx/zfs/issues/584","id":240284303,"number":584,"title":"poor write performance from bsdtar / git","user":{"login":"lundman","id":637168,"avatar_url":"https://avatars3.githubusercontent.com/u/637168?v=3","gravatar_id":"","url":"https://api.github.com/users/lundman","html_url":"https://github.com/lundman","followers_url":"https://api.github.com/users/lundman/followers","following_url":"https://api.github.com/users/lundman/following{/other_user}","gists_url":"https://api.github.com/users/lundman/gists{/gist_id}","starred_url":"https://api.github.com/users/lundman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundman/subscriptions","organizations_url":"https://api.github.com/users/lundman/orgs","repos_url":"https://api.github.com/users/lundman/repos","events_url":"https://api.github.com/users/lundman/events{/privacy}","received_events_url":"https://api.github.com/users/lundman/received_events","type":"User","site_admin":false},"labels":[{"id":29309508,"url":"https://api.github.com/repos/openzfsonosx/zfs/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-07-04T00:10:55Z","updated_at":"2017-07-08T19:46:51Z","closed_at":null,"body":"Attempting to collect all information about this problem here.\r\n\r\nAs a test, we will use a tar file of `xcode`\r\n\r\n```\r\n# time tar cf /tmp/xcode.tar /Applications/Xcode.app/\r\nreal\t2m\r\n```\r\n\r\nThen, as a test, we untar that on `hfs`:\r\n```\r\n# cd /Volume/hfs\r\n# time tar xf /tmp/xcode.tar\r\nreal\t5m\r\n```\r\nThis is our target. **We'd like to be at least this good**\r\n\r\nUntar the same file on `ZFS` dataset, (default options - nothing specified on cmdline)\r\n\r\n**This is the problem:**\r\n```\r\n# cd /Volume/zfs\r\n# time tar xf /tmp/xcode.tar\r\nreal\t50m\r\n```\r\n\r\nOuch. It is interesting to note that it starts very fast, but eventually loses it;\r\n\r\n```\r\nbash-3.2# ./cmd.sh zpool iostat 1 300\r\n              capacity     operations     bandwidth\r\npool        alloc   free   read  write   read  write\r\n----------  -----  -----  -----  -----  -----  -----\r\nBOOM        8.32M  14.9G      0     32  47.8K   455K\r\nBOOM        8.32M  14.9G      0      0      0      0\r\nBOOM        8.32M  14.9G      0    747      0  54.6M\r\nBOOM         132M  14.7G      0  1.15K      0   111M\r\nBOOM         211M  14.7G      0    563      0  49.4M\r\nBOOM         274M  14.6G      0    641      0  60.0M\r\nBOOM         360M  14.5G      2    960  84.9K  96.0M\r\nBOOM         468M  14.4G      2    983  21.3K   101M\r\nBOOM         551M  14.3G      0  1.03K  20.4K  99.5M\r\nBOOM         615M  14.3G      1    614  21.0K  60.1M\r\nBOOM         655M  14.2G      0    440    511  42.2M\r\nBOOM         702M  14.2G      0    415      0  35.4M\r\nBOOM         726M  14.2G      0    362    509  32.9M\r\nBOOM         813M  14.1G      7    871  4.50K  80.0M\r\nBOOM         874M  14.0G      0    711      0  72.3M\r\nBOOM         898M  14.0G      0    435    510  37.6M\r\nBOOM         921M  14.0G      0     43      0   550K\r\nBOOM         944M  14.0G      2    375  1.50K  22.9M\r\nBOOM         944M  14.0G    148      0   437K      0\r\nBOOM         944M  14.0G      0      0      0      0\r\nBOOM         944M  14.0G      0      0    511      0\r\nBOOM         944M  14.0G      0      0      0      0\r\nBOOM         944M  14.0G      0      0      0      0\r\nBOOM         944M  14.0G      0     24      0  3.07M\r\nBOOM         944M  14.0G      0     75      0  3.40M\r\nBOOM         944M  14.0G      0    255      0  17.8M\r\nBOOM         944M  14.0G      0    112      0  13.9M\r\nBOOM         982M  13.9G      7    142  4.98K  1.87M\r\nBOOM         982M  13.9G     27      0  33.5K      0\r\nBOOM         982M  13.9G      4      0  2.49K      0\r\nBOOM         982M  13.9G      0      0      0      0\r\n```\r\n\r\nand the rest trickle in around ~1MB/s.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openzfsonosx/zfs/issues/comments/313877212","html_url":"https://github.com/openzfsonosx/zfs/issues/584#issuecomment-313877212","issue_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/584","id":313877212,"user":{"login":"evansus","id":2881843,"avatar_url":"https://avatars2.githubusercontent.com/u/2881843?v=3","gravatar_id":"","url":"https://api.github.com/users/evansus","html_url":"https://github.com/evansus","followers_url":"https://api.github.com/users/evansus/followers","following_url":"https://api.github.com/users/evansus/following{/other_user}","gists_url":"https://api.github.com/users/evansus/gists{/gist_id}","starred_url":"https://api.github.com/users/evansus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansus/subscriptions","organizations_url":"https://api.github.com/users/evansus/orgs","repos_url":"https://api.github.com/users/evansus/repos","events_url":"https://api.github.com/users/evansus/events{/privacy}","received_events_url":"https://api.github.com/users/evansus/received_events","type":"User","site_admin":false},"created_at":"2017-07-08T19:46:51Z","updated_at":"2017-07-08T19:46:51Z","body":"With one-size-fits-all allocations, even 4k and smaller files would quickly hit the xnu throttle. But anyway..."}}
{"actor":{"display_login":"evansus"}}