{"action":"created","issue":{"url":"https://api.github.com/repos/bloomberg/bcpc/issues/736","labels_url":"https://api.github.com/repos/bloomberg/bcpc/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/bloomberg/bcpc/issues/736/comments","events_url":"https://api.github.com/repos/bloomberg/bcpc/issues/736/events","html_url":"https://github.com/bloomberg/bcpc/pull/736","id":97184054,"number":736,"title":"Ephemeral storage option","user":{"login":"caiush","id":750916,"avatar_url":"https://avatars.githubusercontent.com/u/750916?v=3","gravatar_id":"","url":"https://api.github.com/users/caiush","html_url":"https://github.com/caiush","followers_url":"https://api.github.com/users/caiush/followers","following_url":"https://api.github.com/users/caiush/following{/other_user}","gists_url":"https://api.github.com/users/caiush/gists{/gist_id}","starred_url":"https://api.github.com/users/caiush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiush/subscriptions","organizations_url":"https://api.github.com/users/caiush/orgs","repos_url":"https://api.github.com/users/caiush/repos","events_url":"https://api.github.com/users/caiush/events{/privacy}","received_events_url":"https://api.github.com/users/caiush/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bloomberg/bcpc/labels/Ceph","name":"Ceph","color":"bfdadc"},{"url":"https://api.github.com/repos/bloomberg/bcpc/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/bloomberg/bcpc/labels/OpenStack","name":"OpenStack","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-25T02:44:49Z","updated_at":"2015-08-03T19:07:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bloomberg/bcpc/pulls/736","html_url":"https://github.com/bloomberg/bcpc/pull/736","diff_url":"https://github.com/bloomberg/bcpc/pull/736.diff","patch_url":"https://github.com/bloomberg/bcpc/pull/736.patch"},"body":"Basically a tidied up version of #687, but with one important difference. The volumes are directly creating in LVM. The previous PR actually used LVM to create a file system then put a file system over that. The LVM drive is considerably more performant (from what I have read).\r\n\r\nI also explicitly create the flavors using the environment and the osflavor LWRP and give the ephemeral disk extra scratch space. \r\n\r\nFuture interesting features:\r\n* I believe that you can tell nova to format the ephemeral block dev, so it would appear mounted and available as scratch. This is probably worth doing, or at least finding out if cloud-init can be configured to do it. \r\n* Cinder often needs a kick after the head node run, I think this is an issue with cephx auth and will probably be fixed by #720. "},"comment":{"url":"https://api.github.com/repos/bloomberg/bcpc/issues/comments/127373430","html_url":"https://github.com/bloomberg/bcpc/pull/736#issuecomment-127373430","issue_url":"https://api.github.com/repos/bloomberg/bcpc/issues/736","id":127373430,"user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T19:07:34Z","updated_at":"2015-08-03T19:07:34Z","body":"`/dev/vda` is Ceph, `/dev/vdb` is ephemeral:\r\n```\r\nubuntu@ip-1-100-0-132:/mnt/bonnie$ sudo hdparm -t /dev/vdb\r\n\r\n/dev/vdb:\r\n Timing buffered disk reads: 1332 MB in  3.00 seconds = 443.89 MB/sec\r\nubuntu@ip-1-100-0-132:/mnt/bonnie$ sudo hdparm -t /dev/vda\r\n\r\n/dev/vda:\r\n Timing buffered disk reads: 986 MB in  3.01 seconds = 328.03 MB/sec\r\n```"}}