{"action":"created","issue":{"url":"https://api.github.com/repos/tailhook/vagga/issues/262","repository_url":"https://api.github.com/repos/tailhook/vagga","labels_url":"https://api.github.com/repos/tailhook/vagga/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/tailhook/vagga/issues/262/comments","events_url":"https://api.github.com/repos/tailhook/vagga/issues/262/events","html_url":"https://github.com/tailhook/vagga/issues/262","id":156844880,"number":262,"title":"Enable libeatmydata by default","user":{"login":"tailhook","id":321799,"avatar_url":"https://avatars.githubusercontent.com/u/321799?v=3","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/tailhook/vagga/milestones/5","html_url":"https://github.com/tailhook/vagga/milestones/0.6.0","labels_url":"https://api.github.com/repos/tailhook/vagga/milestones/5/labels","id":1702520,"number":5,"title":"0.6.0","description":"This delivers changed vagga internals: instead of big enum for all big steps we use a boxed trait and virtual calls. This makes adding commands much easier. ([boxed_steps](https://github.com/tailhook/vagga/tree/boxed_steps) branch)\r\n\r\nAdditional plans:\r\n1. Preliminary overlayfs support\r\n2. Implement verification of checksums on all downloads","creator":{"login":"tailhook","id":321799,"avatar_url":"https://avatars.githubusercontent.com/u/321799?v=3","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":13,"state":"open","created_at":"2016-04-12T21:52:58Z","updated_at":"2016-05-25T20:38:50Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-05-25T20:38:50Z","updated_at":"2016-05-26T06:22:54Z","closed_at":null,"body":"I'm testing like this:\r\n```\r\n  ubslow:\r\n    setup:\r\n    - !Ubuntu xenial\r\n    - &pkgs !Install [git, make, ca-certificates, gcc, libssl-dev, lsb-release]\r\n\r\n  ubfast:\r\n    setup:\r\n    - !Ubuntu xenial\r\n    - !Install [libeatmydata1]\r\n    - !Env LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libeatmydata.so\r\n    - !Install [git, make, ca-certificates, gcc, libssl-dev, lsb-release]\r\n```\r\n\r\n(Just a list of packages I use in one of the projects)\r\n\r\nIt turns out that installation time is **123 seconds** for ubslow vs **21.7 seconds** for ubfast. I.e. with eatmydata the performance is ubuntu is similar to performance of alpine (sans larger files). Note: measure on a (laptop) SSD.\r\n\r\nSo I think we should enable libeatmydata by default. This case for xenial ubuntu is easy, because libeatmydata is in the default repository. But for trusty and precise (at least) the package is in `universe`. So we have several options:\r\n\r\n1. Enable eatmydata only for xenial by default\r\n2. Enable eatmydata when universe is enabled\r\n3. Always add universe and enable eatmydata on pre-16.04\r\n4. Temporarily enable universe, install eatmydata and disable it afterwards\r\n\r\nAny preferences?"},"comment":{"url":"https://api.github.com/repos/tailhook/vagga/issues/comments/221787671","html_url":"https://github.com/tailhook/vagga/issues/262#issuecomment-221787671","issue_url":"https://api.github.com/repos/tailhook/vagga/issues/262","id":221787671,"user":{"login":"lilianmoraru","id":621738,"avatar_url":"https://avatars.githubusercontent.com/u/621738?v=3","gravatar_id":"","url":"https://api.github.com/users/lilianmoraru","html_url":"https://github.com/lilianmoraru","followers_url":"https://api.github.com/users/lilianmoraru/followers","following_url":"https://api.github.com/users/lilianmoraru/following{/other_user}","gists_url":"https://api.github.com/users/lilianmoraru/gists{/gist_id}","starred_url":"https://api.github.com/users/lilianmoraru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilianmoraru/subscriptions","organizations_url":"https://api.github.com/users/lilianmoraru/orgs","repos_url":"https://api.github.com/users/lilianmoraru/repos","events_url":"https://api.github.com/users/lilianmoraru/events{/privacy}","received_events_url":"https://api.github.com/users/lilianmoraru/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T06:22:54Z","updated_at":"2016-05-26T06:22:54Z","body":"What happens if I move files in the \"work-area\" and the system shuts down(I didn't sit to think of all the cases where this can be dangerous)?\r\nIn general I think **it is a good option to be enabled by default** but you should probably allow people to disable this because it is an obtrusive option."}}
{"actor":{"display_login":"lilianmoraru"}}