apt-fast

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
User avatar
WarHawk
Posts: 608
Joined: Thu Jul 20, 2017 8:55 am

apt-fast

Post by WarHawk »

Just saw this on another forum...might be of interest here

https://github.com/ilikenwf/apt-fast
http://www.mattparnell.com/projects/apt ... rades.html
apt-fast: A shellscript wrapper for apt that speeds up downloading of packages.
apt-fast is a shellscript wrapper for apt-get and aptitude that can drastically improve apt download times by downloading packages in parallel, with multiple connections per package.
Might use that to make initial updates and whatnot alot faster, at least on the download side of things
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: apt-fast

Post by MichaIng »

Yeah, we had apt-fast support in the fast. It was not added by default, but used, if available, AFAIK. But was dropped (accidentally, or because rarely in use?) with v6.0 I guess.

I will have a look. Actually should be interesting to use by default, if we install more then one package via G_AGI.

€: I opened an issue about this: https://github.com/Fourdee/DietPi/issues/1987
Earlier tests by Fourdee shows it to be actually slower instead of faster. It really depends on local network speed and APT mirror speed. Of course if the mirror offers package downloads with full speed that the device can handle, than multiple parallel connections usually slows the overall process down. Also the wrapper handling of course takes time. So needs testing, if/in which cases it is really a benefit.
Post Reply