[Bug 915569] [NEW] Latest version is much slower than older ones

Daniel Manrique daniel.manrique at canonical.com
Thu Jan 12 19:23:59 UTC 2012


Public bug reported:

We're using germinate to get a list of dependencies needed to install
checkbox, meant to produce a tarball of .debs that can be installed on a
server that's offline.

While doing this we noticed the germinate process was taking a really
long time (at least an hour, sometimes up to three). What we did was go
back to rev376 of germinate, and that one is able to finish the process
in a few minutes.

So at least for the way we're using germinate (which could potentially
be wrong, but it *is* producing good results) there's a regression with
regards to execution time.


How to reproduce:

bzr branch lp:germinate germinate-head 
bzr branch -r376 lp:germinate germinate-376

mkdir germ-temp-{1,2}

cd germ-temp-1
echo "Run with rev 376"
PYTHONPATH=../germinate-376 time ../germinate-376/germinate.py  -s ubuntu.oneiric  -m http://archive.ubuntu.com/ubuntu/ -d oneiric -a amd64 -c main,universe --seed-packages ubuntu-desktop
cd ..

cd germ-temp-2
echo "Run with HEAD"
PYTHONPATH=../germinate-head time ../germinate-head/bin/germinate  -s ubuntu.oneiric  -m http://archive.ubuntu.com/ubuntu/ -d oneiric -a amd64 -c main,universe ubuntu-desktop
cd ..

Expected results: 
both runs run in a reasonable amount of time.

Actual results:
When run on a 2.4-GHz i5 system with 4GB RAM and a 10-Mbit connection, 11.10 amd64, latest is about 34 times slower than r376:

first run (r376):
i5384inputs+1123488outputs (0major+77624minor)pagefaults 0swaps

real	2m16.029s
user	1m51.047s
sys	0m2.656s


Second run (latest revision):
4055.88user 6.01system 1:08:02elapsed 99%CPU (0avgtext+0avgdata 845152maxresident)k
784inputs+1150432outputs (0major+72860minor)pagefaults 0swaps

real	68m2.499s
user	67m35.889s
sys	0m6.016s

** Affects: germinate (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Latest version is much slower than older ones

Status in “germinate” package in Ubuntu:
  New

Bug description:
  We're using germinate to get a list of dependencies needed to install
  checkbox, meant to produce a tarball of .debs that can be installed on
  a server that's offline.

  While doing this we noticed the germinate process was taking a really
  long time (at least an hour, sometimes up to three). What we did was
  go back to rev376 of germinate, and that one is able to finish the
  process in a few minutes.

  So at least for the way we're using germinate (which could potentially
  be wrong, but it *is* producing good results) there's a regression
  with regards to execution time.

  
  How to reproduce:

  bzr branch lp:germinate germinate-head 
  bzr branch -r376 lp:germinate germinate-376

  mkdir germ-temp-{1,2}

  cd germ-temp-1
  echo "Run with rev 376"
  PYTHONPATH=../germinate-376 time ../germinate-376/germinate.py  -s ubuntu.oneiric  -m http://archive.ubuntu.com/ubuntu/ -d oneiric -a amd64 -c main,universe --seed-packages ubuntu-desktop
  cd ..

  cd germ-temp-2
  echo "Run with HEAD"
  PYTHONPATH=../germinate-head time ../germinate-head/bin/germinate  -s ubuntu.oneiric  -m http://archive.ubuntu.com/ubuntu/ -d oneiric -a amd64 -c main,universe ubuntu-desktop
  cd ..

  Expected results: 
  both runs run in a reasonable amount of time.

  Actual results:
  When run on a 2.4-GHz i5 system with 4GB RAM and a 10-Mbit connection, 11.10 amd64, latest is about 34 times slower than r376:

  first run (r376):
  i5384inputs+1123488outputs (0major+77624minor)pagefaults 0swaps

  real	2m16.029s
  user	1m51.047s
  sys	0m2.656s

  
  Second run (latest revision):
  4055.88user 6.01system 1:08:02elapsed 99%CPU (0avgtext+0avgdata 845152maxresident)k
  784inputs+1150432outputs (0major+72860minor)pagefaults 0swaps

  real	68m2.499s
  user	67m35.889s
  sys	0m6.016s

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




More information about the foundations-bugs mailing list