From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Tiny Guix (and containers) Date: Thu, 26 Oct 2017 12:48:21 +0200 Message-ID: <87inf2mbgq.fsf@elephly.net> References: <20171025081846.GA28005@thebird.nl> <87mv4emlwf.fsf@elephly.net> <20171026104259.GA2179@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7yGN-0001hA-FU for guix-devel@gnu.org; Fri, 27 Oct 2017 02:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7yGK-00066Q-Cy for guix-devel@gnu.org; Fri, 27 Oct 2017 02:37:03 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7yGK-00063v-64 for guix-devel@gnu.org; Fri, 27 Oct 2017 02:37:00 -0400 In-reply-to: <20171026104259.GA2179@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel Pjotr Prins writes: >> > Now it takes forever to set up the image >> >> Have you tried disabling compression? This could be a lot faster. I >> found that tar with gzip compression is terribly slow to copy things >> from the store into a compressed tar archive. Disabling compression >> speeds this up considerably, even though it is still rather slow. > > That will help :). But I was talking about Docker images. Making them > small would be helpful for a lot of people out there. It takes forever > to download and run Docker tests, for example, I hear people complain. I know but there are two use cases here, no? One is to build an image repeatedly for Travis CI, the other is a “release” image. For the CI image one could disable compression to speed this up. But clearly, that’s a tradeoff between the time it takes to download the uncompressed blob and building a compressed blob. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net