all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Josselin Poiret <dev@jpoiret.xyz>, 66156@debbugs.gnu.org
Subject: [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading
Date: Fri, 22 Sep 2023 16:07:13 +0200	[thread overview]
Message-ID: <87v8c2gv3i.fsf@gnu.org> (raw)
In-Reply-To: <cover.1695386493.git.ludo@gnu.org> ("Ludovic Courtès"'s message of "Fri, 22 Sep 2023 14:52:27 +0200")

Ludovic Courtès writes:

Hi Ludo,

> This patch series, my friends, sets up Smart Hurdloading™, sometimes
> referred to as “Hurd auto-offloading”.  (Yeah I worked hard on branding…)
>
> Concretely, if you add (service hurd-vm-service-type), you can now run:
>
>   guix build libreoffice -s i586-gnu

Beautiful!  I'm wondering how this works wrt disk size; the default is
still 'guess?  In my childhurds I have

   (hurd-vm-configuration
    ..
    (disk-size (* 16 1024 (expt 2 20))) ;16GiB

which is pretty cheap now that we have qcow2.  I'm not sure how
expensive it is to set memory-size if you don't use it?

> The series is a bit of a potpourri: I fixed Hurd issues here and there
> (currently offloading to a childhurd doesn’t work on ‘master’, because
> of the locale issue, for instance), improved documentation, etc.  I also
> took a couple of long detours not shown here that might lead to further
> improvements in the future.

That's great, very nice.  And quite understandable afaic, the hurd-team
branch has also been quite a mixed set of work.

> My goal is to extend this mechanism beyond the Hurd, to have a generic
> mechanism to spin up Guix System VMs we can easily offload to.
>
> Thoughts?

I'm wondering if there is a way to/if we need a way to set the default
priority of the childhurd.  I'm usually offloading to another machine's
childhurd and will probably want to prioritize that when I'm at home.

(Making a copy of /etc/guix/machines.scm and editing that as required
would probably mork for me.)

I've added this patch set to the hurd-team branch and am testing it
now.  The only thing I found without testing:

> Subject: [bug#66156] [PATCH 06/12] services: guix: Support declarative offloading setup.
> To: 66156@debbugs.gnu.org
> Cc: Ludovic Courtès <ludo@gnu.org>
> Date: Fri, 22 Sep 2023 14:54:07 +0200 (44 minutes, 21 seconds ago)
> Resent-From: Ludovic Courtès <ludo@gnu.org>
> 
> * gnu/services/base.scm (guix-machines-files-installation): New
> procedure.
> (<guix-configuration>)[build-machines]: New field.
> (guix-activation): Call ‘ guix-machines-files-installation’.
                           ^
Remove space.

Thanks for this amazing piece of work and bug-fixing!

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com




  parent reply	other threads:[~2023-09-22 14:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22 12:52 [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 01/12] system: vm: Remove unused variable Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 02/12] secret-service: Increase default handshake timeout Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 03/12] services: hurd-vm: Use the default SSH port number Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 04/12] gnu: glibc-utf8-locales: Reintroduce input labels Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 05/12] services: guix: Use the right locale package on GNU/Hurd Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 06/12] services: guix: Support declarative offloading setup Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 07/12] services: childhurd: Authorize the childhurd’s key on the host Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 08/12] services: hurd-vm: ‘image’ field has to be an <image> record Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 09/12] tests: hurd-vm: Remove custom disk image configuration Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 10/12] services: hurd-vm: Disable password-based authentication for root Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 11/12] doc: Give an example showing how to add an account in the childhurd Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 12/12] services: hurd-vm: Implement zero-configuration offloading Ludovic Courtès
2023-09-22 14:07 ` Janneke Nieuwenhuizen [this message]
2023-09-22 15:24   ` [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading Ludovic Courtès
2023-09-23 13:44     ` Janneke Nieuwenhuizen
2023-09-27 17:35       ` Ludovic Courtès
2023-09-27 17:52         ` Janneke Nieuwenhuizen
2023-10-01 21:06   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8c2gv3i.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=66156@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.