{"action":"created","issue":{"url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/13","repository_url":"https://api.github.com/repos/OpenChannelSSD/linux","labels_url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/13/comments","events_url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/13/events","html_url":"https://github.com/OpenChannelSSD/linux/issues/13","id":185969062,"number":13,"title":"Oops around at the end of 2DW with dd and fio","user":{"login":"YT-Jin","id":15898586,"avatar_url":"https://avatars.githubusercontent.com/u/15898586?v=3","gravatar_id":"","url":"https://api.github.com/users/YT-Jin","html_url":"https://github.com/YT-Jin","followers_url":"https://api.github.com/users/YT-Jin/followers","following_url":"https://api.github.com/users/YT-Jin/following{/other_user}","gists_url":"https://api.github.com/users/YT-Jin/gists{/gist_id}","starred_url":"https://api.github.com/users/YT-Jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YT-Jin/subscriptions","organizations_url":"https://api.github.com/users/YT-Jin/orgs","repos_url":"https://api.github.com/users/YT-Jin/repos","events_url":"https://api.github.com/users/YT-Jin/events{/privacy}","received_events_url":"https://api.github.com/users/YT-Jin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-28T16:44:27Z","updated_at":"2016-11-01T01:46:44Z","closed_at":null,"body":"Hi Javier,\n\nAs per your request, this new issue is opened and below is my environment information and oops log. I'll try again with pblk.19 update as soon as it will be available on github.\n\n**1. QEMU NVMe**\n- master branch date: `Fri Oct 21 12:06:53 2016 +0200`\n- start script:\n\n```\nqemu-start() {\n    rm -f /root/ramdisk/*.qemu\n    dd if=/dev/zero of=/root/ramdisk/blknvme bs=1G count=4\n    LINUXVMFILE=/var/lib/libvirt/images/centos7.img\n    ~/qemu-nvme/bin/qemu-system-x86_64 -m 16G -smp 8 --enable-kvm -hda $LINUXVMFILE \\\n    -drive file=/root/ramdisk/blknvme,if=none,id=mynvme \\\n    -device nvme,drive=mynvme,serial=deadbeef,lver=1,ll2pmode=0,lnum_lun=4,lnum_pln=2,lsecs_per_pg=4,lpgs_per_blk=512,lbbtable=/root/ramdisk/bbtable.qemu,lmetadata=/root/ramdisk/meta.qemu \\\n    -monitor stdio -display gtk\n}\n```\n\n**2. Guest OS**\n- pblk.19 branch date: `Thu Oct 27 14:24:03 2016 +0200`\n- pblk instantiation cmd lines:\n\n```\n# lnvm init -d nvme0n1\n# lnvm create -d nvme0n1 -n tgt0 -t pblk -o 0:3\n```\n\n**3. workload to repeat**\n\n```\n# dd oflag=direct of=/dev/tgt0 if=/dev/zero BS=16M\n# fio --name=4k-randwrite --filename=/dev/tgt0 --bs=4k --rw=randwrite --ioengine=libaio --numjobs=1 --iodepth=256 --direct=1 --thread\n```\n\n**4. Oops log**\n\n```\nreason: WARNING: CPU: 7 PID: 3669 at drivers/lightnvm/pblk-map.c:126 pblk_map_rr_page+0x1b8/0x210\ntime: Thu 27 Oct 2016 02:21:07 PM PDT\n--\nreason: WARNING: CPU: 7 PID: 3669 at drivers/lightnvm/pblk-map.c:126 pblk_map_rr_page+0x1b8/0x210\ntime: Thu 27 Oct 2016 02:21:08 PM PDT\n--\nreason: WARNING: CPU: 7 PID: 3669 at drivers/lightnvm/pblk-map.c:126 pblk_map_rr_page+0x1b8/0x210\ntime: Thu 27 Oct 2016 02:21:09 PM PDT\n--\nreason: WARNING: CPU: 7 PID: 3669 at drivers/lightnvm/pblk-map.c:126 pblk_map_rr_page+0x1b8/0x210\ntime: Thu 27 Oct 2016 02:21:10 PM PDT\n--\nreason: WARNING: CPU: 7 PID: 3669 at drivers/lightnvm/pblk-map.c:126 pblk_map_rr_page+0x1b8/0x210\ntime: Thu 27 Oct 2016 02:21:11 PM PDT\n```\n\nThanks,\nYT\n"},"comment":{"url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/comments/257470495","html_url":"https://github.com/OpenChannelSSD/linux/issues/13#issuecomment-257470495","issue_url":"https://api.github.com/repos/OpenChannelSSD/linux/issues/13","id":257470495,"user":{"login":"javigon","id":902977,"avatar_url":"https://avatars.githubusercontent.com/u/902977?v=3","gravatar_id":"","url":"https://api.github.com/users/javigon","html_url":"https://github.com/javigon","followers_url":"https://api.github.com/users/javigon/followers","following_url":"https://api.github.com/users/javigon/following{/other_user}","gists_url":"https://api.github.com/users/javigon/gists{/gist_id}","starred_url":"https://api.github.com/users/javigon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javigon/subscriptions","organizations_url":"https://api.github.com/users/javigon/orgs","repos_url":"https://api.github.com/users/javigon/repos","events_url":"https://api.github.com/users/javigon/events{/privacy}","received_events_url":"https://api.github.com/users/javigon/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T01:46:44Z","updated_at":"2016-11-01T01:46:44Z","body":"Hi YT,\r\n\r\nGood that it worked. A couple of comments:\r\n  - First, the test is using QEMU, so bandwidth and the latencies you probably have observed are not really representative. R/W timings are not realistic,  If you do micro-testing you will find large outliers.\r\n  - You reach capacity constantly using a base test that is 1/2 the size of the block device. This would be like running bs=1TB on a 2TB drive. This forces the rate-limiter to stop user I/O in order to do GC.\r\n\r\nIn any case, we will run your workload on real hardware and post the results here so that you have a baseline. If you are interested in evaluating using an Open-Channel SSD drop us an email.\r\n\r\nJavier."}}
{"actor":{"display_login":"javigon"}}