Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Guile compile time
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 926

PostPosted: Tue Nov 12, 2024 10:16 pm    Post subject: Guile compile time Reply with quote

Surely this must be a new record - from ten to a hundred in a single release :) Any idea what is going on here?

Code:

2021-07-03T21:14:09 >>> dev-scheme/guile-2.2.7-r1: 8′52″
2021-10-31T23:43:15 >>> dev-scheme/guile-2.2.7-r1: 9′22″
2022-06-18T22:38:43 >>> dev-scheme/guile-2.2.7-r1: 9′16″
2023-07-09T22:22:06 >>> dev-scheme/guile-2.2.7-r1: 10′09″
2024-03-25T14:13:49 >>> dev-scheme/guile-2.2.7-r1: 9′58″
2024-11-09T22:14:29 <<< dev-scheme/guile-2.2.7-r1: 1s
2024-11-09T22:15:13 >>> dev-scheme/guile-3.0.10-r102: 1:42:18
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3858

PostPosted: Tue Nov 12, 2024 10:22 pm    Post subject: Reply with quote

Similar here, lowend desktop:
Code:
qlop -tv guile
2022-06-15T01:49:26 >>> dev-scheme/guile-2.2.7-r1: 7′53″
2023-07-08T17:39:56 >>> dev-scheme/guile-2.2.7-r1: 13′16″
2024-02-01T12:55:14 >>> dev-scheme/guile-2.2.7-r1: 13s
2024-03-31T11:25:49 >>> dev-scheme/guile-2.2.7-r1: 8′02″
2024-11-11T16:16:07 >>> dev-scheme/guile-2.2.7-r102: 7′56″
2024-11-11T16:24:03 >>> dev-scheme/guile-3.0.10-r102: 1:43:41
2024-11-11T18:07:44 <<< dev-scheme/guile-2.2.7-r1: 4s
2024-11-11T18:16:50 <<< dev-scheme/guile-2.2.7-r102: 5s

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3858

PostPosted: Tue Nov 12, 2024 10:39 pm    Post subject: Reply with quote

2.2.7 -> 3.0.0 seems a major jump in features.

Costly to build... 8)

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
stefantalpalaru
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2009
Posts: 77
Location: Italy

PostPosted: Wed Nov 13, 2024 1:58 am    Post subject: Reply with quote

It's not the new upstream version that is slower to build, but a specific Gentoo revision:

Code:
2024-03-23T09:14:09 >>> dev-scheme/guile-2.2.7-r1: 1′55″
2024-05-30T11:18:45 >>> dev-scheme/guile-2.2.7-r2: 2′08″
2024-09-28T21:38:12 >>> dev-scheme/guile-3.0.10-r100: 6′14″
2024-10-11T19:55:03 >>> dev-scheme/guile-3.0.10-r101: 6′28″
2024-10-18T18:10:02 >>> dev-scheme/guile-3.0.10-r102: 31′00″


Gentoo commit responsible.

The problem here is the wrong usage of Make conditionals in an Automake file, in "guile-3.0-fix-32bit-BE.patch", leading to "GUILE_OPTIMIZATIONS" no longer being set to "-O1" and being set later to "-O2" which slows stage0 a lot, for no benefit whatsoever.

The solution is to generate the simple, boolean conditional var that Automake can handle, in "configure.ac" and use it with a plain "if" in "Makefile.am". Now you know why they banned my account on bugs.gentoo.org :-)

[Administrator edit: removed bogus link[1] for the text my account, since it does not lead to anything about the account, and instead merely lists out all bugs related to the account. Additionally, as noted in the report thread, this search is needlessly expensive, so I would prefer it not be run by readers who are idly curious about the link.

[1]: <https://​bugs.​gentoo.org/buglist.cgi​?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&email1=stefantalpalaru
&emaillongdesc1=1&emailreporter1=1&emailtype1=substring&query_format=advanced&resolution=FIXED&resolution=INVALID&resolution=WONTFIX
&resolution=LATER&resolution=REMIND&resolution=DUPLICATE&resolution=WORKSFORME&resolution=CANTFIX&resolution=NEEDINFO
&resolution=TEST-REQUEST&resolution=UPSTREAM&resolution=OBSOLETE&resolution=PKGREMOVED>
-
Hu]
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1961

PostPosted: Wed Nov 13, 2024 3:13 am    Post subject: Reply with quote

Fixed, thanks, with some nuance in the commit message about Guile.
Back to top
View user's profile Send private message
stefantalpalaru
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2009
Posts: 77
Location: Italy

PostPosted: Wed Nov 13, 2024 3:24 am    Post subject: Reply with quote

sam_ wrote:
Fixed, thanks


You're welcome, but I'm afraid I have to report your post for being a spammy comment which only serves to advertise your fix. ;-)
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3858

PostPosted: Wed Nov 13, 2024 10:28 am    Post subject: Reply with quote

