[Apt-cacher-ng-users] slow "apt-get update" via apt-cacher-ng
Kirill Timofeev
kvt at hulu.com
Tue Jul 29 00:15:31 UTC 2014
Hi folks,
I have vm with ubuntu 14.04. I installed apt-cacher-ng on this machine
and configured proxy in /etc/apt/conf.d/01proxy:
root at els-trusty-test-02:~# dpkg -l|grep apt-cacher-ng
ii apt-cacher-ng 0.7.26-1 amd64 caching
proxy server for software repositories
root at els-trusty-test-02:~# cat /etc/apt/apt.conf.d/01proxy
Acquire::http::Proxy "http://127.0.0.1:3142";
root at els-trusty-test-02:~# time apt-get update >/dev/null 2>&1
real 0m35.008s
user 0m4.576s
sys 0m0.673s
root at els-trusty-test-02:~# rm /etc/apt/apt.conf.d/01proxy
root at els-trusty-test-02:~# time apt-get update >/dev/null 2>&1
real 0m13.935s
user 0m3.796s
sys 0m0.581s
root at els-trusty-test-02:~#
As you can see "apt-get update" via apt-cacher-ng takes much more time
than directly. Please let me know if I need to tweak any configs. Also
please let me know if I need to provide more information.
Thanks,
Kirill.
More information about the Apt-cacher-ng-users
mailing list