{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/95","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/95/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/95/events","html_url":"https://github.com/xcat2/xcat-core/issues/95","id":101810935,"number":95,"title":"#168 Allow use of parallel implementations of gzip and bzip2 in xCAT","user":{"login":"chrissamuel","id":60720,"avatar_url":"https://avatars.githubusercontent.com/u/60720?v=3","gravatar_id":"","url":"https://api.github.com/users/chrissamuel","html_url":"https://github.com/chrissamuel","followers_url":"https://api.github.com/users/chrissamuel/followers","following_url":"https://api.github.com/users/chrissamuel/following{/other_user}","gists_url":"https://api.github.com/users/chrissamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/chrissamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrissamuel/subscriptions","organizations_url":"https://api.github.com/users/chrissamuel/orgs","repos_url":"https://api.github.com/users/chrissamuel/repos","events_url":"https://api.github.com/users/chrissamuel/events{/privacy}","received_events_url":"https://api.github.com/users/chrissamuel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/priority:normal","name":"priority:normal","color":"fad8c7"},{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/type:feature","name":"type:feature","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"immarvin","id":5668922,"avatar_url":"https://avatars.githubusercontent.com/u/5668922?v=3","gravatar_id":"","url":"https://api.github.com/users/immarvin","html_url":"https://github.com/immarvin","followers_url":"https://api.github.com/users/immarvin/followers","following_url":"https://api.github.com/users/immarvin/following{/other_user}","gists_url":"https://api.github.com/users/immarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/immarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immarvin/subscriptions","organizations_url":"https://api.github.com/users/immarvin/orgs","repos_url":"https://api.github.com/users/immarvin/repos","events_url":"https://api.github.com/users/immarvin/events{/privacy}","received_events_url":"https://api.github.com/users/immarvin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3","html_url":"https://github.com/xcat2/xcat-core/milestones/2.11","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3/labels","id":1237674,"number":3,"title":"2.11","description":"xCAT 2.11","creator":{"login":"ligc","id":4415329,"avatar_url":"https://avatars.githubusercontent.com/u/4415329?v=3","gravatar_id":"","url":"https://api.github.com/users/ligc","html_url":"https://github.com/ligc","followers_url":"https://api.github.com/users/ligc/followers","following_url":"https://api.github.com/users/ligc/following{/other_user}","gists_url":"https://api.github.com/users/ligc/gists{/gist_id}","starred_url":"https://api.github.com/users/ligc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligc/subscriptions","organizations_url":"https://api.github.com/users/ligc/orgs","repos_url":"https://api.github.com/users/ligc/repos","events_url":"https://api.github.com/users/ligc/events{/privacy}","received_events_url":"https://api.github.com/users/ligc/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":5,"state":"open","created_at":"2015-08-03T06:33:22Z","updated_at":"2015-08-21T01:37:14Z","due_on":"2015-12-03T16:00:00Z","closed_at":null},"comments":8,"created_at":"2015-08-19T05:33:33Z","updated_at":"2015-08-21T03:31:17Z","closed_at":null,"body":"Created: 2014-02-04 on SourceForge.\r\n\r\nIt would save a lot of time when building stateless/statelite images if xCAT could use one of the parallel gzip/bzip2 implementations in (for instance) RHEL6 EPEL if it were present.\r\n\r\nPossibly the most unintrusive way would be to have an entry in the site file to define the gzip and bzip2 commands to use (and if not present default to the tried and true standard versions), that way if a site choses to use a parallel version they have to make a conscious decision to do so and if it breaks they get to keep both parts (and can rapidly undo the damage).\r\n\r\nFor the record in EPEL there are currently pigz (Parallel Implementationg of GZip), lbzip2 and pbzip2.\r\n\r\nThanks!\r\nChris\r\n\r\nFollow up - I'm currently building a new cluster and doing a lot of osimage rebuilds this would have been *really* useful to have had.."},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/133267782","html_url":"https://github.com/xcat2/xcat-core/issues/95#issuecomment-133267782","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/95","id":133267782,"user":{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T03:31:17Z","updated_at":"2015-08-21T03:31:17Z","body":"1. If no '-p' specified, how many CPUs will pigz choose?\r\n    From your test result, seem it will choose all the physical CPUs to compress, right?\r\n2. For genimage, if just mount /proc into chroot works? I think it will be used by pigz to find out how many CPUs there.\r\n3. For kvm, I agree with you. But if the CPUs are in dedicate mode, will this kind of configuration affect other VMs?"}}