From owner-freebsd-pkg@freebsd.org Thu Apr 9 14:53:05 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D5332BC5EF for ; Thu, 9 Apr 2020 14:53:05 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [IPv6:2a01:4f8:171:f902::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48ykf802PSz3CWm for ; Thu, 9 Apr 2020 14:53:03 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from crest-mbp.local (200116b864217300cd4cc80d4742dca7.dip.versatel-1u1.de [IPv6:2001:16b8:6421:7300:cd4c:c80d:4742:dca7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id D35F01E2A for ; Thu, 9 Apr 2020 14:52:55 +0000 (UTC) Subject: Re: EU - pkg mirror is slow To: freebsd-pkg@freebsd.org References: <20200406200750.2plzuyhsitstcxtn@tempp0> From: Jan Bramkamp Message-ID: <5be71991-74f3-b5d2-d9d2-5cad4aff4caf@rlwinm.de> Date: Thu, 9 Apr 2020 16:52:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200406200750.2plzuyhsitstcxtn@tempp0> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 48ykf802PSz3CWm X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of crest@rlwinm.de designates 2a01:4f8:171:f902::5 as permitted sender) smtp.mailfrom=crest@rlwinm.de X-Spamd-Result: default: False [-5.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[7.a.c.d.2.4.7.4.d.0.8.c.c.4.d.c.0.0.3.7.1.2.4.6.8.b.6.1.1.0.0.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[rlwinm.de]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; IP_SCORE(-2.72)[ip: (-9.37), ipnet: 2a01:4f8::/29(-2.61), asn: 24940(-1.59), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2020 14:53:05 -0000 On 06.04.20 22:07, Dhananjay Balan wrote: > (Please point me to the correct list if this is not the right one.) > > Recently I've started observing http://pkg0.bme.freebsd.org/ to be > really slow, max bandwidth I can get is 250kb/s on a good day. I've > tried it from two networks that I've access to -- hetzner DC (FSN1) > and Vodafone (Berlin). > > Is that mirror overloaded or do I have some weird peering? Good question it is even slow just enough of a response from it to validate a cache. With the Cache-Control header set to max-age=0 this slows down things a lot. Is there an efficient way to keep a full mirror synced? Just fetching all packages again and again to get a full mirror puts a lot of otherwise avoidable load on the poor package servers. Is there any help needed to adress the problem?