Greetings! Great! So glad to see its working.
Yes, compilation time is heavier in 2.7.1 with the goal of producing faster runtime code, apparently with some success according to your results. My concern over compilation speed has kept me from releasing 2.7 for years. While we have mitigated this quite a bit, I think we can go further. This exercise has been useful, the primary conclusion being that one can run with a pagesize that differs from the system hugepagesize while leaving in madvise calls based on the first pagesize without error or performance penalty. Please correct me if I'm mistaken. I still think we should do something to gracefully handle intractably large hugepage settings, and the simplest is to just max out at a reasonable value in configure. We need to reserve memory beneath 2Gb, and the heap is a minimum of 10 pages. It seems useful to be able to restrict GCL to 1Gb, so 100Mb should be the absolute top, but I'm tempted to set it at 2Mib. While there is a very significant gain going from 4k to 2Mib, I suspect further gains are meager if any, though I have not tested this. Suggestions welcome. Take care, David Scherfgen via Maxima-discuss <maxima-disc...@lists.sourceforge.net> writes: > I'm also happy to report that Maxima runs significantly faster under GCL > 2.7.1 compared to 2.6.14, at least judging by the test suite. Its runtime is > reduced by > almost 30%. Great job, Came! > > By the way, there was no difference in performance between 1 GiB hugepages > with --enable-min-pagesize=21 and 2 MiB hugepages without any extra options. > > I haven't measured, but compilation feels slower with 2.7.1. (That's OK with > me, if the resulting program runs that faster.) > > Best regards > David Scherfgen > > David Scherfgen <d.scherf...@googlemail.com> schrieb am So., 27. Apr. 2025, > 07:56: > > Camm Maguire <c...@maguirefamily.org>: > > Two experiments to try: > > 1) set your hugepages to 2MiB and configure && make with no options > > Working fine! > > 2) set your hugepages to 1GiB, configure with the > --enable-min-pagewidth=21, and then before make do > > echo #undef HAVE_MADVISE_HUGEPAGE >>h/config.h > > Then make. > > I must apologize, I think I messed up previously (didn't remove all build > products). Now I can say that with 1 GiB hugepages, doing ./configure > --enable-min-pagewidth=21 is sufficient, the modification of config.h is not > necessary. The build succeeds. > > Sorry for the confusion. > > _______________________________________________ > Maxima-discuss mailing list > maxima-disc...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah