{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/967","labels_url":"https://api.github.com/repos/drone/drone/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/967/comments","events_url":"https://api.github.com/repos/drone/drone/issues/967/events","html_url":"https://github.com/drone/drone/issues/967","id":67543887,"number":967,"title":"Run one build on two CPUs","user":{"login":"alexandre-butynski","id":671662,"avatar_url":"https://avatars.githubusercontent.com/u/671662?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandre-butynski","html_url":"https://github.com/alexandre-butynski","followers_url":"https://api.github.com/users/alexandre-butynski/followers","following_url":"https://api.github.com/users/alexandre-butynski/following{/other_user}","gists_url":"https://api.github.com/users/alexandre-butynski/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandre-butynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandre-butynski/subscriptions","organizations_url":"https://api.github.com/users/alexandre-butynski/orgs","repos_url":"https://api.github.com/users/alexandre-butynski/repos","events_url":"https://api.github.com/users/alexandre-butynski/events{/privacy}","received_events_url":"https://api.github.com/users/alexandre-butynski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-10T08:47:24Z","updated_at":"2015-04-10T15:58:19Z","closed_at":"2015-04-10T15:58:19Z","body":"I don't know if it's currently possible but I want to use the full potential of my server by running a build on two CPUs. With my actual config I can run two builds simultaneously but when I have only one build running (and it is what happens most of the time) it can use only half of the power of my instance.\r\n\r\nCan we configure Drone to launch docker container with the good configuration for that ? Maybe something like the docker config `CpuSet` ?\r\n\r\nWe have an heavy build that take 30 minutes to run, to divide it by 2 would be very great to improve the feedback loop of continuous integration."},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/91600777","html_url":"https://github.com/drone/drone/issues/967#issuecomment-91600777","issue_url":"https://api.github.com/repos/drone/drone/issues/967","id":91600777,"user":{"login":"bradrydzewski","id":817538,"avatar_url":"https://avatars.githubusercontent.com/u/817538?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrydzewski","html_url":"https://github.com/bradrydzewski","followers_url":"https://api.github.com/users/bradrydzewski/followers","following_url":"https://api.github.com/users/bradrydzewski/following{/other_user}","gists_url":"https://api.github.com/users/bradrydzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrydzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrydzewski/subscriptions","organizations_url":"https://api.github.com/users/bradrydzewski/orgs","repos_url":"https://api.github.com/users/bradrydzewski/repos","events_url":"https://api.github.com/users/bradrydzewski/events{/privacy}","received_events_url":"https://api.github.com/users/bradrydzewski/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T15:58:19Z","updated_at":"2015-04-10T15:58:19Z","body":"specifically, you can see how we'll model the yaml internally:\r\nhttps://github.com/drone/drone/issues/902#issuecomment-77308459\r\n\r\nwhich will expose most (eventually all) of the available configuration options:\r\nhttp://godoc.org/github.com/samalba/dockerclient#ContainerConfig\r\n\r\nI'm going to close this in favor of #902 which encapsulates this functionality. Thanks for the feedback!"}}