From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: wip-http-pipelining needs testing! Date: Mon, 23 Mar 2015 22:34:14 +0100 Message-ID: <87fv8vv1nt.fsf@gnu.org> References: <87h9w4hnxi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya9zK-0000Vk-Mi for guix-devel@gnu.org; Mon, 23 Mar 2015 17:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya9zF-0004rd-Ns for guix-devel@gnu.org; Mon, 23 Mar 2015 17:34:22 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya9zF-0004rZ-Kn for guix-devel@gnu.org; Mon, 23 Mar 2015 17:34:17 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:44419 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Ya9zF-0001hw-3O for guix-devel@gnu.org; Mon, 23 Mar 2015 17:34:17 -0400 In-Reply-To: <87h9w4hnxi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 05 Jan 2015 23:18:01 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Last month Mark installed Nginx on Hydra, with proper caching of > narinfos. After some debugging, wip-http-pipelining is now in a good > shape: it has performance comparable to what we currently have, *and* > it=E2=80=99s single-threaded and shows a progress report while downloading > substitute info (aka. narinfo.) > > I would very much welcome further testing. To do that, you need to run > the daemon like this (you need both the daemon and =E2=80=98guix > substitute-binary=E2=80=99 from this branch): > > sudo ./pre-inst-env guix-daemon --build-users-group=3Dwhatever ... > > Then just use the guix commands with substitutes enabled. To force an > update, you can clear the local cache with a command like: > > sudo rm -rf /var/guix/substitute-binary/cache/ > > See > for some background. I realized that the best way to get more testing was to merge it, so here goes. :-) Hopefully it=E2=80=99ll make our lives brighter. The worst that can happen= is for things to become slower. This may be the case when you stumble upon narinfos not yet cached by nginx on hydra.gnu.org. Fortunately, as the number of users tends to infinity, the probability of querying a non-cached narinfo tends to zero. Feedback and bug reports welcome! Ludo=E2=80=99.