Speed up Entropy

If you experience a low download speed when upgrading your system with Entropy there are several things you can do to try speed it up.

Select the best mirror
equo repo mirrorsort sabayonlinux.org

This will do some tests and evaluate the results automatically. Then sets the mirrors in the correct priority and writes the changes in /etc/entropy/repositories.conf

Use multifetch
If you do have a better internet connection, you can change the way how Entropy downloads the packages you need for installing.
Open /etc/entropy/client.conf and change multifetch as follows:
multifetch = 10

Don’t forget to remove the # comment char, otherwise the line would still be skipped over.

Use delta technology
When we create a new version of a package on the server, the REAL difference (delta) between them could be small. Sometimes we just need to recompile a package because it got broken because some library got a new API version or whatever. So on a 16MB package, that diff could be as little as 100kb!
In the Entropy package manager we’ve build in a feature that could actually download the difference and then patch the old package and use the newly created on on your machine. In order to have this working you should keep a copy of your downloaded packages. (So don’t run equo cleanup!)
If you are on lower bandwidth but have enough disk space on your system you might want to consider enable packages-delta.

Open /etc/entropy/client.conf and change packages-delta as follows:
packages-delta = enable

Don’t forget to remove the # comment char, otherwise the line would still be skipped over.

  1. #1 by Gabvil on May 11, 2011 - 6:23 pm

    Dear Joost, why if packages.sabayon shows updates in several files, in entropy/equo did not appear. Yesterday i saw the new kernel and nvidia driver revision and can’t get it.

  2. #2 by Chasha on May 21, 2011 - 1:26 pm

    Nice blog Joost, I’m following your advice. Thanks for the info! I really need to save my bandwidth 😛

  3. #3 by totedati on June 15, 2011 - 1:59 am

    hummm … i do not know about this delta thing! yeeee … testing right now!

  4. #4 by endstille on September 12, 2011 - 6:41 am

    dear joost,
    why didn’t you tell us, that we need bsdiff installed as well, to make delta work?

    • #5 by joostruis on September 19, 2011 - 8:10 pm

      Yes I forgot, however:
      delta will be enabled by default, and bsdiff added to all Sabayon spins.

  1. Links 11/5/2011: Linux 2.6.39 is Coming, Skypocalypse Analyses | Techrights
  2. Acelerando o Entropy | Blog do liquuid

Leave a reply to endstille Cancel reply