Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-fast can be more faster (some suggestions) #54

Closed
mayuroks opened this issue Feb 25, 2014 · 7 comments
Closed

apt-fast can be more faster (some suggestions) #54

mayuroks opened this issue Feb 25, 2014 · 7 comments

Comments

@mayuroks
Copy link

Initially when I installed and used apt-fast I dint see any difference at all. I checked the ap-fast.conf file and found this line

_DOWNLOADER='aria2c -c -j ${_MAXNUM} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'

This command can be further improved. On my machine I did some playing with aria2c on my laptop and found some interesting options which really made a difference

aria2c -j 8 -k 2M -s 8 -x 8

-k for min split size ( its 2MB in this case )
-x for max connections per server
-s tells aria to split files in to peices

If you could include those options in the package and release a newer version it would be great.

@ilikenwf
Copy link
Owner

If you'd like to add these as config file options, for debconf, we'd be happy to accept a pull request.

ericwooley added a commit to ericwooley/apt-fast that referenced this issue Jul 18, 2014
@ericwooley
Copy link

I forked the project and hardcoded those options in. I saw 2x - 3x improvements depending on package size. I don't have the time to figure out how to add it as an option, but if you want to verify how much faster it is, Here is my fork

@ilikenwf
Copy link
Owner

Put in a pull request so I can look at the diff. If it looks/works good,
I'll merge and add the option.

On Thu, Jul 17, 2014 at 10:10 PM, Eric Wooley notifications@github.com
wrote:

I forked the project and hardcoded those options in. I saw 2x - 3x
improvements depending on package size. I don't have the time to figure out
how to add it as an option, but if you want to verify how much faster it
is, Here is my fork https://github.com/ericwooley/apt-fast


Reply to this email directly or view it on GitHub
#54 (comment).

@PeterDaveHello
Copy link
Contributor

Oops, looks like we have the same idea, and I think it was done in 95f79b1, 0224aa2 & a1cc5de.

@alinourzad
Copy link

This github repo isnt mine. I created it . But sadly dont know how to remove it . And by the way what you said earlier about useless files ppl have found a way to force apt install junk and malware . So what u said is true.
Nvm apt-fast isnt needed in ubuntu any more ...

----- Reply message -----
From: "Peter Dave Hello" notifications@github.com
To: "ilikenwf/apt-fast" apt-fast@noreply.github.com
Subject: [apt-fast] apt-fast can be more faster (some suggestions) (#54)
Date: Mon, Dec 15, 2014 12:46

Oops, looks like we have the same idea, and I think it was done in 95f79b1, 0224aa2 & a1cc5de.


Reply to this email directly or view it on GitHub.

@PeterDaveHello
Copy link
Contributor

@alocersade you can just un-watch this repo.

@alinourzad
Copy link

Will look to it. Thank you

----- Reply message -----
From: "Peter Dave Hello" notifications@github.com
To: "ilikenwf/apt-fast" apt-fast@noreply.github.com
Cc: "ali nourzad" alocersade@gmail.com
Subject: [apt-fast] apt-fast can be more faster (some suggestions) (#54)
Date: Mon, Dec 15, 2014 19:09

@alocersade you can just un-watch this repo.


Reply to this email directly or view it on GitHub.

ilikenwf pushed a commit that referenced this issue Jan 31, 2016
Added various aria2c args as config based on suggestions on #54
@Lasall Lasall closed this as completed Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants