Koozali.org: home of the SME Server

Speed up yum updates with yum-presto

guest22

Speed up yum updates with yum-presto
« on: February 05, 2015, 07:05:15 AM »
Hi,

just wanted to mention the yum-presto yum plugin for SME Server 9. It is available from the base repository. (yum install yum-presto)

I haven't had the chance to test thoroughly yet, but it should reduce download sizes up to 80% for it only downloads the delta between existing rpm and new rpm. A yum update after initial install should save you time and bandwidth.

If you're going to have a go with it, please let us know and we will wikinize it.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #1 on: February 05, 2015, 09:50:11 AM »
will try asap and report back..

RequestedDeletion, could you please raise a NFR? if this plugin is available from upstream repo, it could be included in the iso
Thank you

Offline brianr

  • *
  • 990
  • +2/-0
Re: Speed up yum updates with yum-presto
« Reply #2 on: February 05, 2015, 10:54:08 AM »
"No package yum-presto available"

Any ideas?

I already use this for my Fedora 20 Desktop - it certainly works well.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #3 on: February 05, 2015, 10:57:38 AM »
installed right now on 3 SME9/64 (production), 1 SME9/64 (test), 1 Centos 6.6 (production) 1 Nethserver 6.5 (production) without any issue :-)

can you post here some more info? arch? command you gave?

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Speed up yum updates with yum-presto
« Reply #4 on: February 05, 2015, 11:05:52 AM »
Just FYI, it's not always faster, depending on the bandwidth available and the power of your CPU. With 30Mbps available for example, it's usually much faster to disable presto, rather than downloading just delta rpm and rebuilding them locally (which is a CPU intensive operation). But it can be interesting if you pay per GB downloaded
C'est la fin du monde !!! :lol:

Offline brianr

  • *
  • 990
  • +2/-0
Re: Speed up yum updates with yum-presto
« Reply #5 on: February 05, 2015, 11:06:11 AM »
installed right now on 3 SME9/64 (production), 1 SME9/64 (test), 1 Centos 6.6 (production) 1 Nethserver 6.5 (production) without any issue :-)

can you post here some more info? arch? command you gave?

oops - sorry just realised - that machine is SME8 - I'll try it on an SME9....

ok, that works fine, and I did an update which ran through  - reduced the download by 71% (it said)

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

guest22

Re: Speed up yum updates with yum-presto
« Reply #6 on: February 05, 2015, 11:23:12 AM »
Just FYI, it's not always faster, depending on the bandwidth available and the power of your CPU. With 30Mbps available for example, it's usually much faster to disable presto, rather than downloading just delta rpm and rebuilding them locally (which is a CPU intensive operation). But it can be interesting if you pay per GB downloaded

If we can fine tune our findings, we might have a winner to document and to open up a NFR.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #7 on: February 05, 2015, 11:33:06 AM »
Just FYI, it's not always faster, depending on the bandwidth available and the power of your CPU. With 30Mbps available for example, it's usually much faster to disable presto, rather than downloading just delta rpm and rebuilding them locally (which is a CPU intensive operation). But it can be interesting if you pay per GB downloaded

well.. nowadays cpu is not a problem, bandwidth is (at least here in Italy)
and it will be usefull after the first setup
all IMVHO

guest22

Re: Speed up yum updates with yum-presto
« Reply #8 on: February 05, 2015, 11:36:24 AM »
and it will be usefull after the first setup

In light of hurry up the next ISO because of many (upstream) updates and careful creation of a new ISO, this is exactly why I looked at yum-presto. We may be able to satisfy both worlds.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Speed up yum updates with yum-presto
« Reply #9 on: February 05, 2015, 11:37:34 AM »
Ha! so there's no general rule ;-)
In France (just next to Italy), most of the time bandwidth is not an issue (got 100Mbps at home + a 6Mbps backup), especially if you choose to host your server in a DC (where you can easily have 1Gbps)
C'est la fin du monde !!! :lol:

guest22

Re: Speed up yum updates with yum-presto
« Reply #10 on: February 05, 2015, 11:42:59 AM »
and I believe TerryF is still using cans and a string to get things across... ;-)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #11 on: February 05, 2015, 11:43:46 AM »
ROTFL.. 100Mbps is a dream.. :-)

in any case, the bottleneck is usually wan connection, not cpu.. I vote for a NFR :-)

guest22

Re: Speed up yum updates with yum-presto
« Reply #12 on: February 05, 2015, 11:45:55 AM »
150Mbps here... Just received a notice that it will be upgraded to 180 for free....

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #13 on: February 05, 2015, 11:47:26 AM »
I hate you, don't you know? :-D

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Speed up yum updates with yum-presto
« Reply #14 on: February 05, 2015, 11:49:24 AM »
Could have up to 400Mbps for a few more $$ (~45€/month) if I ask for the new modem (DOCSIS 3) :-D
C'est la fin du monde !!! :lol:

guest22

Re: Speed up yum updates with yum-presto
« Reply #15 on: February 05, 2015, 11:51:12 AM »
Love you too :)


If I can just receive the best recipe for Gnocci, Aligot, saussise de Toulouse and Coq au vin, I would be a happy man and I will blow you over some bits.

guest22

Re: Speed up yum updates with yum-presto
« Reply #16 on: February 05, 2015, 11:51:46 AM »
Could have up to 400Mbps for a few more $$ (~45€/month) if I ask for the new modem (DOCSIS 3) :-D


UBER boss

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #17 on: February 05, 2015, 11:52:39 AM »
in my area (north-east of italy, near Venice, a rich area) we got 20/30Mbps..

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #18 on: February 05, 2015, 11:54:07 AM »
ok.. guys, break is over.. we're going OT..

RequestedDeletion, can you please open a NFR? TIA

Offline brianr

  • *
  • 990
  • +2/-0
Re: Speed up yum updates with yum-presto
« Reply #19 on: February 05, 2015, 11:59:59 AM »
30-60Mbps is the norm in the UK, using FTTC (Fibre to the cabinet).

ADSL2+ gives up about 20Mbps if you are close enough to the Exchange, but do not have FTTC.

Otherwise ADSL is 1-6Mbps.

Sorry Stefano for the OT post - I did feel that the UK was missing out!!
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed up yum updates with yum-presto
« Reply #20 on: February 05, 2015, 12:19:44 PM »
Brianr, don't worry.. your post confirms that that feature would be usefull for countries where bandwidth is not like in france or germany ;-)

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Speed up yum updates with yum-presto
« Reply #21 on: February 05, 2015, 12:32:26 PM »
I hate you all :-)
--
qui scribit bis legit

guest22

Re: Speed up yum updates with yum-presto
« Reply #22 on: February 05, 2015, 03:53:53 PM »