unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Status update on 1.0
Date: Thu, 21 Mar 2019 14:49:13 -0400	[thread overview]
Message-ID: <87ef70xdue.fsf@ngyro.com> (raw)
In-Reply-To: <87a7hw45ca.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 15 Mar 2019 14:47:33 +0100")

Hi Ludo,

Ludovic Courtès <ludo@gnu.org> writes:

>> Yes.  We should be working on “guix size gnome-shell”.  It more
>> accurately reflects the size of GDM, and (I hope you’re sitting down) it
>> weighs in at 2GiB!
>>
>> Fortunately, it looks like we could claw back ~400MiB by (somehow)
>> dropping “hplip-minimal”.  It gets pulled in through the path
>>
>>     gdm → gnome-settings-daemon → colord → sane-backends →
>>     hplip-minimal.
>>
>> We almost certainly don’t need it for GDM.  I guess removing it means
>> making a version of “colord” without “sane-backends”.  It was introduced
>> in commit 4c9287432824f396d5c614c3b2287f553cd9fb90.  I’ll look into
>> this.
>
> Cool!  That’d already be an improvement.

This didn’t work as well as I had hoped.  I was able to make a “lib”
output for “colord”, which gets rid of “hplip-minimal” and, in turn,
“gcc”.  However, it was supposed to also remove “llvm” and “python@3”,
but those are still in the closure because of other packages.  It looks
like breaking apart “mesa” (as Debian and Nix do) could cut out “llvm”
and maybe “python@2”.  The reason “python@3” is there is because of
“glib:bin”.  The “gnome-session” package brings it in so that it can
call “gsettings”.  Debian splits the GLib executables into “bin” and
“dev-bin”, and only the latter needs Python 3.  This is tricky because
“mesa” and “glib” have thousands of dependants, so changing them could
cause a lot of problems.  Splitting GLib is not so bad, but Mesa looks
to be quite complicated.

Another area that could be improved is NetworkManager.  GDM only needs
the “libnm” part, but it ends up bringing in everything.  NetworkManager
doesn’t have many dependants, so this could be done pretty quickly
(provided that splitting it is easy enough).

>> GNOME Shell has a handful of silly references like “inkscape” and
>> “webkitgtk” that are huge and (I assume) unnecessary.
>
> Oh indeed.  Inkscape comes from
> 45fef894eb5b39029633cd0cd907e8ce8c5ab379, I’ll look into it.

I managed to remove “webgitgtk” from the closure of “gnome-shell”.
Inkscape is still in there, though.  Maybe converting the SVG to a PNG
in a separate derivation would be an easy solution.

All told, GDM is down to 1.2GiB, and GNOME Shell is 1.64GiB.  That’s
better, but not great.  Plenty of GNOME software comes in big bundles
where you get a daemon, a low-level D-Bus library, a high-level library,
a GUI, and some utilities.  Being able to break these up would improve
the situation quite a bit, but it will be a lot of work.  I don’t know
how much of this we can solve before 1.0.  It all depends on how much of
a hurry we’re in.  :)

Right now, I have a bit testing to do with my current patches, and then
maybe I could break up NetworkManager and fix the dependency cycle with
GDM and GNOME Shell.  If it can go through a core-updates cycle, I could
split up GLib.  I don’t think I can split up Mesa, though.  I am not
very familiar with it.

I will be tied up for about a week, so I won’t be able to do any of it
before next weekend (Mar. 29).


