[Bug 926160] Re: precise cloud-images significantly larger than oneiric

Scott Moser smoser at ubuntu.com
Fri Feb 3 16:28:32 UTC 2012


Note, the automatic running of 'apt-get update' had run on the amd64
precise instance, so that data was tainted. I changed the bug
description to accommodate and picked up a new instancen data to replace
it.

That is in this tarball.


** Description changed:

  See below for detail, but basically from oneiric released images to
  precise images, we've grown from root filesystem used of 762M to 973M.
  That is 27% size increase.
  
  This compares what I found on
     ubuntu-oneiric-11.10-<arch>-server-20120108
     ubuntu-precise-daily-<arch>-server-20120202
  
  The .img and .tar.gz files on cloud-images have grown also, but
  strangely it seems less.  comparing alpha-2 from precise to last release
  of oneiric (20120108) shows:
  
  -------------- | 11.10 | prec | %growth
  amd64 disk.img | 218M  | 228M |  4.8
  amd64 .tar.gz_ | 207M  | 217M |  4.6
- amd64 ebs df__ | 762M  | 973M | 27.6
+ amd64 ebs df__ | 762M  | 883M | 15.8
  amd64 inst df_ | 655M  | 823M | 25.6
  i386_ disk.img | 198M  | 210M |  6.0
  i386_ .tar.gz_ | 188M  | 200M |  6.3
  i386_ ebs df__ | 689M  | 814M | 18.1
  i386_ inst df_ | 582M  | 753M | 29.3
  
  (Note, precise df numers are from daily build 20120108, 1 day after
  alpha2)
  
  I suspect that part of the discrepancy between instance and ebs is
  somehow related to how we populate them.  In the build process, the
  instance store builds are done into a 1.4G filesystem, and then that is
  grown (resize2fs) to 10G before publishing to EC2.  The EBS population
  script downloads the 1.4GB filesystem image, creates a filesystem on a
  8G disk, then mounts it loopback and rsync's the data from the image to
  the new filesystem.  (Essentially, mkfs is done on a 1.4G filesystem,
  and one is done on a 8G filesystem).
  
  So i have the following separate issues raised from above:
   * why such a dramatic growth between 11.10 and 12.04 current
   * can we/should we get the EBS filesystem usage more in line with instance-store?
-  * Why the vast outlier below in increased usage of ebs for a given release-arch:
+  * Why the change in increased usage of ebs for a given release-arch:
     oneiric-amd64: 16%
     oneiric-i386:  18%
-    precise-amd64: 18%
+    precise-amd64: 7.2%
     precise-i386: 8%

** Attachment added: "fixed data collected"
   https://bugs.launchpad.net/ubuntu/+bug/926160/+attachment/2710853/+files/data-collected.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/926160

Title:
  precise cloud-images significantly larger than oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/926160/+subscriptions



More information about the Ubuntu-server-bugs mailing list