Code:
2024-11-13T12:30:07 >>> dev-scheme/guile-3.0.10-r102: 31′53″
is much faster indeed.
Plz note the following issue:
Code:
quickpkg --include-config y --umask 0072 guile
 * Building package for dev-scheme/guile-3.0.10-r102 ... * Missing file from local system: "/usr/share/guile-data/3.0/info/dir.lzma"
                 [ ok ]

 * Packages now in '/var/cache/binpkgs':
 * dev-scheme/guile-3.0.10-r102: 7.6M
Code:
ls /usr/share/guile-data/3.0/info
dir                     guile-3.0.info-7.lzma  guile.info-4.lzma
guile-3.0.info-10.lzma  guile-3.0.info-8.lzma  guile.info-5.lzma
guile-3.0.info-11.lzma  guile-3.0.info-9.lzma  guile.info-6.lzma
guile-3.0.info-1.lzma   guile-3.0.info.lzma    guile.info-7.lzma
guile-3.0.info-2.lzma   guile.info-10.lzma     guile.info-8.lzma
guile-3.0.info-3.lzma   guile.info-11.lzma     guile.info-9.lzma
guile-3.0.info-4.lzma   guile.info-1.lzma      guile.info.lzma
guile-3.0.info-5.lzma   guile.info-2.lzma      r5rs-3.0.info.lzma
guile-3.0.info-6.lzma   guile.info-3.lzma      r5rs.info.lzma
Code:
cat /usr/share/guile-data/3.0/info/dir
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir,   Node: Top   This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "H" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs<Return>" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross reference
  to select it.

* Menu:

The Algorithmic Language Scheme
* Guile Reference: (guile).     The Guile reference manual.
* R5RS: (r5rs).                 The Revised(5) Report on Scheme.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
stefantalpalaru
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2009
Posts: 77
Location: Italy

PostPosted: Wed Nov 13, 2024 4:57 pm    Post subject: Reply with quote

Hu wrote:
[Administrator edit: removed bogus link[1] for the text my account, since it does not lead to anything about the account, and instead merely lists out all bugs related to the account. Additionally, as noted in the report thread, this search is needlessly expensive, so I would prefer it not be run by readers who are idly curious about the link.


You non-programmers are hilarious. That link shows all the bug reports to which I contributed in some form, because the reason for my absurd ban on bugs.gentoo.org must be in there, somewhere. It's quite relevant and no, the search is not "expensive" at all.

Anyway, it's fascinating that you look at a long URL with parameters you cannot possibly comprehend and immediately jump to the conclusion it must be malicious and harmful to that magical server running software from 20 years ago in a way no remaining sysadmin can understand. It's OK to not be technologically inclined, but it's still baffling that you people end up administering and moderating a Gentoo forum, of all things. I understand that the original people brought friends into the fold and then went away, so competency was lost in a few iterations, but still...
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3430

PostPosted: Wed Nov 13, 2024 5:23 pm    Post subject: Reply with quote

Dude, there's a difference between being funny, edgy, and just plainly an ass. Knock it off already, you're not making a case and you're not fooling anyone.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Wed Nov 13, 2024 6:01 pm    Post subject: Reply with quote

stefantalpalaru wrote:
You non-programmers are hilarious.[...]

You are talking to one of the most capable programmers!

stefantalpalaru wrote:
[...] It's OK to not be technologically inclined, but it's still baffling that you people end up administering and moderating a Gentoo forum, of all things. I understand that the original people brought friends into the fold and then went away, so competency was lost in a few iterations, but still...

Moderator note:

Read this: https://forums.gentoo.org/viewtopic-p-8846025.html#8846025
... and decide if you want to be banned here too. Another post like this and you've wasted your second chance.

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
stefantalpalaru
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2009
Posts: 77
Location: Italy

PostPosted: Wed Nov 13, 2024 6:30 pm    Post subject: Reply with quote

pietinger wrote:
Another post like this and you've wasted your second chance.


Like my grandpa Schicklgruber used to say, right before banning his jolly friend Ernst Röhm, abusers don't need to come up with explanations for why they abuse their victims. No need for self-aggrandising narratives to frame the abuser as noble, wise and even pained by what he is forced to do to his lowly victim. Abuse is the way of the world. The big fish bans the small fish, because might makes right. Sic mundus creatus est - at least since the competency crisis.

Ours not to make reply, ours not to reason why, ours but to do and be banned.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Wed Nov 13, 2024 7:07 pm    Post subject: Reply with quote

Locked for 24 hours to let everyone calm down.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3698
Location: Rasi, Finland

PostPosted: Thu Nov 14, 2024 7:45 am    Post subject: Reply with quote

I see... After getting banned from bugzilla, now's the time to stir up the forums.

After this topic gets unlocked let's get back to the topic... if there's anything to discuss any further.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum