GNU bug report logs - #47218
glibc 2.33's HWCAPS and GCC Function Multiversioning for performance

Previous Next

Package: guix;

Reported by: Léo Le Bouter <lle-bout <at> zaclys.net>

Date: Wed, 17 Mar 2021 19:01:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47218 in the body.
You can then email your comments to 47218 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47218; Package guix. (Wed, 17 Mar 2021 19:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Léo Le Bouter <lle-bout <at> zaclys.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 17 Mar 2021 19:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: bug-guix <at> gnu.org
Subject: glibc 2.33's HWCAPS and GCC Function Multiversioning for performance
Date: Wed, 17 Mar 2021 19:59:51 +0100
[Message part 1 (text/plain, inline)]
Hello!

Please see:
- 
https://www.gnu.org/software/libc/manual/html_mono/libc.html#Hardware-Capability-Tunables
- https://www.phoronix.com/scan.php?page=news_item&px=glibc-hwcaps-RFC
- https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html

This could help GNU Guix create binaries that include multiple code
paths for several CPU features in the same binary and selecting the
best at runtime when the binary is run.

It is the best fit for GNU Guix because it means we can still use
substitutes and profit from specialized optimizations without
parameterized packages or each user adding "-march=native" to CFLAGS
(breaking reproducibility).

Léo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47218; Package guix. (Thu, 18 Mar 2021 13:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 47218 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Léo Le Bouter <lle-bout <at> zaclys.net>
Cc: 47218 <at> debbugs.gnu.org
Subject: Re: bug#47218: glibc 2.33's HWCAPS and GCC Function Multiversioning
 for performance
Date: Thu, 18 Mar 2021 14:17:42 +0100
Hi Léo,

Léo Le Bouter <lle-bout <at> zaclys.net> skribis:

> Please see:
> - 
> https://www.gnu.org/software/libc/manual/html_mono/libc.html#Hardware-Capability-Tunables
> - https://www.phoronix.com/scan.php?page=news_item&px=glibc-hwcaps-RFC
> - https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html
>
> This could help GNU Guix create binaries that include multiple code
> paths for several CPU features in the same binary and selecting the
> best at runtime when the binary is run.
>
> It is the best fit for GNU Guix because it means we can still use
> substitutes and profit from specialized optimizations without
> parameterized packages or each user adding "-march=native" to CFLAGS
> (breaking reproducibility).

For the record, we are well aware of these features and follow this very
closely in particular in the context of Guix-HPC:

  https://hpc.guix.info/blog/2018/01/pre-built-binaries-vs-performance/

It seems to me that this bug report is not actionable though.  Unless
there are concrete steps you’d like to suggest, I propose to close this
issue.

Thanks,
Ludo’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 29 Mar 2021 21:41:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 47218 <at> debbugs.gnu.org and Léo Le Bouter <lle-bout <at> zaclys.net> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 29 Mar 2021 21:41:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Apr 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.