-- Tim

  parent reply	other threads:[~2019-03-21 18:50 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 15:17 Status update on 1.0 Ludovic Courtès
2019-03-13 15:32 ` Tobias Geerinckx-Rice
2019-03-13 16:00   ` Pierre Neidhardt
2019-03-13 18:33     ` Danny Milosavljevic
2019-03-13 18:47       ` Pierre Neidhardt
2019-03-15 12:54         ` Ludovic Courtès
2019-03-15 13:06           ` Pierre Neidhardt
2019-03-15 16:48           ` Mathieu Othacehe
2019-03-14  2:26       ` Maxim Cournoyer
2019-03-15 12:53   ` Ludovic Courtès
2019-03-13 16:34 ` mikadoZero
2019-03-13 17:08   ` Ricardo Wurmus
2019-03-13 18:14     ` pelzflorian (Florian Pelz)
2019-03-13 19:43       ` L p R n d n
2019-03-14 13:54       ` L p R n d n
2019-03-15 12:57       ` Ludovic Courtès
2019-03-15 13:56         ` pelzflorian (Florian Pelz)
2019-03-13 20:53     ` mikadoZero
2019-03-14  3:54 ` Timothy Sample
2019-03-15 13:47   ` Ludovic Courtès
2019-03-15 17:44     ` Timothy Sample
2019-03-23 16:36       ` Ludovic Courtès
2019-03-21 18:49     ` Timothy Sample [this message]
2019-03-23 16:42       ` Ludovic Courtès
2019-03-28  3:28         ` Timothy Sample
2019-03-14 21:16 ` Gábor Boskovits
2019-03-15 13:51   ` Ludovic Courtès
2019-03-15 18:31     ` Thompson, David
2019-03-15 19:20       ` Gábor Boskovits
     [not found]         ` <CAN1Dt4SQzXJOK2bJF47cFO5ERg9=uf8wktH=arJ=AypEUnO2yw@mail.gmail.com>
2019-03-21  0:52           ` Fwd: " Kristofer Buffington
2019-03-21 14:59             ` Gábor Boskovits
2019-03-27 15:26 ` Ludovic Courtès
2019-03-27 15:29   ` znavko
2019-03-27 23:10   ` Danny Milosavljevic
2019-03-29 16:07     ` Ludovic Courtès
2019-03-28  0:09   ` pelzflorian (Florian Pelz)
2019-03-29 16:13     ` KMScon vs. AMD Radeon Ludovic Courtès
2019-03-29 16:35       ` Mathieu Othacehe
2019-03-29 18:00         ` pelzflorian (Florian Pelz)
2019-03-30  7:25           ` Mathieu Othacehe
2019-03-30  8:40             ` Pierre Neidhardt
2019-03-30 15:22               ` pelzflorian (Florian Pelz)
2019-04-01 13:58                 ` Mathieu Othacehe
2019-04-01 20:01                   ` Ludovic Courtès
2019-04-02  7:53                     ` Mathieu Othacehe
2019-04-02 16:31                       ` Danny Milosavljevic
2019-04-03  5:11                         ` pelzflorian (Florian Pelz)
2019-04-03  7:19                           ` Mathieu Othacehe
2019-04-03  7:34                             ` pelzflorian (Florian Pelz)
2019-04-03 11:13                             ` Danny Milosavljevic
2019-04-03 20:46                               ` Ludovic Courtès
2019-04-03  7:37                         ` Mathieu Othacehe
2019-04-03 11:19                           ` Danny Milosavljevic
2019-04-03 18:56                             ` Danny Milosavljevic
2019-04-03 20:48                               ` Ludovic Courtès
2019-04-03 21:02                                 ` Danny Milosavljevic
2019-04-04  5:02                                   ` pelzflorian (Florian Pelz)
2019-04-04  7:38                                     ` Mathieu Othacehe
2019-04-04 13:49                                       ` Mathieu Othacehe
2019-04-04 16:07                                         ` pelzflorian (Florian Pelz)
2019-04-06  9:05                                           ` Danny Milosavljevic
2019-04-06 11:03                                             ` pelzflorian (Florian Pelz)
2019-04-14  9:48                                           ` pelzflorian (Florian Pelz)
2019-04-14 20:54                                             ` pelzflorian (Florian Pelz)
2019-04-15 12:09                                               ` Ludovic Courtès
2019-04-17 17:26                                                 ` pelzflorian (Florian Pelz)
2019-04-18  7:05                                                   ` pelzflorian (Florian Pelz)
2019-04-19 12:19                                                     ` pelzflorian (Florian Pelz)
2019-04-18 21:47                                                   ` Ludovic Courtès
2019-04-19 12:17                                                     ` pelzflorian (Florian Pelz)
2019-04-19 15:17                                                       ` Ludovic Courtès
2019-04-19 17:11                                                         ` pelzflorian (Florian Pelz)
2019-04-20  8:59                                                           ` pelzflorian (Florian Pelz)
2019-04-20  9:47                                                           ` Ludovic Courtès
2019-04-20 10:10                                                             ` pelzflorian (Florian Pelz)
2019-04-20 10:16                                                             ` Pierre Neidhardt
2019-04-20 10:39                                                               ` pelzflorian (Florian Pelz)
2019-04-20 11:21                                                                 ` Félicien Pillot
2019-04-20 12:30                                                                   ` Pierre Neidhardt
2019-04-20 12:37                                                                     ` Pierre Neidhardt
2019-04-21 19:57                                                                       ` Ludovic Courtès
2019-04-22  8:46                                                                         ` Pierre Neidhardt
2019-04-22 11:48                                                                       ` pelzflorian (Florian Pelz)
2019-04-22 18:34                                                                         ` pelzflorian (Florian Pelz)
2019-04-26  8:35                                                             ` pelzflorian (Florian Pelz)
2019-04-02  9:26                     ` pelzflorian (Florian Pelz)
2019-04-02 11:42                       ` pelzflorian (Florian Pelz)
2019-04-03  4:17                         ` pelzflorian (Florian Pelz)
2019-04-03  9:17                           ` pelzflorian (Florian Pelz)
2019-04-03  9:00                     ` Pierre Neidhardt
2019-04-07 16:10     ` Installer & locales Ludovic Courtès
2019-04-07 16:12     ` Installer & services Ludovic Courtès
2019-04-08  9:26       ` Ludovic Courtès
2019-04-01 19:34   ` Status update on 1.0 mikadoZero
2019-04-02  8:05     ` Ludovic Courtès
2019-03-28 13:46 ` Marius Bakke
2019-03-29 16:11   ` Ludovic Courtès
2019-03-29 18:56     ` Ricardo Wurmus
2019-03-31 20:52       ` ‘staging’ and GNOME updates Ludovic Courtès
2019-04-01 17:16         ` Efraim Flashner
2019-04-01 19:36           ` Ludovic Courtès
2019-04-10 16:53         ` Ricardo Wurmus
2019-04-10 21:13           ` Ludovic Courtès
2019-04-10 21:13           ` Ludovic Courtès
2019-04-11 19:33             ` Ricardo Wurmus
2019-04-13 17:46               ` Timothy Sample
2019-04-13 18:07                 ` Ricardo Wurmus
2019-04-15 12:13                   ` Ludovic Courtès
2019-04-15 12:34               ` Ludovic Courtès
2019-04-15 21:55                 ` Ludovic Courtès
2019-04-15 22:33                   ` Ricardo Wurmus
2019-04-16  4:59                     ` Timothy Sample
2019-04-16  9:31                       ` Ricardo Wurmus
2019-04-16 20:14                       ` Ludovic Courtès
2019-04-22 10:15                         ` Ludovic Courtès
2019-04-23  7:17                           ` Ricardo Wurmus
2019-04-23  7:20                             ` Ricardo Wurmus
2019-04-23 10:28                             ` Ludovic Courtès
2019-04-23 18:18                               ` Ricardo Wurmus
2019-04-24  4:10                                 ` Timothy Sample
2019-04-24  6:54                                   ` Ricardo Wurmus
2019-04-24 19:19                                     ` Timothy Sample
2019-04-25 12:57                                       ` Ricardo Wurmus
2019-04-25 15:33                                       ` Giovanni Biscuolo
2019-04-10 13:41       ` Status update on 1.0 Jonathan Brielmaier
2019-04-10 16:56         ` Ricardo Wurmus
2019-04-10 17:57           ` Jonathan Brielmaier
2019-04-10 19:05             ` Ricardo Wurmus
2019-04-17 12:49 ` Pierre Neidhardt
2019-04-17 13:38   ` TeX Live Ludovic Courtès
2019-04-17 14:04     ` Pierre Neidhardt
2019-04-18 14:39       ` Ricardo Wurmus

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ef70xdue.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=guix-devel@gnu.org \
    --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 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).