[Bug 1627190] Re: livecd-rootfs: .pyc files stripped from desktop ISO livefs, makes python startup slower

Iain Lane iain at orangesquash.org.uk
Thu Sep 29 16:44:00 UTC 2016


Never mind #1, I've done it. File diff attached to show that it worked.
There are some other changes too, so these numbers aren't completely
accurate.

root at raleigh:/home/laney/temp/reallytemp# ls livecd.ubuntu.squashfs  -l # new
-rw-r--r-- 1 laney laney 1673199616 Sep 29 16:44 livecd.ubuntu.squashfs
root at raleigh:/home/laney/temp/reallytemp# ls ubuntu/livecd.ubuntu.squashfs  -l # old
-rw-r--r-- 1 laney laney 1654173696 Sep 29 08:56 ubuntu/livecd.ubuntu.squashfs

Which is about a 19 MB difference.

WDYT?

Should we make this call for flavours too?


** Attachment added: "filediff"
   https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1627190/+attachment/4751146/+files/filediff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1627190

Title:
  livecd-rootfs: .pyc files stripped from desktop ISO livefs, makes
  python startup slower

Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  It seems we've had code in livecd-rootfs for roughly forever to strip
  .pyc files out of the squashfs included on desktop images.  There is
  an override to skip this for server and cloud images, but we
  discovered this recently because the missing .pyc files on ubuntu-core
  images causes very long start-up times for python apps on some armhf
  systems.

  So the question is, is this still a sensible optimization on Ubuntu
  Desktop images?  It was done at a time when space was tight; that's
  much less of a concern now than it was.

  If this does still make sense for Desktop, we should probably at least
  invert the logic to make this opt-in rather than opt-out so that new
  image types on ARM don't get caught out with the problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1627190/+subscriptions



More information about the foundations-bugs mailing list