unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* wip-http-pipelining needs testing!
@ 2015-01-05 22:18 Ludovic Courtès
  2015-03-23 21:34 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2015-01-05 22:18 UTC (permalink / raw)
  To: guix-devel

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’s 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 ‘guix
substitute-binary’ from this branch):

  sudo ./pre-inst-env guix-daemon --build-users-group=whatever ...

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 <http://lists.gnu.org/archive/html/guix-devel/2014-06/msg00069.html>
for some background.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wip-http-pipelining needs testing!
  2015-01-05 22:18 wip-http-pipelining needs testing! Ludovic Courtès
@ 2015-03-23 21:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-03-23 21:34 UTC (permalink / raw)
  To: guix-devel

ludo@gnu.org (Ludovic Courtès) 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’s 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 ‘guix
> substitute-binary’ from this branch):
>
>   sudo ./pre-inst-env guix-daemon --build-users-group=whatever ...
>
> 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 <http://lists.gnu.org/archive/html/guix-devel/2014-06/msg00069.html>
> for some background.

I realized that the best way to get more testing was to merge it, so
here goes.  :-)

Hopefully it’ll 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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-23 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-05 22:18 wip-http-pipelining needs testing! Ludovic Courtès
2015-03-23 21:34 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).