Re: Bug#913886: Optimize TJENER's squid.conf for DEB package caching

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Bug#913886: Optimize TJENER's squid.conf for DEB package caching

Holger Levsen-2
On Fri, Nov 16, 2018 at 01:15:59PM +0000, Mike Gabriel wrote:
> I have adapted the Debian Edu squid.conf on TJENER with the below changes.
> This results in a tremendous speed improvement regarding the package
> download when installing multiple systems in one go via the Debian Edu PXE
> installer.
>
> IMHO we should adapt our squid.conf.

I'm not sure we should further vary from the package default. Have you
tried getting those changes applied to src:squid? To me it seems they
would be useful for any squid user, not just Debian Edu...

> Note: these changes have been taken
> from the squid-deb-proxy package. Another option would be to implement
> support for squid-deb-proxy on a Debian Edu site.

or: why cant we simply install this package?


--
cheers,
        Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug#913886: Optimize TJENER's squid.conf for DEB package caching

Wolfgang Schweer-3
On Fri, Nov 16, 2018 at 01:23:38PM +0000, Holger Levsen wrote:
> On Fri, Nov 16, 2018 at 01:15:59PM +0000, Mike Gabriel wrote:
> > I have adapted the Debian Edu squid.conf on TJENER with the below changes.
> > This results in a tremendous speed improvement regarding the package
> > download when installing multiple systems in one go via the Debian Edu PXE
> > installer.
> >
> > IMHO we should adapt our squid.conf.

Since d-e-c 2.10.44 the stock squid.conf is no longer tweaked; instead
the Debian Edu custom settings file is dropped into /etc/squid/conf.d
(as debian-edu.conf). The settings would go into this file.
 
> I'm not sure we should further vary from the package default.

See above: only addons are used, so it would be an additional allowed
customization.

> > Note: these changes have been taken
> > from the squid-deb-proxy package. Another option would be to implement
> > support for squid-deb-proxy on a Debian Edu site.
>
> or: why cant we simply install this package?
 
afaict an additional cache would be used, also a lot of configuration
work would be needed; squid-deb-proxy won't work out of the box…

I can confirm that it works w/ the debian-edu.conf file modified like
proposed.

Wolfgang

signature.asc (981 bytes) Download Attachment