Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
Hi, Maxim Cournoyer skribis: > On December 14, 2018 9:08:50 AM UTC, "Ludovic Courtès" wrote: > > [...] > >>The good news is that there are other optimization opportunities. :-) >> >>--8<---cut here---start->8--- >>$ guix size $(guix system build gnu/system/install.scm) | head -10 >>store item total >> self >>/gnu/store/0zajbn9q39yva4l0zzrcshlll8qikzba-linux-libre-4.19.6 >>236.5 236.5 21.2% >>/gnu/store/mdw00a2sq0qqyzqygmp9035g8r2rlslj-guix-0.15.0-8.71a78ba >>345.7 182.3 16.3% >>/gnu/store/1lcniyxkxkh8g73zvh2gpbccvl6ggna7-locale-2.28 >>91.891.8 8.2% >>/gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0 >>146.358.2 5.2% >>/gnu/store/ybglr7nfs8v9kpnm8vf4drg3gafnvd15-guile-static-stripped-2.2.4 >> 45.945.9 4.1% >>/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4 >>121.944.4 4.0% >>/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4 >>121.944.4 4.0% >>/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 >>37.836.3 3.2% >>/gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib >>68.030.2 2.7% >>--8<---cut here---end--->8 > > Why does Guile 2.2.4 appear twice but with a different hash? That’s a good question! It’s the kind of thing that we need to investigate… Ludo’.
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
Hello! On December 14, 2018 9:08:50 AM UTC, "Ludovic Courtès" wrote: [...] >The good news is that there are other optimization opportunities. :-) > >--8<---cut here---start->8--- >$ guix size $(guix system build gnu/system/install.scm) | head -10 >store item total > self >/gnu/store/0zajbn9q39yva4l0zzrcshlll8qikzba-linux-libre-4.19.6 >236.5 236.5 21.2% >/gnu/store/mdw00a2sq0qqyzqygmp9035g8r2rlslj-guix-0.15.0-8.71a78ba >345.7 182.3 16.3% >/gnu/store/1lcniyxkxkh8g73zvh2gpbccvl6ggna7-locale-2.28 >91.891.8 8.2% >/gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0 >146.358.2 5.2% >/gnu/store/ybglr7nfs8v9kpnm8vf4drg3gafnvd15-guile-static-stripped-2.2.4 > 45.945.9 4.1% >/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4 >121.944.4 4.0% >/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4 >121.944.4 4.0% >/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 >37.836.3 3.2% >/gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib >68.030.2 2.7% >--8<---cut here---end--->8 Why does Guile 2.2.4 appear twice but with a different hash? Maxim
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
Hi, Leo Famulari skribis: > On Wed, Dec 12, 2018 at 09:17:23AM +0100, Giovanni Biscuolo wrote: >> > I’m in favour of moving them elsewhere, such as %desktop-services. >> >> yes please: sound related services are not-so-base, we do not need them >> on installation/web/mail/DNS et. al servers (and containers) and it does >> not makes much sense to remove them an all that class of >> hosts/containers >> >> it makes sense - semantically speaking - to move sound to >> %desktop-services since we only need sound on desktops > > I would prefer if sound services were removed from the installation > system rather than from the %base-services. I am using systems based on > %base-services for music playback and other audio work. They are not > desktop systems — there is no graphical interface to these machines. Yeah I do that as well. On closer inspection my initial diagnostic was not accurate: the ALSA udev rules are not in the installation system itself: --8<---cut here---start->8--- scheme@(gnu system install)> (define s (operating-system-services installation-os)) scheme@(gnu system install)> (fold-services s #:target-type udev-service-type) $3 = #< type: # value: #< udev: # rules: (# #)>> --8<---cut here---end--->8--- Instead, the ALSA rules come from the bare-bones OS, which we purposefully add as a GC root of the installation OS (see commit 4e854b1814a9216ae7cc90aef4d82fd989a519c3). So I suppose there’s not much we can do in this area. The good news is that there are other optimization opportunities. :-) --8<---cut here---start->8--- $ guix size $(guix system build gnu/system/install.scm) | head -10 store item totalself /gnu/store/0zajbn9q39yva4l0zzrcshlll8qikzba-linux-libre-4.19.6 236.5 236.5 21.2% /gnu/store/mdw00a2sq0qqyzqygmp9035g8r2rlslj-guix-0.15.0-8.71a78ba 345.7 182.3 16.3% /gnu/store/1lcniyxkxkh8g73zvh2gpbccvl6ggna7-locale-2.28 91.8 91.8 8.2% /gnu/store/dna8kpb00kq176rz8x69yy4j33my2q55-perl-5.28.0146.3 58.2 5.2% /gnu/store/ybglr7nfs8v9kpnm8vf4drg3gafnvd15-guile-static-stripped-2.2.445.9 45.9 4.1% /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4121.9 44.4 4.0% /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4121.9 44.4 4.0% /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 37.8 36.3 3.2% /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib 68.0 30.2 2.7% --8<---cut here---end--->8--- Ludo’.
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
On Wed, Dec 12, 2018 at 09:17:23AM +0100, Giovanni Biscuolo wrote: > > I’m in favour of moving them elsewhere, such as %desktop-services. > > yes please: sound related services are not-so-base, we do not need them > on installation/web/mail/DNS et. al servers (and containers) and it does > not makes much sense to remove them an all that class of > hosts/containers > > it makes sense - semantically speaking - to move sound to > %desktop-services since we only need sound on desktops I would prefer if sound services were removed from the installation system rather than from the %base-services. I am using systems based on %base-services for music playback and other audio work. They are not desktop systems — there is no graphical interface to these machines. signature.asc Description: PGP signature
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
Ricardo Wurmus writes: > Ludovic Courtès writes: > >> One problem with the installation OS is that it’s pulling ALSA and all >> sorts of sound-related libraries (libsamplerate, etc.), which clearly is >> unnecessary in the installation image. That comes from the alsa-utils >> udev rules. We could remove those udev rules, but since they’re in >> %base-services, I chose not to do that to avoid breaking everyone’s >> config. for sure users should be warned of this important change, anyway I doubt any user using sound does not use %desktop-services (possibly customized) > I’m in favour of moving them elsewhere, such as %desktop-services. yes please: sound related services are not-so-base, we do not need them on installation/web/mail/DNS et. al servers (and containers) and it does not makes much sense to remove them an all that class of hosts/containers it makes sense - semantically speaking - to move sound to %desktop-services since we only need sound on desktops thanks! Gio -- Giovanni Biscuolo Xelera IT Infrastructures signature.asc Description: PGP signature
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
On Sun, Dec 09, 2018 at 05:16:58PM +0100, Ricardo Wurmus wrote: > > Ludovic Courtès writes: > > > One problem with the installation OS is that it’s pulling ALSA and all > > sorts of sound-related libraries (libsamplerate, etc.), which clearly is > > unnecessary in the installation image. That comes from the alsa-utils > > udev rules. We could remove those udev rules, but since they’re in > > %base-services, I chose not to do that to avoid breaking everyone’s > > config. > > I’m in favour of moving them elsewhere, such as %desktop-services. Or we could just remove the sound services from the installation image. signature.asc Description: PGP signature
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
Ludovic Courtès writes: > One problem with the installation OS is that it’s pulling ALSA and all > sorts of sound-related libraries (libsamplerate, etc.), which clearly is > unnecessary in the installation image. That comes from the alsa-utils > udev rules. We could remove those udev rules, but since they’re in > %base-services, I chose not to do that to avoid breaking everyone’s > config. I’m in favour of moving them elsewhere, such as %desktop-services. -- Ricardo
Re: 01/01: hydra: Increase image sizes for USB image and Flash image.
guix-comm...@gnu.org skribis: > commit 07c791c1104db3530eb12c918043fc3b30c093be > Author: Danny Milosavljevic > Date: Sun Dec 9 00:49:54 2018 +0100 > > hydra: Increase image sizes for USB image and Flash image. > > * build-aux/hydra/gnu-system.scm (qemu-jobs) : Increase from > 1024 MiB to 1500 MiB. > : Increase from 1024 MiB to 1500 MiB. As discussed earlier on the list, it would be nice™ to see why these images are so big and what can be done about it. Really, 1 GiB is already a lot for such a small image. In commit 040ae1881952c90dae9478e5cfff6aad0ce950da, I ended up increasing the image size for the tests, which is not great IMO. I looked at ‘guix size’ and couldn’t find any obvious way to improve things. One problem with the installation OS is that it’s pulling ALSA and all sorts of sound-related libraries (libsamplerate, etc.), which clearly is unnecessary in the installation image. That comes from the alsa-utils udev rules. We could remove those udev rules, but since they’re in %base-services, I chose not to do that to avoid breaking everyone’s config. Food for thought! Ludo’.